in reply to su to root in a perlscript

su isn't a fruitful road to go. su just starts a new shell, and shells are for interactive work.

I suggest you install sudo, it's designed for this kinds of tasks.

Abigail

Replies are listed 'Best First'.
Re: Re: su to root in a perlscript
by jdavidboyd (Friar) on Aug 01, 2002 at 13:01 UTC
    You can find it at SUDO