added skill to logout root
This commit is contained in:
Vendored
+1
@@ -254,6 +254,7 @@ fi
|
||||
if [[ -d /home/akanealw ]]
|
||||
then
|
||||
passwd -l root
|
||||
skill -KILL -u root
|
||||
else
|
||||
echo "akanealw account not found, not locking root."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user