Re: [LIP] using perl to change password

Binand Sethumadhavan <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Devdas Bhagat posted in linux-india-programmers:
> > 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

Still won't work. Has to be /usr/bin/suidperl.

Binand

-- 
[[email protected] root]# uptime
11:55am  up 58 days,  4:49,  2 users,  load average: 1023.78, 419.92, 158.90


-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.