From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 18:04:51 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DF1116A4CE for ; Thu, 18 Dec 2003 18:04:51 -0800 (PST) Received: from best.spro.net (smtpout1a.spro.net [204.228.238.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D53343D31 for ; Thu, 18 Dec 2003 18:04:50 -0800 (PST) (envelope-from kurtbuff@spro.net) Received: from best.spro.net ([198.60.253.182]) by best.spro.net (Netscape Messaging Server 4.15) with SMTP id HQ4DS100.44D for ; Thu, 18 Dec 2003 19:04:49 -0700 Received: from spro.net (norland.spro.net [198.60.253.65]) by best.spro.net with SMTP (MailShield v1.5); Thu, 18 Dec 2003 19:04:49 -0700 Received: from 66.14.88.176 (SquirrelMail authenticated user kurtbuff) by webmail.spro.net with HTTP; Thu, 18 Dec 2003 19:05:40 -0700 (MST) Message-ID: <3768.66.14.88.176.1071799540.squirrel@webmail.spro.net> Date: Thu, 18 Dec 2003 19:05:40 -0700 (MST) From: "KURT BUFF" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SMTP-HELO: spro.net X-SMTP-MAIL-FROM: kurtbuff@spro.net X-SMTP-PEER-INFO: norland.spro.net [198.60.253.65] Subject: RE: can't figure out a problem with sudo - SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2003 02:04:51 -0000 Lowell, Well, as I'm sure you (and anyone else who's been working with it) know, sudo is a picky little beast. This was my first attempt at setting it up. After banging my head against this for a while longer this morning, I changed my sudoers file with the following: Old: | > # Cmnd alias specification | > Cmnd_Alias RELOAD = /usr/local/sbin/postfix reload | > Cmnd_Alias MAP = /usr/local/sbin/postmap | /usr/local/etc/postfix/relay_recipients | > Cmnd_Alias RECIPS = /usr/local/etc/postfix/relay_recipients | > Cmnd_Alias DB = /usr/local/etc/etc/postfix/relay_recipients.db | > Cmnd_Alias COPYRELAY = /bin/cp /usr/local/etc/postfix New: # Cmnd alias specification Cmnd_Alias RELOAD = /usr/local/sbin/postfix reload Cmnd_Alias MAP = /usr/local/sbin/postmap /usr/local/etc/postfix/relay_recipien ts Cmnd_Alias RECIPS = /usr/local/etc/postfix/relay_recipients Cmnd_Alias DB = /usr/local/etc/etc/postfix/relay_recipients.db Cmnd_Alias COPYRELAY = /bin/cp /home/filter/pfm/relay_recipients /usr/local/et c/postfix/relay_recipients It now works as I wanted. Sigh. Learning is hard, but rewarding. Kurt