FS#35724 - [zsh] /etc/shells should keep /bin/zsh
Attached to Project:
Arch Linux
Opened by Sébastien Luttringer (seblu) - Saturday, 08 June 2013, 16:15 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Tuesday, 20 August 2013, 20:52 GMT
Opened by Sébastien Luttringer (seblu) - Saturday, 08 June 2013, 16:15 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Tuesday, 20 August 2013, 20:52 GMT
|
Details
We should keep /bin/zsh as the canonical path into
/etc/shells (and sheebangs).
/bin is the legacy default path for all shells we have. Changing it will only introduce incompatibility and lack of understanding. By example with chsh: # chsh Changing shell for root. New shell [/bin/zsh]: /bin/zsh chsh: Warning: "/bin/zsh" is not listed in /etc/shells. chsh: Shell not changed. |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Tuesday, 20 August 2013, 20:52 GMT
Reason for closing: Fixed
Tuesday, 20 August 2013, 20:52 GMT
Reason for closing: Fixed
Confusing? Hell yeah.
Edit: I just took a look at the install files for shells I could find in the main repos. Currently in /etc/shells, we have:
/bin/sh
/bin/bash
/bin/dash
/bin/mksh
/bin/tcsh
/bin/csh
/usr/bin/fish
/usr/bin/zsh
I got today pam issues today with box with /bin/zsh in /etc/passwd avoiding login as root... The pam logs was not really verbose and helpful.
The value for the SHELL variable was not found the /etc/shells file
This incident has been reported.