[sudo-users] /etc/sudoers.d macOS 10.12.4

Adams, Steve SAdams2 at penguinrandomhouse.co.uk
Fri May 19 08:42:10 MDT 2017


Thanks Todd
Yes, the #includedir line is in the /etc/sudoers file
My sudoers file has only letters in the file name

I’m assuming the creation of the custom sudoers file gives instant access, I’ve tried rebooting 


On 19/05/2017, 15:34, "Todd C. Miller" <Todd.Miller at courtesan.com> wrote:

    The first thing to check is that /etc/sudoers has something
    like the following at the bottom:
    
    ## Read drop-in files from /private/etc/sudoers.d
    ## (the '#' here does not indicate a comment)
    #includedir /private/etc/sudoers.d
    
    That will parse extra sudoers format files in /etc/sudoers.d
    (which should already exist).
    
    Be aware that sudo will skip file names that end in `~' or contain
    a `.' character to avoid causing problems with package manager or
    editor temporary/backup files.
    
     - todd
    
    

This email may contain information which is confidential.  If you have received it in error, please notify the sender immediately and then delete it.  Please do not copy it, disclose its contents or use it for any purpose.


 


 

This email is sent on behalf of a company in the Penguin Random House UK group of companies, comprising The Random House Group Limited, a company registered in England and Wales with number 954009, registered office 20 Vauxhall Bridge Road, London SW1V 2SA,  Penguin Books Limited, a company registered in England and Wales with number 861590, registered office 80 Strand, London WC2R 0RL, Dorling Kindersley Limited, a company registered in England and Wales with number 1177822, registered office 80 Strand London WC2R 0RL and their respective subsidiary companies.


More information about the sudo-users mailing list