Or, if you want to completly purge the user and the users home dir:

userdel -r <username>

Tal


On Fri, 18 Aug 2000 16:39:51 -0700, kmself@ix.netcom.com said:

> On Fri, Aug 18, 2000 at 08:38:21PM -0600, cls-colo spgs wrote:
>  > debs,
>  > 
>  > what's the command for removing user accts?
>  
>  It's often better to *leave* the account intact, but to disable access
>  through it.  This provides context for files and other residual data
>  from the user, which otherwise appear as owned by an unknown account
>  (numeric UID only).  If you are in the habit of adding and deleting
>  accounts to your system frequently, you may end up giving a new user
>  access to a prior users still-extant files.
>  
>  You might want to look at the "passwd -l" option.
>  
>  -- 
>  Karsten M. Self <kmself@ix.netcom.com>         
http://www.netcom.com/~kmself
>   Evangelist, Opensales, Inc.                 http://www.opensales.org
>    What part of "Gestalt" don't you understand?        Debian GNU/Linux
rocks!
>     http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
>  GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0
>  

Reply via email to