Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23242 - csh not in /etc/shells after install
Summary: csh not in /etc/shells after install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tavis Ormandy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-21 13:20 UTC by Scott Serr
Modified: 2003-07-17 12:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Serr 2003-06-21 13:20:22 UTC
/etc/shells does not contain /bin/csh as a valid login shell.  Few people
probably use csh, but I have to at my work.  Very difficult to track this down
since "telnet-bsd" would let me login, but ssh would not.

Either csh should be added to /etc/shells in every case, or just after
installing csh.

Reproducible: Always
Steps to Reproduce:
1. Install csh
2. chsh to /bin/csh
3. ssh into box

Actual Results:  
Permission denied.  (It would be nice if ssh was helpful and said, your shell
isn't valid)
Comment 1 Tavis Ormandy (RETIRED) gentoo-dev 2003-06-21 22:28:35 UTC
your right, i asked it to be added about a month ago, i'll remind him.

assigning to self.
Comment 2 Tavis Ormandy (RETIRED) gentoo-dev 2003-07-10 12:22:13 UTC
azarah, any comments?
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2003-07-13 22:11:16 UTC
I think it should only be added if a csh is installed.  I know *I* don't
want to have to remove /bin/csh from /etc/shells on every install if it
were part of baselayout.
Comment 4 Tavis Ormandy (RETIRED) gentoo-dev 2003-07-14 07:31:39 UTC
I have no problem with that approach, but the current method appears to be "add all available shells to /etc/shells, installed or not", if thats going to change, its cool with me.
Comment 5 Scott Serr 2003-07-15 21:10:59 UTC
I think it would be nice if it was put in /etc/shells when installed.  Mr. Bones, since you "harden" your box by taking this out, do you currently take out other shells?  Maybe this would be just one more ^K (in emacs).  For instance I don't have zsh, but it's in my /etc/shells.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2003-07-16 00:25:03 UTC
Oh, it's certainly not about the work involved, although, I supposed if I
had a large number of computers it would be a little annoying to have to
take it out of each /etc/shells.  I like to be do as little configuration
by hand as possible and if /etc/shells were maintained by the shell ebuilds as
they were merged/unmerged I think it would be great.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-07-17 12:55:36 UTC
Sorry - was MIA for a bit.  Added in CVS, new baselayout in a bit.