in reply to changing uid/gid in suid cgi script
To manipulate *nix uid and gid,
See manpages POSIX.3 setuid.2 etc.use POSIX qw( geteuid getuid setuid getgid getegid setgid );
Your question is posed as if you want to make a web interface for user accounts on the server. That is a dangerous prospect. Doing it suid root is likely to be a calamity. Many nixes will not run an interpreter script suid root.
Can your project be done with https authentication instead?
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: changing uid/gid in suid cgi script
by jj808 (Hermit) on Sep 06, 2001 at 11:51 UTC |