[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sendmail/mailwrapper changes mod
on 16/3/02, at the evil hour of 4:04 PM -0600, David Krause wrote:
>* Liam <allenwc@shaw.ca> [020316 15:37]:
>> system is 3.0 -stable
>>
>> does anyone have any idea why mailwrapper would change its mod from
>> one day to the next?
>>
>> Thursday all was well, Friday I started getting sendmail errors
>>
>> Sendmail[allenwc] insufficient privileges to change UID.
>> I checked and mailwrapper had become -r-xr-xr-x ?
>
>That's what it's supposed to be. My guess is that something else is
>fubared. Run this and see if mtree fixes anything:
>cd /usr/src/etc && make DESTDIR=/ distrib-dirs
11$ sudo make DESTDIR=/ distrib-dirs | tee /home/allenwc/dist.log
install -d -o root -g wheel -m 755 /
mtree -qdef mtree/4.4BSD.dist -p // -u
mtree: unknown user smmsp
mtree: failed at line 2025 of the specification
*** Error code 1 (ignored)
if [ ! -d //usr/src ]; then install -d -o root -g wsrc -m 775 //usr/src; fi
cd //; rm -f sys; ln -s usr/src/sys sys
12$
>ender:david {116} ls -al `which mailwrapper`
>-r-xr-xr-x 1 root bin 12288 Dec 29 04:52
>/usr/sbin/mailwrapper
Oh. My tattered SENDMAIL book says -r-sr-sr-x.
My mistake.
--
William C. Allen, BLS, EET
allenwc@infomatrix.ca
www.infomatrix.ca