good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: Re: Re: qx//, ssh -t (pseudo-tty) and sudoby Roger (Parson) |
on Nov 12, 2003 at 02:31 UTC ( [id://306453]=note: print w/replies, xml ) | Need Help?? |
Yes I agree with you that sudo is better than direct root acess. And on my system I don't allow remote root login anyway. Given that /etc/sudoers is supposed to be read-only (444), this smacks of an insecure installation. Yes the /etc/sudoers file was read-only, but my script does - When I do a sudo make, *every* command inside the Makefile are automatically run with ROOT priviledges, so there is no secure system when I can do "sudo make". :) (I know this is OT, but interesting to know and talk about. So one thing I never do is to give people sudo access on make)
In Section
Seekers of Perl Wisdom
|
|