~ubuntu-branches/ubuntu/raring/shadow/raring-proposed

« back to all changes in this revision

Viewing changes to man/sv/userdel.8

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-11-24 13:42:42 UTC
  • mfrom: (1.1.9 upstream) (18.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20101124134242-832f4tew5s81ntj7
Tags: 1:4.1.4.2+svn3283-2ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Ubuntu specific:
    + debian/login.defs: use SHA512 by default for password crypt routine.
  - debian/{source_shadow.py,rules}: Add apport hook
  - debian/rules: fix FTBFS from newer libtools
  - debian/patches/495_stdout-encrypted-password: chpasswd can report
    password hashes on stdout (Debian bug 505640).
  - Rework 495_stdout-encrypted-password to cope with chpasswd using PAM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
'\" t
2
2
.\"     Title: userdel
3
3
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
 
.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
5
 
.\"      Date: 24-07-2009
 
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
 
5
.\"      Date: 05-09-2010
6
6
.\"    Manual: Systemhanteringskommandon
7
7
.\"    Source: Systemhanteringskommandon
8
8
.\"  Language: Swedish
9
9
.\"
10
 
.TH "USERDEL" "8" "24-07-2009" "Systemhanteringskommandon" "Systemhanteringskommandon"
 
10
.TH "USERDEL" "8" "05-09-2010" "Systemhanteringskommandon" "Systemhanteringskommandon"
11
11
.\" -----------------------------------------------------------------
12
12
.\" * set default formatting
13
13
.\" -----------------------------------------------------------------
39
39
.RS 4
40
40
This option forces the removal of the user account, even if the user is still logged in\&. It also forces
41
41
\fBuserdel\fR
42
 
to remove the user\'s home directory and mail spool, even if another user uses the same home directory or if the mail spool is not owned by the specified user\&. If
 
42
to remove the user\*(Aqs home directory and mail spool, even if another user uses the same home directory or if the mail spool is not owned by the specified user\&. If
43
43
\fBUSERGROUPS_ENAB\fR
44
44
is defined to
45
45
\fIyes\fR
58
58
.PP
59
59
\fB\-r\fR, \fB\-\-remove\fR
60
60
.RS 4
61
 
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\&.
 
61
Files in the user\*(Aqs home directory will be removed along with the home directory itself and the user\*(Aqs mail spool\&. Files located in other file systems will have to be searched for and deleted manually\&.
62
62
.sp
63
63
The mail spool is defined by the
64
64
\fBMAIL_DIR\fR
90
90
\fBuseradd\fR,
91
91
\fBusermod\fR, and
92
92
\fBuserdel\fR
93
 
to create, move, or delete the user\'s mail spool\&.
 
93
to create, move, or delete the user\*(Aqs mail spool\&.
94
94
.PP
95
95
If
96
96
\fBMAIL_CHECK_ENAB\fR
120
120
.sp
121
121
The return code of the script is not taken into account\&.
122
122
.sp
123
 
Here is an example script, which removes the user\'s cron, at and print jobs:
 
123
Here is an example script, which removes the user\*(Aqs cron, at and print jobs:
124
124
.sp
125
125
.if n \{\
126
126
.RS 4
163
163
If set to
164
164
\fIyes\fR,
165
165
\fBuserdel\fR
166
 
will remove the user\'s group if it contains no more members, and
 
166
will remove the user\*(Aqs group if it contains no more members, and
167
167
\fBuseradd\fR
168
168
will create by default a group with the name of the user\&.
169
169
.RE
232
232
.PP
233
233
 
234
234
\fBuserdel\fR
235
 
will not allow you to remove an account if there are running processes which belong to this account\&. In that case, you may have to kill those processes or lock the user\'s password or account and remove the account later\&. The
 
235
will not allow you to remove an account if there are running processes which belong to this account\&. In that case, you may have to kill those processes or lock the user\*(Aqs password or account and remove the account later\&. The
236
236
\fB\-f\fR
237
237
option can force the deletion of this account\&.
238
238
.PP