sudo error need help!!

Discussion in 'Command Line' started by twmcrazy, Jul 19, 2013.

  1. twmcrazy

    twmcrazy New Member

    Joined:
    Jul 19, 2013
    Messages:
    1
    Likes Received:
    2
    When I issued the command "sudo" the system said that my user and password was not the sudoer file. My terminal acts as if I would not be "administrator". Please I need help. I can't even use "rm" for anything!

     
    blackneos940 and DevynCJohnson like this.
  2. Rob

    Rob Administrator Staff Member

    Joined:
    Oct 27, 2011
    Messages:
    606
    Likes Received:
    271
  3. bashcommando

    bashcommando Active Member

    Joined:
    Jan 28, 2014
    Messages:
    223
    Likes Received:
    49
    Or
    Code:
    su - root
    <Type root password>
    adduser <Your username here> sudo
     
  4. jerz4lunch

    jerz4lunch Member

    Joined:
    Sep 11, 2014
    Messages:
    80
    Likes Received:
    39
    One thing to keep in mind, is that it's a good idea to run sudo -K after using the sudo command for anything. The -K switch forces you to enter your password again the next time you run sudo for anything.
     
  5. Din

    Din New Member

    Joined:
    Oct 1, 2015
    Messages:
    4
    Likes Received:
    0
    :mad: sudo - not like comand line
     
  6. dtse9

    dtse9 Member

    Joined:
    Jun 19, 2015
    Messages:
    80
    Likes Received:
    11
    you can use "$su root".(don't forget to run "#exit" after use).
    i don't suppost you to make you adminiroustrator.or your system can be control by others easily once you account password known by others
     
  7. blackneos940

    blackneos940 Active Member

    Joined:
    Sep 6, 2013
    Messages:
    846
    Likes Received:
    205
    Did you get it fixed.....? :3
     

Share This Page