Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Sudo Permission' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sudo Permission
Authored by: halodos on Jun 08, '11 09:09:07PM


I have a quick question. I am trying this, but sudo keeps asking me for a password, which I cannot figure out. After I go to /etc/ and getinfo on sudoers to give myself permission to edit it, it gives me a sudo is 0640 instead of 0440 error. I assume this is because of the extra privileges on sudo. Do you know how to get that sudo password easily, or how did you bypass it?


[ Reply to This | # ]
Sudo Permission
Authored by: everkleer80 on Jun 09, '11 08:03:16AM

AFAIK the password should be the pw for the user you are currently logged in as (I think you have to be using an admin account.)

[ Reply to This | # ]
Sudo Permission
Authored by: halodos on Jun 09, '11 08:24:02AM

Thanks for the fast response!

I tried that several times, and was only able to pull it off today. I may have typed my pw too quickly or something...

Now I get the error:

launchctl: Error unloading:

Does this mean that I am already using it so it doesn't unload, and if so, then I probably shouldn't use this hint, right? Thanks for the help guys! Didn't think it would be this complicated T_T

[ Reply to This | # ]
Sudo Permission
Authored by: everkleer80 on Jun 10, '11 09:52:36AM

Hmm.. I had inadvertantly run the unload command twice and I think I got that error the second time (since it wasn't loaded anymore.) Maybe the command previously ran successfully and you didn't notice? If you run the same command replacing "unload" with "load" then it will either load it or say "already loaded," so you could try loading it and then unloading it again.

I don't think you should get an error due to it being "in use," but if that is the case then just try right after a restart (asuming you don't have a ton of stuff starting at login/startup.)

[ Reply to This | # ]