a
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
root_password=$(getent shadow root | cut -d: -f2)
|
||||
|
||||
if [[ "$root_password" == "*" || "$root_password" == "!" || -z "$root_password" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user