Sudo Vs Su
Apr 8, 2009Which do you use primarily and why?
Personally I try to use sudo as much as possible, but as often as I'm moving around the file system it gets a little rough sometimes and I have to use su.
Which do you use primarily and why?
Personally I try to use sudo as much as possible, but as often as I'm moving around the file system it gets a little rough sometimes and I have to use su.
i have a cent os 5 box with directadmin on id like the user apache to be able to run iptables or apf but every time i allow apache to run the command its fine untill you have to add the extra command to tell it to drop then it just comes up with permissions denied
can any one help me with this please?
i've tryed
apache ALL = (root) NOPASSWD: /sbin/iptables
apache ALL=(ALL) ALL
and it still wont let me use apache to write to the deny rules list
I have the user "tech" added to my system. I want that user (tech) to be able to use sudo, but for only *one* command. ssh. I also want this to utilize the "NOPASSWD" feature.
What's the line I need to add to /etc/sudoers to allow only SSH (and sudo with the no password).
How do I login to root with my sudo username and password? I do type su - in putty, but it gives me a "Disconnected: No supported authentication methods available."
View 6 Replies View RelatedI used the great security tip to get an email when a user logs in as root but is there any way to get the same kind of email when a user starts sudo?
View 2 Replies View Relatedone of my dedicated is a kind of semi managed.
They guys monitor it 24 hours and if some thing goes wrong like
apache is dead they fix it.
how can I limit their access and authoriy over my Server while
I can let them to monitory my server!
I know nothing about server management and my other dedi is mully managed not this one.