diff options
author | OpenWrt Developers <openwrt-devel@openwrt.org> | 2006-01-14 20:18:39 +0000 |
---|---|---|
committer | OpenWrt Developers <openwrt-devel@openwrt.org> | 2006-01-14 20:18:39 +0000 |
commit | ccf69df20219eb1f92b39eb17aea2e10f8526c66 (patch) | |
tree | b46aa39c590a89618d5978aa995182eb421583f3 /package/base-files | |
parent | b741426bbdc222aa9bbcc04ef9d764aaf5990e1d (diff) | |
download | upstream-ccf69df20219eb1f92b39eb17aea2e10f8526c66.tar.gz upstream-ccf69df20219eb1f92b39eb17aea2e10f8526c66.tar.bz2 upstream-ccf69df20219eb1f92b39eb17aea2e10f8526c66.zip |
fixes #207
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/default/etc/init.d/S50telnet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/default/etc/init.d/S50telnet b/package/base-files/default/etc/init.d/S50telnet index e7d4d36773..ff5659ed47 100755 --- a/package/base-files/default/etc/init.d/S50telnet +++ b/package/base-files/default/etc/init.d/S50telnet @@ -1,2 +1,2 @@ #!/bin/sh -if awk -F: '/^root:/ && $2 !~ /\*/ {exit 1}' /etc/passwd 2>/dev/null || test $FAILSAFE; then telnetd -l /bin/login; fi +if awk -F: '/^root:/ && $2 !~ /\!/ {exit 1}' /etc/passwd 2>/dev/null || test $FAILSAFE; then telnetd -l /bin/login; fi |