Results 1 to 2 of 2
How do I disable root from logining on directly?? I forget the file I must change from a yes to no thanks Mace...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-24-2008 #1
- Join Date
- Jun 2006
Help haveing a brain cramp
How do I disable root from logining on directly?? I forget the file I must change from a yes to no
- 10-24-2008 #2
Do you want to disable root from logging in graphically or do you want to disable anyone from logging in to root at all, even via console? If it's the former, and you're using a login manager, you should be able to do it rather easily. For example, in Gnome, you would go to System->Administration->Login Setup (or something like that), click on the Security tab and uncheck the box for "Allow root to log in with GDM." There is probably a similar option for KDE but I am not sure what it is.
If you want to lock the root account completely, you can use the -l switch in the passwd command to do so. Be careful, though. If you don't have sudo access set up you may not be able to unlock it.