View previous topic :: View next topic |
Author |
Message |
neogen Apprentice
Joined: 10 Oct 2004 Posts: 163
|
Posted: Sat Oct 16, 2004 9:26 pm Post subject: problem with sudo, plz help [solved] |
|
|
hi i've just emerge sudo, and well im having problem using it,
when i do: Code: | sudo shutdown -r -t time now |
it ask for a password, then i enter my root, password and it said incorrect password?, then i try entering my normal user password and that dont work either, am i missing something?
Last edited by neogen on Sat Oct 16, 2004 9:51 pm; edited 1 time in total |
|
Back to top |
|
|
ravensix Apprentice
Joined: 18 Sep 2004 Posts: 220
|
Posted: Sat Oct 16, 2004 9:30 pm Post subject: Re: problem with sudo, plz help |
|
|
neogen wrote: | hi i've just emerge sudo, and well im having problem using it,
when i do: Code: | sudo shutdown -r -t time now |
it ask for a password, then i enter my root, password and it said incorrect password?, then i try entering my normal user password and that dont work either, am i missing something? |
did you add your user in /etc/sudoers ? _________________ Gentoo Powered:Reiser4|2.6 bootstrapped|NPTL|UDEV|2.6.11-nitro2+gnome
Linux registered user #366983
ravensix[at]gmail[dot]com |
|
Back to top |
|
|
neogen Apprentice
Joined: 10 Oct 2004 Posts: 163
|
Posted: Sat Oct 16, 2004 9:33 pm Post subject: |
|
|
i dont think i did, all i did was install the sudo and try to use it as a normal user, so how would i set up normal user to used 'sudo'? |
|
Back to top |
|
|
ravensix Apprentice
Joined: 18 Sep 2004 Posts: 220
|
Posted: Sat Oct 16, 2004 9:35 pm Post subject: |
|
|
neogen wrote: | i dont think i did, all i did was install the sudo and try to use it as a normal user, so how would i set up normal user to used 'sudo'? |
I just put
in my /etc/sudoers file, replace dan with your users name. then when it asks for your password, it is your users password, not roots. _________________ Gentoo Powered:Reiser4|2.6 bootstrapped|NPTL|UDEV|2.6.11-nitro2+gnome
Linux registered user #366983
ravensix[at]gmail[dot]com |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20583
|
Posted: Sat Oct 16, 2004 9:39 pm Post subject: |
|
|
Moved from Other Things Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
neogen Apprentice
Joined: 10 Oct 2004 Posts: 163
|
Posted: Sat Oct 16, 2004 9:42 pm Post subject: |
|
|
thankx ravensix, its working now. |
|
Back to top |
|
|
syg00 l33t
Joined: 23 Aug 2004 Posts: 907 Location: Brisbane, AUS
|
Posted: Sat Oct 16, 2004 10:33 pm Post subject: |
|
|
I got sick of all the typing - make an alias for it.
I set up a couple - "down" and "reboot". |
|
Back to top |
|
|
|