Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 13:33:26 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: How to create another account with root privileges ?
Message-ID:  <20021010132936.A3949-100000@cactus.fi.uba.ar>
In-Reply-To: <20021010003307.C41584-100000@earl-grey.cloud9.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010132936.A3949-100000>