Find the answer to your Linux question:
Results 1 to 3 of 3
what is the purpose in suduoers configuration file of the following entry ? root ALL = (ALL) ALL I thought root had all these rights regardless of sudo In order ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2014
    Location
    France, Grenoble
    Posts
    3

    purpose of line : root ALL = (ALL) ALL in sudoers


    what is the purpose in suduoers configuration file of the following entry ?
    root ALL = (ALL) ALL

    I thought root had all these rights regardless of sudo

    In order to prove this point I commented this entry with visudo
    and tried to modify the following file :

    -rw-r--r--. 1 test1 test1 14 Dec 4 11:58 test


    as the user axel : impossible as expected
    as axel -> su to root possible, I did not have su to user test

    Thanks
    Axel

  2. #2
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    1,654
    Yes, sudo does not give the root user any increased access but there is a logging feature of sudo that may be useful to some.

  3. #3
    Just Joined!
    Join Date
    Dec 2014
    Location
    France, Grenoble
    Posts
    3

    Red face

    Quote Originally Posted by gregm View Post
    Yes, sudo does not give the root user any increased access but there is a logging feature of sudo that may be useful to some.
    Ah
    Thank you very much
    This answers my question
    Axel

  4. $spacer_open
    $spacer_close

Posting Permissions

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