Posts: 34
Threads: 17
Joined: Oct 2009
Reputation:
0
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?
Posts: 1,778
Threads: 163
Joined: Jun 2007
Reputation:
218
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.
I am here to rescue you.
This is Support Forums not Support PMs. Do not PM me for support unless it's private and site related.
Posts: 379
Threads: 34
Joined: Oct 2009
Reputation:
15
Why do you want to do this in the first place.