12-10-2009, 03:16 PM
12-10-2009, 11:45 PM
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.
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.
12-11-2009, 01:35 AM
(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..
12-11-2009, 02:46 AM
Why do you want to do this in the first place.