[lfs-dev] /etc/shells

2012-02-24 Thread Andrew Benton
Hello,
I notice that on the BLFS pages for dash and zsh we add them
to /etc/shells so that people can change their shell with chsh
(installed as part of shadow).
However, grepping through LFS for /etc/shells finds
nothing. /etc/shells is not needed until we install shadow so
perhaps we could echo /bin/bash > /etc/shells on the shadow page?

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page


Re: [lfs-dev] /etc/shells

2012-02-24 Thread Bruce Dubbs
Andrew Benton wrote:
> Hello,
> I notice that on the BLFS pages for dash and zsh we add them
> to /etc/shells so that people can change their shell with chsh
> (installed as part of shadow).
> However, grepping through LFS for /etc/shells finds
> nothing. /etc/shells is not needed until we install shadow so
> perhaps we could echo /bin/bash > /etc/shells on the shadow page?

There is a section in BLFS about it:

http://www.linuxfromscratch.org/blfs/view/svn/postlfs/etcshells.html

It's not needed in LFS because there is only one shell there.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page