Linux

Ubuntu 9.04

Jaunty Jackalope

chsh(1)


CHSH

NOM

chsh − Changer l’interpréteur de commandes initial

SYNOPSIS

chsh [options] [LOGIN]

DESCRIPTION

The chsh 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.

OPTIONS

Les options applicables à la commande chsh sont :

−h, −−help

Afficher un message d´aide et quitter.

−s, −−shell INTERPRÃTEUR

Nom du nouvel interpréteur de commandes initial (« login shell ») de l´utilisateur. Si ce champ est vide, le système sélectionnera l´interpréteur de commandes initial par défaut.

Quand l´option −s n´est pas sélectionnée, chsh opère de façon interactive, demandant à l´utilisateur quel doit être le nouvel interpréteur de commandes initial (« login shell »). L´utilisateur pourra entrer une nouvelle valeur pour modifier l´interpréteur, ou laisser la ligne blanche pour conserver l´interpréteur actuel. L´interpréteur actuel est indiqué entre crochets ([ ]).

NOTE

The only restriction placed on the login shell is that the command name must be listed in /etc/shells, 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 /bin/rsh in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell back to its original value.

FICHIERS

/etc/passwd

Informations sur les comptes des utilisateurs.

/etc/shells

Liste des interpréteurs de commandes initiaux valables.

/etc/login.defs

Configuration de la suite des mots de passe cachés « shadow password ».

VOIR AUSSI

chfn(1), login.defs(5), passwd(5).


chsh(1)