[CentOS] RHEL5 and CentOS 5 root logins

Daniel de Kok danieldk at pobox.com
Wed Aug 8 11:15:16 UTC 2007


On Wed, 2007-08-08 at 06:58 -0400, Scott Ehrlich wrote:
> I found, under a 64-bit CentOS 5 workstation install, it is possible to 
> modify /etc/inittab and add a couple of lines to prevent root from logging 
> into the console.

/etc/securetty is the right place to configure this, see the
securetty(5) manual page and
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-sec-network.html#s1-wstation-privileges

-- Daniel




More information about the CentOS mailing list