Allowing remote root login
Andrew W. Gaunt
quantum at lucent.com
Wed Oct 15 12:58:00 EDT 2003
On my RH8 system I did steps 2&3 first. Alone they did not work. After then
doing step 1 it worked fine.
I only needed it to work temporarily so once working I stopped looking
into all the
if's but's and why's since I'm going to undo it anyway. If you don't
believe the 'rsh/rlogin'
entries in /etc/securetty are effective, try it yourself. I didn't
believe they were valid
entries for that file either, then I tried it. Otherwise you would need
to specifiy stuff
like pts/1, pts/2, pts/3... ad naseum.
michael.odonnell at comcast.net wrote:
>>Use the following procedure to enable them.
>>
>>1. Add rlogin and rsh to /etc/securetty:
>># echo rlogin >> /etc/securetty
>># echo rsh >> /etc/securetty
>>
>>
>
>
>That securetty file is only intended to be a list of
>devices from which secure logins are allowed, so I think
>it's likely that step #1 of your instructions is incorrect
>since rlogin and ssh are services rather than devices.
>
>
>
>
>>2. Modify xinetd's configuration files /etc/xinetd.d/rlogin and
>>/etc/xinetd.d/rsh. Change the line from
>> disable = yes
>>to
>> disable = no
>>
>>3) Restart xinetd.
>>
>>
>
>
>I believe your steps #2 and #3 are more likely to have
>been what did the trick.
>
>
>
>
>>4) When done with software install, reverse process ands use ssh.
>>
>>This is our /etc/securetty did not find this documented anywhere.
>>
>>
>
>
>Most distributions that I've used have had a man page for securetty.
>
>
>_______________________________________________
>gnhlug-discuss mailing list
>gnhlug-discuss at mail.gnhlug.org
>http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
>
>
--
____ __
| 0|___||. Andrew Gaunt - Computing Development Environment
_| _| : : } Lucent Technologies: http://www-cde.mv.lucent.com/~quantum
-(O)-==-o\ Personal: http://www.gaunt.org
More information about the gnhlug-discuss
mailing list