From owner-freebsd-arch@FreeBSD.ORG Mon Jun 13 14:42:35 2005 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AC0616A41C; Mon, 13 Jun 2005 14:42:35 +0000 (GMT) (envelope-from jilles@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 207DA43D1D; Mon, 13 Jun 2005 14:42:34 +0000 (GMT) (envelope-from jilles@stack.nl) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mailhost.stack.nl (Postfix) with ESMTP id 727A91F057; Mon, 13 Jun 2005 16:42:33 +0200 (CEST) Received: by turtle.stack.nl (Postfix, from userid 1677) id 652CB1CDE3; Mon, 13 Jun 2005 16:42:33 +0200 (CEST) Date: Mon, 13 Jun 2005 16:42:33 +0200 From: Jilles Tjoelker To: Richard Coleman Message-ID: <20050613144233.GE15281@stack.nl> References: <53d4293a37f280317d52338c2fc6fc6d@FreeBSD.org> <20050612025402.GD67746@dragon.NUXI.org> <42ABAE43.1000704@criticalmagic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42ABAE43.1000704@criticalmagic.com> X-Operating-System: FreeBSD 5.4-RELEASE i386 User-Agent: Mutt/1.5.6i Cc: John Baldwin , freebsd-arch@FreeBSD.org Subject: Re: Death to toor X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 14:42:35 -0000 On Sat, Jun 11, 2005 at 11:38:43PM -0400, Richard Coleman wrote: > David O'Brien wrote: > >I wouldn't say we are totally safe changing root's default shell away > >from /bin/csh. We still see people give the advice that one should not > >change root's default shell. > That sounds like old school sysadmin conservatism. I don't think there > is any technical basis for such advice. I'm not suggesting that the > default be changed, since consistency is also a desirable thing (I get > irked when I log into a box as root and suddently find that I'm in > bash). But I doubt it hurts anything to changes root's shell these days. Actually, there is a case where it matters. The following command, executed as root, uses the shell field in the passwd entry "root" (except if getlogin() returns a different username with uid 0): su -m nonrootuserwithinvalidshell -c 'command' I sometimes use this in scripts with more complicated commands and then it's pretty annoying that that depends on root's shell :( -- Jilles Tjoelker