Rechercher une page de manuel
chsh
Langue: fr
Version: 22/05/2009 (debian - 07/07/09)
Section: 1 (Commandes utilisateur)
NOM
chsh - Changer l'interpréteur de commandes initialSYNOPSIS
- 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).
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre