1 |
shouldnt /etc/shells contain only valid shells that |
2 |
exist on the local machine ? so after default |
3 |
installs, /etc/shells should really only have /bin/bash |
4 |
and /bin/sh ... and then whenever a shell in app-shells |
5 |
gets emerged, it provides a /etc/shells file that is created |
6 |
in the following manner: |
7 |
{ grep -v ^/bin/SHELL /etc/shells; |
8 |
echo "/bin/SHELL" |
9 |
} > ${D}/etc/shells |
10 |
then when the install is run, you get a ._cfg_0000_shells |
11 |
file for the user to handle. |
12 |
|
13 |
right now, on my machines, /etc/shells lists: |
14 |
really installed: sh bash sash |
15 |
not installed: tcsh esh zsh |
16 |
not in gentoo: ksh |
17 |
|
18 |
so should the default /etc/shells be updated to have just bash/sh, |
19 |
and all the shell ebuilds add themselves when emerged ? |
20 |
-mike |