sudo problems

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
User avatar
decrease789
Apprentice
Apprentice
Posts: 194
Joined: Fri Jun 25, 2004 4:49 pm
Location: The United Krapdom

sudo problems

Post by decrease789 »

ok i've been looking for the answer to this for ages...

how the hell can i sudo on OS X? i can su fine. my /etc/sudoers file is in order... but everytime i use sudo... it prompts for the password. well... that shouldnt happen... so i type in the password and it says it's incorrect?

why can't i sudo?!?? it's driving me crazy. and the user is an admin... so no problem there either.
User avatar
chetoo
n00b
n00b
Posts: 57
Joined: Wed May 24, 2006 1:22 pm
Location: Valencia (Spain)

Re: sudo problems

Post by chetoo »

decrease789 wrote:ok i've been looking for the answer to this for ages...

how the hell can i sudo on OS X? i can su fine. my /etc/sudoers file is in order... but everytime i use sudo... it prompts for the password. well... that shouldnt happen... so i type in the password and it says it's incorrect?

why can't i sudo?!?? it's driving me crazy. and the user is an admin... so no problem there either.
As far as I remember your user should belong to the group 'wheel'. Please check it since I'm not sure now.
Dell Inspiron 8200 - Nvidia GeForce 440 Go 64M
User avatar
decrease789
Apprentice
Apprentice
Posts: 194
Joined: Fri Jun 25, 2004 4:49 pm
Location: The United Krapdom

Post by decrease789 »

doesnt matter anyway... ive clearly defined my user in the /etc/sudoers file in case it was group membership that was the problem which im pretty sure it's not
grobian
Developer
Developer
Posts: 67
Joined: Wed May 31, 2006 4:02 pm

Post by grobian »

sudo asks for *your* password, not for the root password.
Gentoo on a different level
User avatar
decrease789
Apprentice
Apprentice
Posts: 194
Joined: Fri Jun 25, 2004 4:49 pm
Location: The United Krapdom

Post by decrease789 »

oh right. i thought i tried that. obviously i hadn't
Locked