Results 1 to 4 of 4

Thread: [SOLVED] sudoers - no access - help!

  1. #1
    Join Date
    Jul 2008
    Beans
    3

    [SOLVED] sudoers - no access - help!

    I am having real trouble editing my /etc/sudoers file. As a newbie, I read man pages, sudo help, visudo, and so forth. But I still am not allowed access to the sodoers file. The system immediately generates a .tmp file of sudoers. Can anyone help or explain?
    Last edited by prof2019; July 7th, 2008 at 05:14 PM. Reason: Title

  2. #2
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Cannot access sudoers file with visudo or otherwise

    Quote Originally Posted by prof2019 View Post
    I am having real trouble editing my /etc/sudoers file. As a newbie, I read man pages, sudo help, visudo, and so forth. But I still am not allowed access to the sodoers file. The system immediately generates a .tmp file of sudoers. Can anyone help or explain?
    If you want to view it do this:

    Code:
    sudo cat /etc/sudoers
    What exactualy are you trying to do. To edit type this:

    Code:
    gksu gedit /etc/sudoers

  3. #3
    Join Date
    Jul 2008
    Beans
    3

    Re: Cannot access sudoers file with visudo or otherwise

    Thanks, I can edit it with gksu but its a read only and I cant save it. I/m trying to alter my passwd req's.

  4. #4
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: sudoers - no access - help!

    try:
    Code:
    export EDITOR=nano
    sudo -E visudo
    Ctrl+o, Enter = save
    Ctrl+x = exit
    Read this:https://help.ubuntu.com/community/Sudoers
    If you have any questions,feel free to ask.
    Last edited by sisco311; July 7th, 2008 at 06:14 PM.

Bookmarks

Posting Permissions

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