~xnox/ubuntu/quantal/shadow/clear-locks

« back to all changes in this revision

Viewing changes to man/it/chsh.1

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-05-05 09:45:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505094521-wpk2wn3q7957tlah
Tags: 1:4.1.3.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Ubuntu specific:
    + debian/login.defs: use SHA512 by default for password crypt routine.
  - debian/patches/stdout-encrypted-password.patch: chpasswd can report
    password hashes on stdout (debian bug 505640).
  - debian/login.pam: Enable SELinux support (debian bug 527106).
  - debian/securetty.linux: support Freescale MX-series (debian bug 527095).
* Add debian/patches/300_lastlog_failure: fixed upstream (debian bug 524873).
* Drop debian/patches/593_omit_lastchange_field_if_clock_is_misset: fixed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\"     Title: chsh
2
2
.\"    Author: 
3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4
 
.\"      Date: 03/04/2008
 
4
.\"      Date: 15/04/2009
5
5
.\"    Manual: User Commands
6
6
.\"    Source: User Commands
7
7
.\"
8
 
.TH "CHSH" "1" "03/04/2008" "User Commands" "User Commands"
 
8
.TH "CHSH" "1" "15/04/2009" "User Commands" "User Commands"
9
9
.\" disable hyphenation
10
10
.nh
11
11
.\" disable justification (adjust text to left margin only)
19
19
.PP
20
20
The
21
21
\fBchsh\fR
22
 
command changes the user login shell\. This determines the name of the user\'s initial login command\. A normal user may only change the login shell for her own account, the superuser may change the login shell for any account\.
 
22
command changes the user login shell\&. This determines the name of the user\'s initial login command\&. A normal user may only change the login shell for her own account, the superuser may change the login shell for any account\&.
23
23
.SH "OPZIONI"
24
24
.PP
25
25
Il comando
28
28
.PP
29
29
\fB\-h\fR, \fB\-\-help\fR
30
30
.RS 4
31
 
Mostra un messaggio di aiuto ed esce\.
 
31
Mostra un messaggio di aiuto ed esce\&.
32
32
.RE
33
33
.PP
34
34
\fB\-s\fR, \fB\-\-shell\fR \fISHELL\fR
35
35
.RS 4
36
 
Il nome della nuova shell di login dell\'utente\. Lasciando questo campo vuoto si fa in modo che il sistema selezioni la shell di connessione predefinita\.
 
36
Il nome della nuova shell di login dell\'utente\&. Lasciando questo campo vuoto si fa in modo che il sistema selezioni la shell di connessione predefinita\&.
37
37
.RE
38
38
.PP
39
39
If the
40
40
\fB\-s\fR
41
41
option is not selected,
42
42
\fBchsh\fR
43
 
operates in an interactive fashion, prompting the user with the current login shell\. Enter the new value to change the shell, or leave the line blank to use the current one\. The current shell is displayed between a pair of
 
43
operates in an interactive fashion, prompting the user with the current login shell\&. Enter the new value to change the shell, or leave the line blank to use the current one\&. The current shell is displayed between a pair of
44
44
\fI[ ]\fR
45
 
marks\.
 
45
marks\&.
46
46
.SH "NOTA"
47
47
.PP
48
48
The only restriction placed on the login shell is that the command name must be listed in
49
 
\fI/etc/shells\fR, unless the invoker is the superuser, and then any value may be added\. An account with a restricted login shell may not change her login shell\. For this reason, placing
 
49
\fI/etc/shells\fR, unless the invoker is the superuser, and then any value may be added\&. An account with a restricted login shell may not change her login shell\&. For this reason, placing
50
50
\fI/bin/rsh\fR
51
51
in
52
52
\fI/etc/shells\fR
53
 
is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell back to its original value\.
 
53
is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell back to its original value\&.
54
54
.SH "CONFIGURATION"
55
55
.PP
56
56
The following configuration variables in
57
 
\fI/etc/login\.defs\fR
 
57
\fI/etc/login\&.defs\fR
58
58
change the behavior of this tool:
59
59
.PP
60
60
\fBCHSH_AUTH\fR (boolean)
62
62
If
63
63
\fIyes\fR, the
64
64
\fBchsh\fR
65
 
program will require authentication before making any changes, unless run by the superuser\.
 
65
program will require authentication before making any changes, unless run by the superuser\&.
66
66
.RE
67
67
.PP
68
68
\fBLOGIN_STRING\fR (string)
69
69
.RS 4
70
 
The string used for prompting a password\. The default is to use "Password: ", or a translation of that string\. If you set this variable, the prompt will no be translated\.
 
70
The string used for prompting a password\&. The default is to use "Password: ", or a translation of that string\&. If you set this variable, the prompt will no be translated\&.
71
71
.sp
72
72
If the string contains
73
 
\fI%s\fR, this will be replaced by the user\'s name\.
 
73
\fI%s\fR, this will be replaced by the user\'s name\&.
74
74
.RE
75
75
.SH "FILE"
76
76
.PP
77
77
\fI/etc/passwd\fR
78
78
.RS 4
79
 
informazioni sugli account utente\.
 
79
informazioni sugli account utente\&.
80
80
.RE
81
81
.PP
82
82
\fI/etc/shells\fR
83
83
.RS 4
84
 
#\-#\-#\-#\-# #\-#\-#\-#\-# Elenco delle shell di login valide\. #\-#\-#\-#\-# #\-#\-#\-#\-# Elenco delle shell di login ammesse\.
 
84
#\-#\-#\-#\-# #\-#\-#\-#\-# Elenco delle shell di login valide\&. #\-#\-#\-#\-# #\-#\-#\-#\-# Elenco delle shell di login ammesse\&.
85
85
.RE
86
86
.PP
87
 
\fI/etc/login\.defs\fR
 
87
\fI/etc/login\&.defs\fR
88
88
.RS 4
89
 
Shadow password suite configuration\.
 
89
Shadow password suite configuration\&.
90
90
.RE
91
91
.SH "VEDERE ANCHE"
92
92
.PP
93
93
\fBchfn\fR(1),
94
94
\fBlogin.defs\fR(5),
95
 
\fBpasswd\fR(5)\.
 
95
\fBpasswd\fR(5)\&.