[Kc] Removing users from sudoers

Sterling Hanenkamp sterling at hanenkamp.com
Thu May 8 12:47:38 PDT 2008


On Thu, May 8, 2008 at 12:16 PM, David Nicol <davidnicol at gmail.com> wrote:

> On Thu, May 8, 2008 at 8:44 AM, Sterling Hanenkamp
> <sterling at hanenkamp.com> wrote:
>
> > for my $site (@mysites) {
> >   open FILE, "$site/local/etc/sudoers" or die "cannot open sudoers for
> > $site: $!";
> >   while (<FILE>) { s/someuser// }
> >   close FILE;
> > }
>
> you left writing $_ anywhere after you modified it out as an exercise
> for the reader, yes?
>


lol... apparently :-p
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/kc/attachments/20080508/29c0c43f/attachment.html 


More information about the kc mailing list