lkml.org 
[lkml]   [1998]   [Jan]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 7 Jan 1998 09:10:59 -0500 (EST)
FromJon Lewis <>
SubjectRe: hardlinks.... sucks... ;-(
On Wed, 7 Jan 1998, Albert D. Cahalan wrote:

> > Try something a bit like one of the following:
> >
> > find / -user 1234 -exec chown 4321 {} ;
> > find / -user 1234 -exec rm {} ;
> 
> Alright now, how many people would do that?  :-)
> 
> 1. the file is found by "find"
> 2. the user removes it and makes a link
> 3. the "chown" command runs

If you're writing your own scripts for this, you can lock the user's
password, kill all their processes, and remove their crontab before doing
the find.


------------------------------------------------------------------
 Jon Lewis <jlewis@fdt.net>  |  Unsolicited commercial e-mail will
 Network Administrator       |  be proof-read for $199/message.
 Florida Digital Turnpike    |  
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008