Users : Call grpck after edit
This commit is contained in:
parent
fa143b9b0e
commit
d7143c47c6
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue