Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2003 10:36:59 -0600
From:      Brett Glass <brett@lariat.org>
To:        questions@freebsd.org
Subject:   Best way to modify /etc/ppp/ppp.secrets on the fly?
Message-ID:  <4.3.2.7.2.20030927103435.02caf820@localhost>

next in thread | raw e-mail | index | archive | help
I need to write a program or script that modifies /etc/ppp/ppp.secrets on the fly to add, change, and remove passwords. One thing I do NOT want is for replacement of the file to interfere with a login that's occurring at the same time. What's the best way to slip a new version of the file in without messing up an instance of userland PPP that might check it at just the wrong moment?

--Brett Glass



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