You are not logged in.

#1 2014-09-07 03:57:47

curtisleebolin
Member
Registered: 2014-09-07
Posts: 15

PAM doesn't like /usr/bin/bash set as shell

Can anyone explain why PAM is fine with /usr/bin/zsh set as login shell but not /usr/bin/bash.  For bash it must be set to /bin/bash.

Should I file a bug report?

Here is an example https://bbs.archlinux.org/viewtopic.php?pid=1454302

By default the archiso has /usr/bin/zsh set as the root login shell.  Line 10: https://projects.archlinux.org/archiso. … irootfs.sh

Offline

#2 2014-09-07 04:22:18

qwerty12
Member
From: London
Registered: 2011-06-20
Posts: 34

Re: PAM doesn't like /usr/bin/bash set as shell

I haven't bothered testing this hypothesis, but my guess is that it is because /etc/shells has entries for both /bin/zsh and /usr/bin/zsh but only /bin/bash for bash.

Last edited by qwerty12 (2014-09-07 04:22:40)

Offline

#3 2014-09-07 04:36:51

curtisleebolin
Member
Registered: 2014-09-07
Posts: 15

Re: PAM doesn't like /usr/bin/bash set as shell

qwerty12 wrote:

I haven't bothered testing this hypothesis, but my guess is that it is because /etc/shells has entries for both /bin/zsh and /usr/bin/zsh but only /bin/bash for bash.

To test your hypothesis, I added /usr/bin/bash to /etc/shells and changed the login shell. 
I was still blocked by PAM from logging in with ssh.

Offline

#4 2014-09-07 13:26:13

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: PAM doesn't like /usr/bin/bash set as shell

Offline

Board footer

Powered by FluxBB