Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem to sudo.. [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
nirax
Guru
Guru


Joined: 06 Jul 2004
Posts: 319
Location: Germany, old Europe

PostPosted: Tue Nov 14, 2006 7:08 pm    Post subject: problem to sudo.. [solved] Reply with quote

Hi,

i have on a machine a strange problem:

i log in with a normal user
i am able to run "su" with this user.
but i can not "sudo"

Code:
test@dindin ~ $ sudo bash

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password:
Sorry, try again.
Password:

the password i type is the correct one for root..


the user is in the hweel group, and i added
Code:
 %wheel ALL=(ALL)       ALL


to the /etc/sudoers
_________________
quot licet iovi non licet bovi


Last edited by nirax on Tue Nov 14, 2006 7:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Tue Nov 14, 2006 7:14 pm    Post subject: Reply with quote

use current user's password for sudo, target user's password for su
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
nirax
Guru
Guru


Joined: 06 Jul 2004
Posts: 319
Location: Germany, old Europe

PostPosted: Tue Nov 14, 2006 7:15 pm    Post subject: Reply with quote

omg .. thanks :oops: 8O

does one notice that i use su most of the time ;)
_________________
quot licet iovi non licet bovi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum