Date: Tue, 14 Mar 2000 11:27:34 -0600 (CST) From: Visigoth <visigoth@telemere.net> To: freebsd-current@freebsd.org Subject: Also... /etc/periodic/daily/200.backup-passwd and MD5 (fwd) Message-ID: <Pine.BSF.4.21.0003141125220.50280-200000@www.telemere.net>
next in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--0-1574324419-952551298=:16144
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.BSF.4.21.0003141125222.50280@www.telemere.net>
Did anybody get a chance to look at this and decide that it wasn't
the case or was? I was suprised because I didn't hear _anything_ and am
wondering if I was doing something wrong...
Resubmiting...
Dameion Stark
Date: Wed, 8 Mar 2000 15:34:58 -0600 (CST)
From: Visigoth <visigoth@telemere.net>
To: freebsd-current@freebsd.org
Subject: /etc/periodic/daily/200.backup-passwd and MD5
All flames welcome as a learning experience.... ;-)
I am currently running a -current on a group of machines where I
work. I decided to use the MD5 libscrypt passwords, and noticed something
strange in the daily output e-mail. When the MD5 passwords are used the
daily output e-mail fails to truncate the encrypted passwd from the
/etc/master.passwd file before e-mailing out the diffs. This is the case
even on a machine which was built today. I haven't seen any info on
-current about it so I thought I would bring it up.
I also wrote and attached small patch to take care of the issue in
the short term. all it does is change:
diff $bak/master.passwd.bak /etc/master.passwd |\
sed 's/^\([<>] [^:]*\):[^:]*:/\1:(password):/'
to:
diff $bak/master.passwd.bak /etc/master.passwd |\
sed 's/^\([^:]*\):[^:]*:/\1:(password):/'
My logic could be messed up, so if there are any issues that I
overlooked in the patch I would love to hear about them. I thought it
might be a good thing to take care of quick before -RELEASE (yea!)
Thanks all...
Damieon Stark
visigoth@telemere.net
--0-1574324419-952551298=:16144
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="200.backup-passwd.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.BSF.4.21.0003081534580.16144@www.telemere.net>
Content-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YWsgJGJhay9tYXN0ZXIucGFzc3dkLmJh
azINCiAgCWNwIC1wIC9ldGMvbWFzdGVyLnBhc3N3ZCAkYmFrL21hc3Rlci5w
YXNzd2QuYmFrDQogICAgICBmaQ0K
--0-1574324419-952551298=:16144--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003141125220.50280-200000>
