-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I'm trying to set things up so that user joe can restart the apache daemon. Here's the /usr/local/etc/sudoers file:
================================================== # 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
User_Alias WEBMIN=richard,brent,joe,mark
# Cmnd alias specification
Cmnd_Alias httpd=/space/usr/apache2.44/bin/apachectl
# Defaults specification
# Runas alias specification
# User privilege specification root ALL=(ALL) ALL
WEBMIN ALL=httpd
# 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 ==================================================
Unfortunately, whenever I try to exist visudo, I get an error message:
|>> sudoers file: syntax error, line 15 <<< |>> sudoers file: syntax error, line 24 <<<
I can't for the life of me figure out what the problem is, though. Can anyone give me a hand?
- -- Richard S. Crawford Programmer III UC Davis Extension Distance Education Group (http://unexdlc.ucdavis.edu) 2901 K Street, Suite 200C Sacramento, CA 95816 (916)327-7793
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCERdW748l/yH/c8YRAlbMAJ42wVD+hbzqdj45voWllD2Yu8DeywCgmpBj l/9Qn2GGItiwVifQqF1C+sc= =1wxR -----END PGP SIGNATURE----- _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
