Sudoers list?

Daniel Carrera daniel.carrera at zmsl.com
Tue Apr 4 20:46:29 UTC 2006


Stephen R Laniel wrote:
> Really, all your script needs to do is test for the
> effective gid. If that's not zero, the script should die and
> say, "You need to run as root." That's what most installers
> that I know about do.

I don't want to force people to run this script as root. Running stuff 
as root is a really bad habit. I want this script to be as non-root 
friendly as possible. There is only one step that *might* warrant root 
access and that's if the destination directory belongs to root.

Cheers,
Daniel.
-- 
      /\/`) http://opendocumentfellowship.org
     /\/_/
    /\/_/   A life? Sounds great!
    \/_/    Do you know where I could download one?
    /




More information about the ubuntu-users mailing list