[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] How to delete a user with files in web site dir.? 550
- Subject: Re: [cobalt-users] How to delete a user with files in web site dir.? 550
- From: "Chris L" <clathem@xxxxxxxxxxxxx>
- Date: Thu Nov 6 07:24:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> find /home/sites/siteN/ -user USERNAME
>
> where siteN is the site number and USERNAME is the username or userid of
the
> user you are searching for
>
> Cheers,
>
> Lauchlin
>
> Since I found them best method of deleting them from the server
>
> Any ideas
>
> Regards
>
> Tunc
find /home/sites/siteN -user USERNAME -exec ls -a {} \; -ok rm -rf
USERNAME.USERNAME {} \;
This finds the files/folders for the user, and then asks you to confirm
deletion.
Use at your own risk!
-Chris