1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 11:55:24 +02:00
tldr/pages.fr/linux/chsh.md
2025-04-27 18:42:22 +03:00

21 lines
532 B
Markdown

# chsh
> Change le shell de connexion de l'utilisateur.
> Fait partie de `util-linux`.
> Plus d'informations : <https://manned.org/chsh>.
- Change le shell de connexion de l'utilisateur actuel de manière interactive :
`chsh`
- Liste les shells disponibles :
`chsh {{[-l|--list-shells]}}`
- Change le shell de connexion de l'utilisateur actuel :
`chsh {{[-s|--shell]}} {{chemin/vers/shell}}`
- Change le shell de connexion pour un utilisateur donné :
`sudo chsh {{[-s|--shell]}} {{chemin/vers/shell}} {{nom_utilisateur}}`