MLUG: [MLUG] Re: low ports from users?
[MLUG] Re: low ports from users?
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
> Is there a way to allow a given user or users to have permission to open
> a given port besides running the program and having it change it's
> permissions after opening the port?


Anything wrong with 'sudo'? Works great. Here's an example setup just for Apache.

In /etc/sudoers:

%webadmin ALL=(webadmin) ALL
%webadmin ALL=(root) /usr/bin/su [-] webadmin
%webadmin ALL=(root) /sbin/service httpd restart
%webadmin ALL=(root) NOPASSWD: /sbin/service httpd reload

This is on a RedHat system. The first two are just housekeeping to let them use sudo to do anything they normally could anyway. Adjust if your user is not named "webadmin". :=)

Mike/
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members