[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Single-use root account?



On (07/11/03 04:27), Alex Malinovich wrote:
> To: debuser <debian-user@lists.debian.org>
> Date: Fri, 07 Nov 2003 04:27:01 -0600
> On Fri, 2003-11-07 at 03:22, Roberto Sanchez wrote:
> > Alex Malinovich wrote:
 [snip] 
> > > So any ideas on how to go about it? Is it possible to have two different
> > > users with the same UID? i.e. adduser --uid 0 --gid 0 temproot
> > > 
> > > If not, any other possibilities?
> > 
> > What about sudo?  You can set it up to grant very limited permissions
> > (i.e., one or two commands only) to a specific user.
> 
> I never really know what I'll need them to do, so it's not really
> viable. It could be changing network settings one day (so I'd have to
> allow access to ifconfig, route, export2fs, etc), user admin another day
> (passwd, adduser, etc), and package management after that (dpkg, apt,
> etc). That would become very unmanageable very quickly.
> 
Not a problem - in your sudoers file (visudo) put
user ALL=(ALL) ALL

which will give that user full root privileges when they use the sudo
command.

Regards

Clive

-- 
http://www.clivemenzies.co.uk
strategies for business



Reply to: