[sudo-users] Giving access to one app for all users
Paul Thompson
p_thompson at mac.com
Tue May 23 12:17:48 EDT 2006
On 22-May-06, at 8:58 AM, Micha wrote:
>
> I had a short look on a neighbours Mac OS X, and
> /etc actually is a symlink to the /private/etc/ directory.
> This is the path also mentioned in the sudo manpage.
> I'm very unfamiliar with this system, and there was very
> little time, i'm sorry i couldn't investigate it thoroughly.
> Anyway, i suggest Paul post the complete sudoers file
> here, (with all comments) to see the groups and if there
> could be more things involved.
>
> --
> Micha
Hi Micha,
Thank you for your suggestion. Here is my current complete
sudoers file. I have been trying to modifiy it so that na
application which asks for a local admin name and password will no
longer ask for it and just run.
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers
file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
Cmnd_Alias PRINTING = /Applications/PrintScrip.app
# Defaults specification
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
%admin ALL=(ALL) ALL
%users ALL= NOPASSWD: PRINTING
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
Is there anything I should post?
Thank you,
Paul
More information about the sudo-users
mailing list