Added useradd default file and usher to manage it
This commit is contained in:
@@ -24,10 +24,14 @@ case $1 in
|
||||
fi
|
||||
|
||||
if [ ! -f /etc/gshadow ]; then
|
||||
echo "Converting /etc/group to gshadow for ${TARGET}"
|
||||
echo "Converting /etc/group to gshadow"
|
||||
grpconv
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f ${TARGET}/etc/default/useradd ]; then
|
||||
cp ${TARGET}/usr/share/shadow/useradd.default /etc/default/useradd
|
||||
fi
|
||||
;;
|
||||
prerm)
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user