From owner-freebsd-questions@FreeBSD.ORG Sun Mar 1 16:16:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9266106567E for ; Sun, 1 Mar 2009 16:16:56 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 7C3FC8FC12 for ; Sun, 1 Mar 2009 16:16:56 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1LdoLX-00034q-OM; Sun, 01 Mar 2009 16:16:55 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id n21GGtEO025374; Sun, 1 Mar 2009 16:16:55 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 4B29AFCA4DB; Sun, 1 Mar 2009 16:16:50 +0000 (GMT) Date: Sun, 1 Mar 2009 16:16:50 +0000 From: Frank Shute To: Sniper Message-ID: <20090301161650.GB15344@melon.esperance-linux.co.uk> Mail-Followup-To: Sniper , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.4-RELEASE-p2 i386 X-Organisation: 'http://www.shute.org.uk/' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.1.7 (zetnet.co.uk [194.247.46.1]); Sun, 01 Mar 2009 16:16:55 +0000 (GMT) Cc: freebsd-questions@freebsd.org Subject: Re: Root shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 16:16:57 -0000 On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote: > > Hi! > > I heard that changing root shell to bash is not good idea, also programing > in any C shell not applicable. So which shell is the most appropriate for > root user ? > I changed my root shell to pdksh with no ill-effects. I just copied it from /usr/local/bin to /bin and added it to /etc/shells. Then vipw. pdksh is statically linked and I don't know if bash is. If it's not you wont be able to use it in single user mode but you can always use /bin/sh instead. Another option is to use the toor account rather than messing around with root. I think programming with csh is deprecated nowadays - a shell guru could tell you if that's true. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html