Allowing remote root login
Andrew W. Gaunt
quantum at lucent.com
Wed Oct 15 08:36:55 EDT 2003
I had to allow remote root on one of our RH8 boxes just the other
day (for the install of veritas netbackup).
By default, the rlogin and rsh services are disabled on Redhat Linux.
Use the following procedure to enable them.
1. Add rlogin and rsh to /etc/securetty:
# echo rlogin >> /etc/securetty
# echo rsh >> /etc/securetty
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.
4) When done with software install, reverse process ands use ssh.
This is our /etc/securetty did not find this documented anywhere.
# cat securetty
ttyS0
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
rsh
rlogin
Kevin D. Clark wrote:
>Dan Coutu <coutu at snowy-owl.com> writes:
>
>
>
>>Got a RedHat 9 system that I need to allow remote telnet logins
>>to root from the LAN. I had thought that an entry in
>>/etc/security/access.conf would do the trick but it didn't. I also
>>went to /etc/xinetd.d and edited the telnet file to enable telnet.
>>Still no joy.
>>
>>
>
>Comment out the "securetty" entry in /etc/pam.d/login .
>
>Hope this helps,
>
>--kevin
>
>
--
____ __
| 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