From owner-freebsd-questions Sat Oct 14 12:33:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 05F6637B66D for ; Sat, 14 Oct 2000 12:33:55 -0700 (PDT) Received: (qmail 10341 invoked by uid 100); 14 Oct 2000 19:33:54 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14824.46370.61481.896187@guru.mired.org> Date: Sat, 14 Oct 2000 14:33:54 -0500 (CDT) To: Ryan Thompson Cc: questions@freebsd.org Subject: Re: changing root shell?? In-Reply-To: <29440009@toto.iv> 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-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ryan Thompson writes: > People tend to forget about, or have no knowledge of, the 'toor' user. > > Give toor your chosen shell (chsh toor), assign her a password, and do > your root duties from that account, leaving the real root account with the > default shell. Best of both worlds, really, for about 99.5% of all > sysadmin duties on a production machine. If a 'toor' account was not > created on your system, just add another user after root with uid = 0, gid > = 0 and remake the password db. toor makes me nervous - I delete it regularly. On the other hand, "alias su='su -m'" means that I get my current environment when I su. Shell, environment, home directory, etc.