Saved has asked for the wisdom of the Perl Monks concerning the following question:
I was in Tech. Support, and had root access. I was moved to Security, and it was deemed advisable for me to have only read only at the shell. Through sudo, I can use commands like ls or ll as root. I have been getting more and more into perl however, and would like to know if there is a way to allow perl constructs such as if(-f $FILE) or (-e $FILE) and any other read only varients to be given root privilege? Thanx
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl file status and sudo
by aaron_baugher (Curate) on Mar 22, 2012 at 14:24 UTC | |
|
Re: perl file status and sudo
by JavaFan (Canon) on Mar 22, 2012 at 13:07 UTC | |
by Saved (Beadle) on Mar 22, 2012 at 13:13 UTC | |
by JavaFan (Canon) on Mar 22, 2012 at 13:25 UTC | |
by Saved (Beadle) on Mar 22, 2012 at 13:33 UTC | |
by JavaFan (Canon) on Mar 22, 2012 at 13:48 UTC | |
by Saved (Beadle) on Mar 22, 2012 at 13:56 UTC | |
by JavaFan (Canon) on Mar 22, 2012 at 14:04 UTC | |
|