[olug] Perl CGI Priveledge elevation
Daniel G. Linder
dlinder at iprevolution.net
Tue Sep 2 17:54:32 UTC 2003
Brandon Lederer [mailto:blederer at cashflowbilling.com] wrote:
> i cant execute su <user> -c <command> and provide the
> password for that
> user, to my knowledge. Help Anyone?
How about setting up "sudo" and configure it so that the "<user>" can
only execute a small set of explictly defined commands. This can be set
up without any passwords required if you need it to be.
Then you can do "sudo <command> <args>" and it will run as the root user
(or whatever user you need).
Dan
More information about the OLUG
mailing list