LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2004, 05:35 AM   #1
ukrainet
Member
 
Registered: Nov 2004
Posts: 108

Rep: Reputation: 15
How to remove the user?


How to remove the user from system together with all files in all catalogues which concern only it (type /var/spool/mail/ssa) and all references in all files on this user?
 
Old 12-15-2004, 06:40 AM   #2
mjuhannus
Member
 
Registered: Sep 2004
Location: Finland
Distribution: Ubuntu 10.04, Debian 5, OpenSUSE 11.3
Posts: 60

Rep: Reputation: 15
what about userdel?

What about just using userdel with -r options?

Here's quote from userdel's man-page

Quote:
DESCRIPTION
The userdel command modifies the system account files, deleting all
entries that refer to login. The named user must exist. The options
which apply to the userdel command are:

-r Files in the userís home directory will be removed along with
the home directory itself and the userís mail spool. Files
located in other file systems will have to be searched for and
deleted manually.

FILES
/etc/passwd - user account information
/etc/shadow - secure user account information
/etc/group - group information
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove permission for a user for using mount command vineet7kumar Linux - Newbie 1 09-11-2005 06:55 AM
remove a user from group in fedora core 3 bnarenderraju Fedora 7 07-20-2005 10:32 AM
Remove a user ToothlessRebel Linux - General 8 10-22-2004 04:36 PM
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 01:04 AM
Remove write file access for single user? HighLife Linux - Newbie 1 08-08-2003 01:22 AM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration