Files
2026-05-11 09:15:08 +02:00

11 lines
176 B
Bash

#!/bin/bash
root_password=$(getent shadow root | cut -d: -f2)
if [[ "$root_password" == "*" || "$root_password" == "!" || -z "$root_password" ]]; then
exit 1
fi
exit 0