[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about set UID (and cdrecord)



On Sun, Nov 16, 2003 at 08:02:48AM -0800, Bill Moseley wrote:
> Does setting suid on a shell script (or a perl script) have any effect?

Set-id scripts in general don't work. Set-id perl scripts work if you
have perl-suid installed, but beware; this is unsupported upstream and
liable to go away. See perlsec(1) and perl58delta(1) (the latter on
unstable, anyway; the text is in perldelta(1) on testing and missing on
stable).

It's better to write a small C program to do the job.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: