Re: hardlinks.... sucks... ;-(

Jon Lewis (jlewis@inorganic5.fdt.net)
Wed, 7 Jan 1998 09:10:59 -0500 (EST)


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____