Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disabling Root Login
#1
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?
[Image: Scorpion-Sig3.png]
Reply
#2
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.
Superman 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.
Reply
#3
(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
Reply
#4
Why do you want to do this in the first place.
[Completely Honest. Seriously.]

Protip: Anonymous Reputation Points are for Pussies
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)