Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 95 14:48:25 METDST
From:      marino.ladavac@aut.alcatel.at
To:        dlr@asylum.org (dlr)
Cc:        questions@freebsd.org
Subject:   Re: ksh as login shell
Message-ID:  <9509141248.AA26681@atuhc16.aut.alcatel.at>
In-Reply-To: <199509140324.XAA01403@asylum.asylum.org>; from "dlr" at Sep 13, 95 11:24 pm

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.

WARNING! If that ksh is the ksh the original poster downloaded from AT&T,
it may not work (seems to be BSD/OS executable.)  In that case, he could
lock himself out of the machine.

/Alby

> dave




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