From owner-freebsd-questions Thu Oct 10 9:35:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22E7837B401 for ; Thu, 10 Oct 2002 09:35:47 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCAF943E77 for ; Thu, 10 Oct 2002 09:35:45 -0700 (PDT) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id g9AGXRti040930; Thu, 10 Oct 2002 13:33:27 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Thu, 10 Oct 2002 13:33:26 -0300 (ART) From: Fernando Gleiser To: Peter Leftwich Cc: FreeBSD LIST Subject: Re: How to create another account with root privileges ? In-Reply-To: <20021010003307.C41584-100000@earl-grey.cloud9.net> Message-ID: <20021010132936.A3949-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-2.4 required=5.0 tests=IN_REP_TO,SUBJ_ENDS_IN_Q_MARK,DOUBLE_CAPSWORD version=2.31 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 10 Oct 2002, Peter Leftwich wrote: > On Thu, 10 Oct 2002, Bob Johnson wrote: > > Is there a command similar to vipw that uses a simpler editor, like pico? From man vipw: ENVIRONMENT If the following environment variable exists it will be utilized by vipw: EDITOR The editor specified by the string EDITOR will be invoked instead of the default editor vi(1). > > > set up an admin account with your choice of shell. > > I always log in 100% of the time to my box as root and my shell is tcsh Don't do it. Log as a normal user and su when you need to work as root. > > Does it matter that (I think) I changed the shell for root? Nope, because in FreeBSD csh is tcsh: bash-2.05b$ ls -li /bin/*csh 22596 -r-xr-xr-x 2 root wheel 640880 Sep 1 20:14 /bin/csh 22596 -r-xr-xr-x 2 root wheel 640880 Sep 1 20:14 /bin/tcsh They have the same inode Fer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message