From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079042215764.tru64-unix-managers.marc@archive.invalid> From: LARRY.CLEGG () LPL ! COM Date: Mon, 17 May 1999 17:57:00 +0000 To: tru64-unix-managers Subject: Summary: Problems with sudo X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079042215764 Greetings and Thanks to everyone for the great replies. I found I had two problems. I did not have the permissions set correctly on the 'sudo' image. They should be: -rwsr-x--x 1 root system 71747 May 7 10:52 /usr/bin/sudo and my sudoers file now looks like this: sybase ALL=(root) NOPASSWD: /usr/sbin/chdev, NOPASSWD: /usr/samples/kernel/vmtune (That's all on one line but it wrapped in email.) If I don't have that second 'NOPASSWD:' entry then my second command still requires a password whereas my first one does not. Thanks again, Larry ____________________Reply Separator____________________ Subject: Problems with sudo Author: LARRY.CLEGG@LPL.COM Date: 5/17/99 7:54 AM Greetings, I'm trying to setup SUDO for the first time and I'm having some problems letting the sudoers file setup correctly. I'm running DUNIX V4.0D with CU Sudo version 1.5.8. I'm trying to grant a single user the rights to execute two commands on the local node without having to type in any password. I've tried various combinations of things in the sudoers file but I get either a syntax error and rejected by 'visudo' or I get this: Sorry, sudo must be setuid root. Can't figure out what's wrong. Any help or examples would be appreciated. Thanx, Larry Clegg LPL Financial Services San Diego, CA