From owner-cvs-all Fri Jun 30 19:39:23 2000 Delivered-To: cvs-all@freebsd.org Received: from guru.mired.org (zoom2-222.telepath.com [216.14.2.222]) by hub.freebsd.org (Postfix) with SMTP id 1248237B85C for ; Fri, 30 Jun 2000 19:39:20 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 4750 invoked by uid 100); 1 Jul 2000 02:38:29 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14685.22948.963677.663648@guru.mired.org> Date: Fri, 30 Jun 2000 21:38:28 -0500 (CDT) To: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/contrib/isc-dhcp - Imported sources In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: Will Andrews > On Fri, Jun 30, 2000 at 06:28:13PM +0100, Brian Somers wrote: > > No I didn't, I used su -m :-) > That requires being in the wheel group, which requires root.. :^) I typically boot systems single user after the install to apply final touches. The default shell then is "/bin/sh". Changing roots shell at that point would avoid the problem. Of course, my preferred shell is bash, and I'm not going to make that root's shell (nothing outside of core). So the question is moot - I use "su -m", or just su and then exec bash. I'm never in the shell long enough to *care* what it is. I'm just curious as to what the point of changing it is. If you're the only, make it part of your post-install script. With multiple admins, make the script install aliases in .cshrc (or .profile, if you insist on changing it) that source different scripts for each admin so they can go to their favorite shell with a single command after doing an su.