Date: Tue, 6 Oct 1998 09:03:24 -0700 (PDT) From: Dan Busarow <dan@dpcsys.com> To: Chris Shenton <chris@shenton.org> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: How to share accounts between mail/pop and web servers? Message-ID: <Pine.BSF.3.96.981006090002.16376A-100000@java.dpcsys.com> In-Reply-To: <87hfxiv0r9.fsf@absinthe.shenton.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5 Oct 1998, Chris Shenton wrote:
> I'm not keen on NIS, due to security concerns. In other situations,
> I've used "rsync" over "ssh" with host key authentication and it's
> worked well. I've never used it for /etc/passwd and I'm concerned
> about stuff like failed updates or partial updates leaving the send-to
> box with a corrupt /etc/passwd, preventing everyone (including root)
> access.
>
> What have you used that works well for you?
Try this in a script running on the receiving end. Copy
master.passwd to someplace other than /etc, say /root/pwd,
and then test before installing.
if [ -f master.passwd ]
then
if /usr/sbin/pwd_mkdb -c master.passwd
then
chmod 600 master.passwd
mv master.passwd /etc
/usr/sbin/pwd_mkdb -p /etc/master.passwd
fi
fi
Dan
--
Dan Busarow 949 443 4172
Dana Point Communications, a California corporation dan@dpcsys.com
Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" 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.3.96.981006090002.16376A-100000>
