Re: [LIP] using perl to change password
Devdas Bhagat <devdas-B/gC27/pXbteH41UXmfQsti2O/[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
On 26/03/04 01:37 -0800, vivek khurana wrote: <snip> > my web app hangs. I had set uid to zero using > setuid(0) before calling this script. Your script will have to be suid root. A non root script cannot call setuid(0) and expect it to work. /me suggests using #!/usr/bin/perl -T use strict; use warnings; use CGI::Carp; Devdas Bhagat ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click