or Connect
AppleInsider › Forums › Software › Mac OS X › How do I add a user to /etc/sudoers file?
New Posts  All Forums:Forum Nav:

How do I add a user to /etc/sudoers file?

post #1 of 3
Thread Starter 
How do I add a user to /etc/sudoers file?

I'm a local admin (and root) on my OS X box and I want to add a user to be able to sudo.

What does the %admin do? (I mean why the % char? what's it do?)

Do I have to use visudo to edit it?
A friend will help you move, but a REAL FRIEND will help you move a body.
Reply
A friend will help you move, but a REAL FRIEND will help you move a body.
Reply
post #2 of 3
Yes. man visudo will help.
My brain is hung like a HORSE!
Reply
My brain is hung like a HORSE!
Reply
post #3 of 3
Are you just looking to give the person admin rights? Then they just need to be an admin, or added to the "wheel" group. If you are trying to do something more specific, then you need to spend some time (as Kickaha suggested) with the sudo manual, and look at all of the examples given in /etc/sudoers
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Mac OS X
AppleInsider › Forums › Software › Mac OS X › How do I add a user to /etc/sudoers file?