2 # Copyright (C) 2006 OpenWrt.org
6 grep '^root:[^!]' /etc/passwd >&- 2>&-
9 if [ -e "/etc/shadow" ]; then
10 grep '^root:[^!]' /etc/shadow >&- 2>&-
13 [ "$regpassresult" = "0" ] && [ "$shadowresult" = "0" ] && [ -z "$FAILSAFE" ] && {
18 === IMPORTANT ============================
19 Use 'passwd' to set your login password
20 this will disable telnet and enable SSH
21 ------------------------------------------