From owner-freebsd-questions Thu Sep 14 05:50:14 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA09285 for questions-outgoing; Thu, 14 Sep 1995 05:50:14 -0700 Received: from Relay1.Austria.EU.net (relay1.Austria.EU.net [192.92.138.47]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id FAA09279 for ; Thu, 14 Sep 1995 05:50:08 -0700 From: marino.ladavac@aut.alcatel.at Received: from aut.alcatel.at (dnisun.aut.alcatel.at) by Relay1.Austria.EU.net with SMTP id AA20486 (5.67b/IDA-1.5 for ); Thu, 14 Sep 1995 14:48:30 +0200 Received: from atuhc16 by aut.alcatel.at (4.1/SMI-4.1/AAA-1.29/main) id AA26681; Thu, 14 Sep 95 14:48:30 +0200 Message-Id: <9509141248.AA26681@atuhc16.aut.alcatel.at> Received: by atuhc16 (1.38.193.4/16.2) id AA17926; Thu, 14 Sep 1995 14:48:26 +0200 Subject: Re: ksh as login shell To: dlr@asylum.org (dlr) Date: Thu, 14 Sep 95 14:48:25 METDST Cc: questions@freebsd.org In-Reply-To: <199509140324.XAA01403@asylum.asylum.org>; from "dlr" at Sep 13, 95 11:24 pm Mailer: Elm [revision: 70.85] Sender: questions-owner@freebsd.org Precedence: bulk > | > |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