Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] Removing user completely
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Wed, 19 May 2004 22:45:04 +0200
  • Message-id: <200405192245.04371.andjoh@xxxxxxxxxx>
On Wednesday 19 May 2004 22.42, Anders Johansson wrote:
> find / -user <uid> -exec rm -rf {} \;
>
> will get rid of them all.

Actually, that's a bit careless

find / -user <uid> -type f -exec rm {} \;

Just in case the user owned any directories where other users stored files as
well

< Previous Next >