Hi there,
I'm trying to configure an embedded device to run telnetd (yes, I know ssh is more secure - it's a backwards compatibility thing!) but it doesn't ask for my password.
I've tried getting telnetd to run two ways:
1) By adding the following line to /etc/inetd.conf:
Code:
telnet stream tcp nowait root /usr/sbin/telnetd telnetd -i
2) By running telnetd as its own service with a pre-prepared init.d script that just runs telnetd with "-l /bin/login" as its only arguments.
But both methods give the same result:
Code:
$ telnet 192.168.1.21
Trying 192.168.1.21...
Connected to 192.168.1.21.
Escape character is '^]'.
triton1 login: root
Login incorrect
triton1 login:
It just rejects me without asking for a password.
Anybody got any ideas?
John G
Edit: I just tried getting telnetd (not running from inetd) to run a custom script which just runs "login", and that gives exactly the same result - looks like a fault with /bin/login...?
Post-edit edit: Everything's normal if I don't use a low UID - anybody know how to change this?