On 17 Feb 2013, at 17:23, Scott van Looy <scott@xxxxxxxxxxx> wrote: > Hi, > > I have some odd issues with sudo, specifically trying to execute a command without being asked my password: > I've created a new file in /etc/sudoers.d/ called node > In that file is: > scott ALL=(root) NOPASSWD:NOEXEC: /usr/local/bin/forever > I was expecting I'd now be able to execute "forever" and I'd not be asked for a password. Is there something I've obviously done wrong? > > Last time I edited the sudoers file directly, but I noticed things have moved on since then but I can't find any examples of how. > > I notice there's an option "secure_path": adding /usr/local/bin to it doesn't seem to change anything though. I originally created the file in vi. I had made sure it was owned by root and had perms of 440, so I thought it'd be fine. In frustration I deleted it and recreated it in visudo and it worked. Weird. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org