Re: root telnet
-> > -> How to make telnetd accept root login ?
-> >
-> > are you nuts ?
-> > use ssh at least...
->
-> If you really must allow root access, after adding the relevent entries to
-> the /etc/securrity file. You *could* then restrict root access to limited
-> hosts via the /etc/login.access file. (OK I guess you could do this via
-> hosts.allow/deny too).
->
-> In login.access add a line like...
->
-> -:root:ALL EXCEPT some.host1 some.other.host LOCAL
->
-> That will allow root logins only from local (console) and some.host1 and
-> some.other.host
and I'll recommend to define in sshd.conf:
UseLogin yes
-> Might not be the best way, but better than just allowing root access from
-> anywhere (suicide).
-> Of course you could always login as another user and then 'su -' to root.
That's the preferred way by 9 of 10 sysadmins ;-)
--
Matus "fantomas" Uhlar, sysadmin at Telenor Internet Kosice, Slovakia
BIC coord for *.sk; admin of netlab.irc.sk; co-admin of irc.felk.cvut.cz
Silvester Stallone: Father of the RISC concept.
Reply to: