25-05
Debian: Changer le shell par défaut avec chsh

$chsh root Changing the login shell for root Enter the new value, or press ENTER for the default Login Shell [/bin/bash]:Vous pouvez aller un peu plus vite en utilisant l'argument -s
$chsh -s /bin/sh rootEdit: Vous pouvez avoir la liste des shells disponible en regardant le contenu du fichier /etc/shells :
cat /etc/shells # /etc/shells: valid login shells /bin/csh /bin/sh /usr/bin/es /usr/bin/ksh /bin/ksh /usr/bin/rc /usr/bin/tcsh /bin/tcsh /usr/bin/esh /bin/bash /bin/rbash /usr/bin/screen /bin/false
Votre commentaire
Aucun commentaire pour ce billet.