Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I restrict root access to just the console?

Administration

How do I restrict root access to just the console?

by  MikeLacey  Posted    (Edited  )
To prevent root from logging in, except on the console, remove the comment from the following line in /etc/default/login

CONSOLE=/dev/console

Commenting this line out, like this

#CONSOLE=/dev/console

Means that root can login to the system over the network or attached dumb terminal.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top