Find the answer to your Linux question:
Results 1 to 3 of 3
I'm having trouble signing in using the sudo in the terminal. I enter in the line: sudo abc (username = abc) I get the line returned: [sudo] password for abc: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    30

    [SOLVED] can't sign in using sudo in debian terminal


    I'm having trouble signing in using the sudo in the terminal.

    I enter in the line: sudo abc (username = abc)

    I get the line returned: [sudo] password for abc:

    If I enter my normal login pw i get the message:

    abc is not in the sudoers file. This incident will be reported.

    If I enter the root pw I get the message: Sorry, try again.

    I've just set up the debian OS and am trying to learn the linux way but it's a bit frustrating. so when I set up the system originally It had me make two passwords one for root and one for my user acct. So how do I get the sudo terminal to work?

    Thanks for the help!

    Ron

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello and welcome to the forums!

    Unless I'm mistaken, Debian doesn't come with sudo by default, so if you want to use sudo you will need to install it if you haven't done so already.

    Otherwise, you shouldn't need to use the sudo command to login to your regular account. Just enter the regular username to login along with your user password, then you can switch to root user from the regular account using the su command:

    Code:
    su
    or

    Code:
    su -
    ...then enter the root password when it's requested.

    If you want to install and setup sudo, check this HowTo for the steps to configure it:

    Sudo Howto - Waikato Linux Users Group
    oz

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    30
    Ok thanks this worked. I got in with the su.

    I'll get into the sudo link you gave me too but a little later.

    Thanks for the help.

    Ron

  4. $spacer_open
    $spacer_close

Posting Permissions

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