3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5
5
.\" Manual: User Commands
6
6
.\" Source: User Commands
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
11
11
.\" disable justification (adjust text to left margin only)
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\&.
29
29
\fB\-h\fR, \fB\-\-help\fR
31
Mostra un messaggio di aiuto ed esce\.
31
Mostra un messaggio di aiuto ed esce\&.
34
34
\fB\-s\fR, \fB\-\-shell\fR \fISHELL\fR
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\&.
41
41
option is not selected,
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
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
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"
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:
60
60
\fBCHSH_AUTH\fR (boolean)
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\&.
68
68
\fBLOGIN_STRING\fR (string)
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\&.
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\&.
79
informazioni sugli account utente\.
79
informazioni sugli account utente\&.
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\&.
87
\fI/etc/login\.defs\fR
87
\fI/etc/login\&.defs\fR
89
Shadow password suite configuration\.
89
Shadow password suite configuration\&.
94
94
\fBlogin.defs\fR(5),