Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2003 19:05:40 -0700 (MST)
From:      "KURT BUFF" <kurtbuff@spro.net>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: can't figure out a problem with sudo - SOLVED
Message-ID:  <3768.66.14.88.176.1071799540.squirrel@webmail.spro.net>

next in thread | raw e-mail | index | archive | help
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








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3768.66.14.88.176.1071799540.squirrel>