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

Re: Shells in wrong directory according to chsh.



>The chsh command has a list of accepted shells:
[...]
>However, ksh on my 1.1 system is in /bin instead
>of /usr/bin.  This prevents a user from changing their own
>shell to ksh because the chsh command requires the
>user to choose from the above list.
>
>This is either a bug in passwd which provides chsh, or it
>is a bug in pdksh which provides ksh.  I only have bash, csh,
>tcsh, and ksh installed, so I don't know if any other shells
>such as zsh have the same problem.

I have no ksh, but /usr/bin/ksh still appears in /etc/shells (which is
where chsh gets its idea of which shells are valid)... it strikes me
that perhaps it ought to be the responsibility of the shell packages
to register themselves in /etc/shells (although shipping a version
which correctly lists all shells Debian supports would certainly be
adequate).

- Richard

-- 
http://www.elmail.co.uk/staff/richard/
GCS d- s+:- a-- C++ ULVS+++$ P+++ L++ E++ W(++,--) N(++,+) o? K w---
O? M- V? PS(+,+++) PE Y+ PGP+ t- 5++ X+@ R tv--- b++>++++ DI+ D+ G e++
h r% y++


Reply to: