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

Re: Debian csh "no shell" at login

On Tue, Apr 30, 2002 at 05:48:51PM -0700, PINKERTON,PHIL (HP-Cupertino,ex1) wrote:
> I installed csh shell from apt-get install it installed ok however when
> added to /etc/passwd as a user login shell the system responds with "no
> shell"

hmm.  can't reproduce that here:

willy@gsyprf11:~$ sudo adduser wonty
Adding user wonty...
Adding new group wonty (1015).
Adding new user wonty (1015) with group wonty.
Creating home directory /home/wonty.
Copying files from /etc/skel
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
Changing the user information for wonty
Enter the new value, or press return for the default
        Full Name []: 
        Room Number []: 
        Work Phone []: 
        Home Phone []: 
        Other []: 
Is the information correct? [y/n] y
willy@gsyprf11:~$ sudo chsh wonty
Changing the login shell for wonty
Enter the new value, or press return for the default
        Login Shell [/bin/bash]: /bin/csh
willy@gsyprf11:~$ sudo su wonty
% echo $SHELL

> I checked the /etc/shells file and it is there as /bin/csh and /usr/bin/csh

I only see it as /bin/csh; did you misread /usr/bin/esh?

> why in the world is this shell linked from /bin/bsd-csh to
> /etc/alternatives/csh
> which is linked back to /bin/csh??

man update-alternatives

> Meatime I am changing all the scripts to run under bash, but this task is a
> real pain.
> and may not be possible as some scripts require rexec calls to systems using
> csh on hp-ux.

"Csh Programming Considered Harmful"
You probably want to convert them anyway :-)

Revolutions do not require corporate support.

To UNSUBSCRIBE, email to debian-hppa-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: