[Lunar-commits] r16658 - moonbase/trunk/security/shadow
Auke Kok
sofar at lunar-linux.org
Sun Sep 25 21:25:54 UTC 2005
Author: sofar
Date: 2005-09-25 21:25:49 +0000 (Sun, 25 Sep 2005)
New Revision: 16658
Modified:
moonbase/trunk/security/shadow/adduser
moonbase/trunk/security/shadow/deluser
Log:
Since shadow was modified so that passwd etc. lives in /bin and /sbin, these also had to be modified.
Modified: moonbase/trunk/security/shadow/adduser
===================================================================
--- moonbase/trunk/security/shadow/adduser 2005-09-25 21:22:10 UTC (rev 16657)
+++ moonbase/trunk/security/shadow/adduser 2005-09-25 21:25:49 UTC (rev 16658)
@@ -112,17 +112,17 @@
echo
if ! grep -q "^$GID:" /etc/group ; then
echo Making new group...
- /usr/sbin/groupadd $GID
+ /sbin/groupadd $GID
fi
echo Making new account...
-/usr/sbin/useradd $GHME -m $GEXP $GGID $GAGID $GSHL $GUID $LOGIN
+/sbin/useradd $GHME -m $GEXP $GGID $GAGID $GSHL $GUID $LOGIN
if [ -d $HME ]; then
chmod 711 $HME
fi
echo
-/usr/bin/chfn $LOGIN
+/bin/chfn $LOGIN
echo
-/usr/bin/passwd $LOGIN
+/bin/passwd $LOGIN
echo
# lets touch the mailbox
if ! [ -d /var/spool/mail ]; then
Modified: moonbase/trunk/security/shadow/deluser
===================================================================
--- moonbase/trunk/security/shadow/deluser 2005-09-25 21:22:10 UTC (rev 16657)
+++ moonbase/trunk/security/shadow/deluser 2005-09-25 21:25:49 UTC (rev 16658)
@@ -13,7 +13,7 @@
DEADDUCK=$1
fi
- userdel $OPTS $DEADDUCK
+ /sbin/userdel $OPTS $DEADDUCK
else
More information about the Lunar-commits
mailing list