[ILUG] Enabling remote root logins on stock RH6.2 box
Paul Kelly
longword at esatclear.ie
Fri May 4 19:11:44 IST 2001
Ruairi Newman wrote:
> Just a quickie this time, can anyone tell me exactly how remote root
> logins are disabled in RH6.2?
They're disabled for a reason, but if you really, really need to do it,
you'll want to edit one or more files in /etc/pam.d/ (/etc/pam.d/login
usually covers telnet access). The securetty plugin limits root login
access to terminal listed in /etc/securetty. You can comment out that
module.
Some services may use further mechanisms to disallow root access. For
example most FTP daemons will refer to the file /etc/ftpusers for a list
of users who will /not/ be allowed to login via FTP. root and a number
of system accounts are typically listed in /etc/ftpusers by default.
Paul.
More information about the ILUG
mailing list