[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: root telnet



On Thu, Jan 21, 1999 at 03:59:02PM +0100, Matus fantomas Uhlar wrote:

> -> 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

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.

Chow

-- 
Nidge Jones


Reply to: