Results 1 to 4 of 4

Thread: /etc/sudoers is mode 0755, should be 0440

  1. #1
    Join Date
    Jun 2008
    Location
    South India
    Beans
    23
    Distro
    Ubuntu 8.04 Hardy Heron

    /etc/sudoers is mode 0755, should be 0440

    /etc/sudoers is mode 0755, should be 0440

    This is what I get when I enter any command.I tried hitting su
    I was asked for a password but when I hit it,it resulted in this message
    "su: Authentication failure".I know my crime,I wanted to meddle and play with sudoers file under root.Is there any solution for fixing this problem ? because I can't perform any administrative tasks due to this the same message is displayed when I hit any command.

    Thanks all.

  2. #2
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: /etc/sudoers is mode 0755, should be 0440

    If you want to modify sudoers, you should use "visudo", because that will prevent what happened to you. But anyway, to fix it, just boot into recovery mode and "chmod 0440 /etc/sudoers". Or you could do it from a Live CD, but you would have to mount your Ubuntu from your HDD first.

  3. #3
    Join Date
    Jun 2008
    Location
    South India
    Beans
    23
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: /etc/sudoers is mode 0755, should be 0440

    Quote Originally Posted by caljohnsmith View Post
    If you want to modify sudoers, you should use "visudo", because that will prevent what happened to you. But anyway, to fix it, just boot into recovery mode and "chmod 0440 /etc/sudoers". Or you could do it from a Live CD, but you would have to mount your Ubuntu from your HDD first.
    Hey just forgot to thank you.Sorry budd.Thanks for help.

  4. #4
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: /etc/sudoers is mode 0755, should be 0440

    You're welcome. Better to receive a late thank you then not at all. Just glad you got your sudoers issue fixed.

Tags for this Thread

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
  •