Find the answer to your Linux question:
Results 1 to 8 of 8
Trying to use sudo within 10.2. However, when I type sudo bash or something similar it asks for the root password instead of mine. Any ideas?...
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Posts
    3

    Sudo

    Trying to use sudo within 10.2. However, when I type sudo bash or something similar it asks for the root password instead of mine. Any ideas?

  2. #2
    Linux Engineer valemon's Avatar
    Join Date
    Oct 2006
    Location
    Volos
    Posts
    934
    sudo is the command to get superuser's privileges (root in linux, administrator in Windows). You had set up root's password during SuSE's installation.
    Linux is like a Teepee, No Windows, No Gates, Only Apache Inside!
    Arch Linux
    Linux user #442041

  3. #3
    Just Joined!
    Join Date
    Nov 2007
    Posts
    3
    yeah i did that i am trying to just run a command using sudo and it asks for roots password instead

  4. #4
    Linux Engineer valemon's Avatar
    Join Date
    Oct 2006
    Location
    Volos
    Posts
    934
    Quote Originally Posted by skinfrakki View Post
    yeah i did that i am trying to just run a command using sudo and it asks for roots password instead
    it should ask for root's password since with sudo command you are gaining root's privileges
    Linux is like a Teepee, No Windows, No Gates, Only Apache Inside!
    Arch Linux
    Linux user #442041

  5. #5
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    valemon,

    From the sudo man page:
    sudo requires that users authenticate themselves with a password by default (NOTE: in the default configuration this is the user's password, not the root password).
    skinfrakki,
    Did you customize /etc/sudoers yourself? What does it look like?

  6. #6
    Linux Engineer valemon's Avatar
    Join Date
    Oct 2006
    Location
    Volos
    Posts
    934
    My bad. Thank you Thrillhouse
    Linux is like a Teepee, No Windows, No Gates, Only Apache Inside!
    Arch Linux
    Linux user #442041

  7. #7
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Quote Originally Posted by skinfrakki View Post
    Trying to use sudo within 10.2. However, when I type sudo bash or something similar it asks for the root password instead of mine. Any ideas?
    Welcome to the forums!

    Here's a sudo HowTo that might help you get it setup properly and better understand how to use it:

    Sudo Howto - Waikato Linux Users Group
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  8. #8
    Just Joined!
    Join Date
    Nov 2007
    Posts
    3
    visudo -c

    /etc/sudoers file parsed OK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...