shadow fix
This commit is contained in:
1 parent
c467632568
commit
e3f59f6dc1
3 files changed
+19
-1
No files matched your search
@@ -3,5 +3,15 @@ if [ ! -f /var/lib/ymp/sysconf/shadow/postinstall.done ] ; then
|
||||
for app in su chage chsh expiry ; do
|
||||
chmod u+s /usr/bin/$app
|
||||
done
|
||||
touch /etc/group
|
||||
date > /var/lib/ymp/sysconf/shadow/postinstall.done
|
||||
fi
|
||||
if ! grep "^users:" /etc/group >/dev/null ; then
|
||||
echo "users:x:100:" >> /etc/group
|
||||
fi
|
||||
if ! grep "^wheel:" /etc/group >/dev/null ; then
|
||||
echo "wheel:x:10:root" >> /etc/group
|
||||
fi
|
||||
if ! grep "^root:" /etc/group >/dev/null ; then
|
||||
echo "root:x:0:root" >> /etc/group
|
||||
fi
|
||||
Reference in new issue
Block a user