Bug 783659 - chsh fails due to /bin/bash not in /etc/shells
Summary: chsh fails due to /bin/bash not in /etc/shells
Keywords:
Status: CLOSED DUPLICATE of bug 752827
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-21 14:56 UTC by alberth289346
Modified: 2012-01-21 21:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-21 21:16:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description alberth289346 2012-01-21 14:56:09 UTC
Just installed F16, and want to switch from the default /bin/bash shell to my normal zsh shell.
'chsh' however fails:

[hat3@localhost ~]$ chsh
chsh: chsh: your shell is not in /etc/shells, shell change denied: Permission denied
[hat3@localhost ~]$ cat /etc/shells
/sbin/nologin
/bin/dash
/bin/zsh
[hat3@localhost ~]$ echo $SHELL
/bin/bash
[hat3@localhost ~]$ grep hat3 /etc/passwd
hat3:x:1000:1000:hat3:/home/hat3:/bin/bash

Comment 1 Ondrej Vasik 2012-01-21 21:16:59 UTC
Thanks for report, but this has nothing to do with chsh - the culprit is buggy bash package - unfortunately even the update to latest bash doesn't solve the issue, only yum reinstall bash after the update will help. Closing duplicate...

*** This bug has been marked as a duplicate of bug 752827 ***


Note You need to log in before you can comment on or make changes to this bug.