Support Forums
Disabling Root Login - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Computer Support Topics (https://www.supportforums.net/forumdisplay.php?fid=4)
+---- Forum: Linux, FreeBSD, and Unix (https://www.supportforums.net/forumdisplay.php?fid=17)
+---- Thread: Disabling Root Login (/showthread.php?tid=3500)



Disabling Root Login - Scorpion - 12-10-2009

What's Up?

OK, Basically is it possible to disable root login via terminal? So you couldn't use "sudo rm /file.file" any more?

Thanks Bye?


RE: Disabling Root Login - Omniscient - 12-10-2009

For linux? I think you can add root user to the nologin for ssh.conf. For FreeBSD it's default you can't SSH directly as root. You have to be a user in wheel group and su into root.

And for the sudo command you should have options on what can and can't be run. Heck do you even need sudo? I don't use it on my servers.


RE: Disabling Root Login - Gone - 12-11-2009

(12-10-2009, 11:45 PM)Omniscient Wrote: For linux? I think you can add root user to the nologin for ssh.conf. For FreeBSD it's default you can't SSH directly as root. You have to be a user in wheel group and su into root.

And for the sudo command you should have options on what can and can't be run. Heck do you even need sudo? I don't use it on my servers.

@ Omni it comes in handy if you F'up your password. Not that i've done that..Whistle


RE: Disabling Root Login - manipulate - 12-11-2009

Why do you want to do this in the first place.