Find the answer to your Linux question:
Results 1 to 7 of 7
when i run sudo and enter the right file a message say that my username is not in the sudoers file and that incident will be reported. Can anyone post ...
  1. #1
    Just Joined! tuxv's Avatar
    Join Date
    Jul 2006
    Location
    Colombo, Sri Lanka
    Posts
    92

    sudo

    when i run sudo and enter the right file a message say that my username is not in the sudoers file and that incident will be reported. Can anyone post a solution Thank you.

  2. #2
    Linux User muha's Avatar
    Join Date
    Jan 2006
    Posts
    290
    Which command are you trying exactly?
    Are you trying this on your local server? Or a remote one you cannot become root on?
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ http://www.linuxcommand.org/ ~>

  3. #3
    Linux Newbie eerok's Avatar
    Join Date
    Feb 2005
    Location
    Canada
    Posts
    153
    You have to set up sudo for it to work. Check the man page.

    Basically you have to edit a special file, etc/sudoers using the command

    Code:
    # visudo
    This is what my etc/sudoers looks like

    Code:
    ...
    
    # User alias specification
    User_Alias	OWNER = username
    
    # Cmnd alias specification
    
    # User privilege specification
    root	ALL=(ALL) ALL
    OWNER	ALL=NOPASSWD: ALL
    Replace "username" with your username.

    This may or may not be what you want to do; you have to read the man page to decide. My config gives the user full priveleges with no pw.
    noobus in perpetuum

  4. #4
    Just Joined! tuxv's Avatar
    Join Date
    Jul 2006
    Location
    Colombo, Sri Lanka
    Posts
    92
    Thank you. I'll try that

  5. #5
    Linux Enthusiast flipjargendy's Avatar
    Join Date
    Aug 2004
    Location
    Xanadu, Titan, Saturn
    Posts
    610
    How do you edit it if you don't have root access? i am having the same problem as tuxv.
    Running Linux Since 2001®
    Registered Linux User #430868 - Since 9•12•06

  6. #6
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Using su before, If you can use su is probably because you are not in the "wheel" group
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  7. #7
    Linux Enthusiast flipjargendy's Avatar
    Join Date
    Aug 2004
    Location
    Xanadu, Titan, Saturn
    Posts
    610
    su worked. i don't have access to the internet via hardwireing though. Updating Debian is oging to be a wait. For now i use Knoppix.
    Running Linux Since 2001®
    Registered Linux User #430868 - Since 9•12•06

Posting Permissions

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