Re: bash update killed my shells

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 15, 2011 at 11:11 PM, Jonathan Ryshpan <jonrysh@xxxxxxxxxxx> wrote:
> On Tue, 2011-11-15 at 21:27 +0100, Michael Schwendt wrote:
>> On Tue, 15 Nov 2011 11:54:54 -0800, JR (Jonathan) wrote:
>>
>> > > https://admin.fedoraproject.org/updates/FEDORA-2011-15725
>> > >
>> > > Read through the comments.
>> >
>> > What *should* be in /etc/shells (by default)?  Reading the comments
>> > gives many examples of bad /etc/shells but no example of a good one.
>>
>> Then you've read the comments not carefully enough.
>>
>> The /etc/shells file belongs to the "setup" package and is
>> modified by shell packages when those are installed/erased.
>> Therefore you may need to reinstall _any_ shell package on your
>> system, such as "bash", for it to modify /etc/shells again as a fix.
>
> Not quite correct.  What I didn't read was "$ man shells".  For my
> system I believe it should be:
>        $ cat /etc/shells
>        /bin/sh
>        /bin/bash
>        /sbin/nologin
>        /bin/dash
> and I have edited it to be so.  Much easier than reinstalling all my
> shells, particularly since I'll need a shell to do it.
>
> Thanks to all - jon

This happened after a recent update to bash - the simplest solution is
to do as root:

yum reinstall bash

It only takes a second or two and then /etc/shells will be back to normal.
-- 
mike c
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux