David le Blanc wrote:
SUID scripts are not secure.
Modern OS's disable them.
True; but it is difficult to ask for a firecracker when all you can use
is a stick of dynamite...
Besides, I forget, was the OP on MacOS?
IMHO it is best to see if root MUST be the only recourse. Maybe
alternatives we
> -Original Message-
> From: WC -Sx- Jones [mailto:[EMAIL PROTECTED]
> Sent: Friday, 5 March 2004 5:13 AM
> To: Silky Manwani
> Cc: [EMAIL PROTECTED]
> Subject: Re: Perl script to switch user to root.
>
> Silky Manwani wrote:
> > Hello,
> >
> &g
Silky Manwani wrote:
Hello,
I want to write a perl script to switch user (to root). The problem is
that since it asks for the password, I am not sure how I would pass it
thru the script. I know I can run the "su root" with the system command
in perl, but how do I take care of passing the passwo