[NTLUG:Discuss] Using SUDO

Jason Ferguson jferg3 at swbell.net
Sat Dec 29 10:15:09 CST 2001


I've tried man sudo and man sudoers, but they go into so much detail
that it isnt really geared towards a simple moethod of doing the job.

Anyhow, here's what I ended up doing (my /etc/sudoers file):
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

# Host alias specification

# User alias specification
User_Alias      APTERS = (my user name)

# Cmnd alias specification
Cmnd_Alias      APT = /usr/bin/apt-get, /usr/bin/dpkg

# User privilege specification
root    ALL=(ALL) ALL
APTERS  ALL=APT

Hopefully that will do the job.

Jason

On Sat, 2001-12-29 at 09:59, Fred James wrote:
> Have you tried "man sudo" ?
> 
> Jason Ferguson wrote:
> 
> > Can anyone give me or point me to a quick reference on using sudo? I've
> > never learned how to use it, and Im sick of having to su to root to use
> > apt-get to update my system.
> > 
> > Jason
> > 
> > 
> > 
> 
> 
> -- 
> ...make every program a filter...
> 
> 
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://ntlug.org/pipermail/discuss/attachments/20011229/075bf848/attachment.bin


More information about the Discuss mailing list