Sudo & APF

Apr 21, 2008

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

View 1 Replies


ADVERTISEMENT

Sudo Vs Su

Apr 8, 2009

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.

View 7 Replies View Related

Sudo With No Password

Nov 27, 2008

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).

View 4 Replies View Related

How To Login With Sudo Username

Jul 9, 2009

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 Related

Email When User Does Sudo

Mar 25, 2007

I 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 Related

Sudo How Much Permission To A Dedicated Monitoring Service

Dec 21, 2008

one 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.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved