Users : Call grpck after edit

This commit is contained in:
MatMoul 2015-10-13 21:59:09 +02:00
parent fa143b9b0e
commit d7143c47c6

View file

@ -31,6 +31,7 @@ case $sel in
echo "Choose a password for $username :"
echo ""
passwd $username
grpck
pressanykey
fi
;;
@ -38,6 +39,7 @@ case $sel in
username=$(whiptail --backtitle "$apptitle" --title "Delete User" --inputbox "Enter the user name to delete :" 0 0 3>&1 1>&2 2>&3)
if [ "$?" = "0" ]; then
userdel -r -f $username
grpck
fi
;;
esac