|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Can the user a script runs as be changed?by nightwatch (Scribe) |
| on Jul 01, 2004 at 23:11 UTC ( [id://371289]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
See the manual page of the chmod command for information regarding the setuid bit, which will automatically bump your script up to root (or, more accurately, the owner of the file) whenever it's run. This is what the "s" means in a set of permission flags in a "ls -l" listing. perlsec has some good information on setuid scripts; you almost certainly want them to run with taint mode on.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||||