Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2007 21:52:31 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Ian Lord <lordi@msdi.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Su newbie question
Message-ID:  <20070529015231.GB26229@gizmo.acns.msu.edu>
In-Reply-To: <032601c7a149$77913cc0$6400a8c0@msdi.local>
References:  <032601c7a149$77913cc0$6400a8c0@msdi.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 28, 2007 at 12:58:51PM -0400, Ian Lord wrote:

> Hi,
> 
> A real dumb question today : I’ve always been the only administrator of
> servers I installed so I never searched too much on the topic…
> 
> A new employee has joined the team and he will need to administer the
> servers (compile ports, etc)
> 
> Usually, I do a su when I need to do these tasks, so I wonder if everybody
> needs to know that password or if he could have his own password to su ?

It is possible for there to be more than one account that is root.
Just make it have UID 0 and GID 0.  Use vipw to do that.  It is common
to make an R id as root for a person.  - Say the regular id is joe
then you might make an Rjoe account with UID and GID of 0.

But that may not be the best way.   You really don't want to spread
root accounts around a lot.   One alternative might be setting up
sudo to allow the specific things that this other person needs to do.


////jerry

> 
> Thanks
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Ian Lord
> 
> MSD Informatique
> 
> 1711 Montée Major Terrebonne (Québec) J7M 1E6
> 
> Tél: (514) 776-MSDI          -> (514) 776-6734
> 
> Sans Frais: 1(877) 776-MSDI  -> 1(877) 776-6734
> 
> http://www.msdi.ca
> 
>  
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 



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