Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 1995 23:24:42 -0400 (EDT)
From:      dlr <dlr@asylum.org>
To:        beckmann@powermac.stud.th-darmstadt.de (Michael Beckmann)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ksh as login shell
Message-ID:  <199509140324.XAA01403@asylum.asylum.org>
In-Reply-To: <v02130504ac7d29647f38@[130.83.177.12]> from "Michael Beckmann" at Sep 14, 95 02:50:58 am

next in thread | previous in thread | raw e-mail | index | archive | help
|
|I downloaded ksh and wanted to make it my login shell. I tried to use the
|chpass command:
|
|zit1: {1} chpass -s ksh
|chpass: ksh: non-standard shell
|chpass: /etc/master.passwd: unchanged
|
|Why is ksh not a standard shell ? How can I fix this ? Thanks.

Look at the /etc/shells file:

{io!dlr} /etc 147> ls -al /etc/shells
-rw-r--r--  1 root  wheel  161 Feb 10  1995 /etc/shells

{io!dlr} /etc 148> less shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/usr/local/bin/tcsh

edit it and add ksh. prob need to use full path. then use chpass to change 
your shell.


dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509140324.XAA01403>