[Kc] Removing users from sudoers

Kit Peters popefelix at gmail.com
Thu May 8 06:47:38 PDT 2008


Or you could just do 'sed -i'.  That will edit the file in-place.  Not
quite as fun as working it up in Perl, but a bit quicker. :)

KP

On Thu, May 8, 2008 at 8:44 AM, Sterling Hanenkamp
<sterling at hanenkamp.com> wrote:

> Yep, you'll need a loop to go over the locations and another to apply the
> s/// replacement to the lines of the file.


-- 
GPG public key fingerpint: 1A12 04B6 0C80 306A B292 14FD 2C7A 1037 F666 46A7


More information about the kc mailing list