]> git.pld-linux.org Git - packages/apache.git/commitdiff
- fixed groupadd/useradd parameters
authorArtur Frysiak <artur@frysiak.net>
Tue, 21 Sep 1999 22:31:28 +0000 (22:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.spec -> 1.47

apache.spec

index 581c63545e9326951e316fd8570e2c03590fdcf5..d1f5002a53e9719459015cc86701cb0b72cce258 100644 (file)
@@ -170,7 +170,7 @@ if [ -n "`getgid http`" ]; then
                exit 1
        fi
 else
-       /usr/sbin/groupadd -u 51 -r -f httpd
+       /usr/sbin/groupadd -g 51 -r -f httpd
 fi
 if [ -n "`id -u http`" ]; then
        if [ "`id -u http`" != "51" ]; then
@@ -178,7 +178,7 @@ if [ -n "`id -u http`" ]; then
                exit 1
        fi
 else
-       /usr/sbin/useradd -u 51 -r -f httpd
+       /usr/sbin/useradd -u 51 -r -f -d /home/httpd -s /bin/false -c "HTTP User" -M httpd
 fi
 
 
This page took 0.086954 seconds and 4 git commands to generate.