FS#35687 - can't login with login shell set to /usr/bin/bash

Attached to Project: Arch Linux
Opened by Jonathan Frazier (wide-eye) - Friday, 07 June 2013, 10:12 GMT
Last edited by Allan McRae (Allan) - Friday, 07 June 2013, 10:51 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

if you create a user which uses the "correct" path of /usr/bin/bash you cannot login due it not being in /etc/shells.

adding /usr/bin/bash to /etc/shells solves this.

users with login shell set to /bin/bash cannot login with just /usr/bin/bash in /etc/shells. so both need to be added to keep them compatible.

I see that dash adds /bin/dash to shells. zsh adds /usr/bin/zsh, but doesn't remove /bin/zsh if it exists.

a quick solution is to add both bash paths to /etc/shells in the filesystem package, and update dash to add the new path without removing the old.

john_f
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 07 June 2013, 10:51 GMT
Reason for closing:  Won't fix
Additional comments about closing:  bash is expected in /bin/bash. Add the other path to the shell yourself it you want to be different.

Loading...