Do not reference sudo group when removing package
This commit is contained in:
parent
686673e1fd
commit
165def228d
@ -37,7 +37,6 @@ set -e
|
|||||||
# the debian-policy package
|
# the debian-policy package
|
||||||
|
|
||||||
if [ "${1}" = "remove" ] ; then
|
if [ "${1}" = "remove" ] ; then
|
||||||
gpasswd --delete user sudo
|
|
||||||
if [ "$(passwd -S root|cut -f 2 -d ' ')" = "NP" ]; then
|
if [ "$(passwd -S root|cut -f 2 -d ' ')" = "NP" ]; then
|
||||||
passwd --lock root
|
passwd --lock root
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user