Find the answer to your Linux question:
Results 1 to 6 of 6
Every time I enter a sudo command in terminal I always end up with the following error code Code: sysadmin is not in the sudoers file. This incident will be ...
  1. #1
    Just Joined! Joey_Redd's Avatar
    Join Date
    Apr 2008
    Location
    Currently Denmark, though I'm from Texas
    Posts
    8

    Need help with Terminal

    Every time I enter a sudo command in terminal I always end up with the following error code
    Code:
    sysadmin is not in the sudoers file.  This incident will be reported.

  2. #2
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Is sysadmin your user and the one you set up during installation? If not you will need to add yourself to the admin group. This will of course require you to use the original user you created during installation.

    If it is not your installation the error is because you shouldn't be using sudo/root commands.

  3. #3
    Just Joined! Joey_Redd's Avatar
    Join Date
    Apr 2008
    Location
    Currently Denmark, though I'm from Texas
    Posts
    8
    sysadmin is the user i set up during installation.

  4. #4
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Can you run the following command in a terminal for me please
    Code:
    groups $USER

  5. #5
    Just Joined! Joey_Redd's Avatar
    Join Date
    Apr 2008
    Location
    Currently Denmark, though I'm from Texas
    Posts
    8
    Code:
    sysadmin adm dialout fax cdrom floppy tape audio dip video plugdev netdev lpadmin powerdev scanner

  6. #6
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Right, you don't seem to be in the 'admin' group but you are listed as being in 'adm' which I understand is the same (or similar).

    You can add yourself to the group by booting into single mode and editing /etc/group - check out this link.

Posting Permissions

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