diff options
Diffstat (limited to 'package/base-files/files/bin/login')
-rwxr-xr-x | package/base-files/files/bin/login | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/package/base-files/files/bin/login b/package/base-files/files/bin/login deleted file mode 100755 index ff5d3660e4..0000000000 --- a/package/base-files/files/bin/login +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# Copyright (C) 2006 OpenWrt.org - -grep '^root:[^!]' /etc/passwd >&- 2>&- -[ "$?" = "0" -a -z "$FAILSAFE" ] && -{ - echo "Login failed." - exit 0 -} || { -cat << EOF - === IMPORTANT ============================ - Use 'passwd' to set your login password - this will disable telnet and enable SSH - ------------------------------------------ -EOF -} - -exec /bin/ash --login |