how do I enable sudo?
Gregg Dinse
dinse at niehs.nih.gov
Fri Oct 27 08:17:59 PDT 2006
Hi Don,
Thanks for the help. I had done a "man sudo" but I did not even
think to do a "man sudoers". Unfortunately, I am not a very
sophisticated UNIX user, I guess, because both of these man files
were fairly long and complicated looking, and I could not easily see
how to add my ordinary account to the sudoers file.
I did try your approach of su'ing to my admin account and then
sudo'ing from there. I had not thought of that. It worked just
fine. Thanks for the help. I appreciate it.
Gregg
On 27 Oct 2006, at 11:06 AM, Don Carlile wrote:
> I generally just su to my admin account and sudo from there. If
> you want to add your regular account to sudoers, you can find out
> how to do that by using man sudoers.
>
> Regards,
> Don Carlile
>
> On Oct 27, 2006, at 7:55 AM, Gregg Dinse wrote:
>
>> Hi,
>>
>> For years my main account was an admin account and I could use
>> sudo. A few months ago, I decided to try to be a little more
>> secure. I created a special admin account and then I made my main
>> account an ordinary user (i.e. non-admin) account. I just tried
>> to use sudo today (from my ordinary user account) and realized
>> that I could not do it.
>>
>> Can sudo be executed from an ordinary user account? If so, how do
>> I do it?
>>
>> When I try to use sudo, it asks for my password (as expected), but
>> after I provide the password, it says I am not in the sudoers
>> file. If it's possible, how do I add my ordinary user account
>> name to the sudoers file?
>>
>> Thanks in advance for any help you can give me.
>>
>> Gregg
>> _______________________________________________
>> MacOSX-talk mailing list
>> MacOSX-talk at omnigroup.com
>> http://www.omnigroup.com/mailman/listinfo/macosx-talk
More information about the MacOSX-talk
mailing list