chill wrote: > I believe I can set up the user such that it is never prompted for a > password when 'sudoing'......
I hadn't spotted that I can limit the scope of the NOPASSWD option. So in fact it looks like I can edit /etc/sudoers to give my 'joggler' user 'NOPASSWD' access to just the Jivelite/Squeezelite-related scripts and commands, by referencing specific scripts.... joggler ALL=(ALL) NOPASSWD: /root/squeezelite/bin/j4j_squeezelite.sh ...or specific directories joggler ALL=(ALL) NOPASSWD: /root/jivelite/bin/ ...or a combination of both. Is this the best way to approach this? I'll have a user, who is not root, who is logged in automatically at boot, who is a member of the sudo group, but who can run only the Jivelite/Squeezelite stuff without a password. I'll give it a try this evening, with a view to posting a trial image for download. ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=110040 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
