added set_reboot_needed function and use it
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
# * DEFAULT_SHELL: The shell to use when creating new users
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
export VER_authnz=0.1.5
|
||||
export VER_authnz=0.1.6
|
||||
export DEP_authnz="upgrade_dist"
|
||||
|
||||
# Users (from Ldap)
|
||||
@@ -34,7 +34,7 @@ add_remote_user()
|
||||
remove_user()
|
||||
{
|
||||
# Using sed is more universal than any distro commands
|
||||
sed -i -e "/^$1/d" /etc/passwd /etc/shadow /etc/group
|
||||
sed -i -e "/^$1/d" /etc/passwd /etc/shadow /etc/group /etc/gshadow
|
||||
}
|
||||
|
||||
# Create a local user
|
||||
|
||||
Reference in New Issue
Block a user