Results 1 to 5 of 5

Thread: Command for removing a user?

  1. #1

    Command for removing a user?

    Hi all,

    What is the command for removing a user? I remember how to add a user and change the password but can't seem to remember how to remove a user.

    Thanks

  2. #2

    Re: Command for removing a user?

    just userdel <username> for removing the user or with the -r switch to remove the users home dir and its files


  3. #3

    Re: Command for removing a user?

    I usually just delete thier entries in /etc/passwd /etc/shadow /etc/groups and /etc/aliases

    then rm -rf /home/user

    and that's about it!

  4. #4
    Guest

    Re: Command for removing a user?


    link=board=general&num=1008955196&start=0# 2 date=12/22/01 at 00:03:09]
    I usually just delete thier entries in /etc/passwd */etc/shadow /etc/groups *and /etc/aliases

    then rm -rf /home/user

    and that's about it!
    Why not use userdel -r <username>?? It's much faster.

  5. #5

    Re: Command for removing a user?

    Becuase ti's the same process i use on unix, with NIS environment... I just find it easier to edit the files. *shrug*

Similar Threads

  1. Access denied for user: '@192.168.0.71' (Using password: NO)
    By infinite_root in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-20-2008, 01:10 AM
  2. vsftpd : cannot login with non-anonymous user ...
    By debellez in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 05-10-2006, 07:12 PM
  3. Create and Configure User Accounts in Windows XP
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 06:48 AM
  4. Live Communications Server 2005 Glossary
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 08:16 PM
  5. MySQL user question
    By mcdougrs in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 12-08-2002, 11:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •