summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.8
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-06-05 06:13:09 +0000
committerwpaul <wpaul@FreeBSD.org>1996-06-05 06:13:09 +0000
commit7afc9125751fe95b84e1ec3acae1592259cf0126 (patch)
tree627428a37ccfcc7fae695e0dfa4875af3910fcd1 /usr.sbin/rpc.yppasswdd/rpc.yppasswdd.8
parent8bff27f555bec4f822274eae5ea7f7480cc44243 (diff)
downloadFreeBSD-src-7afc9125751fe95b84e1ec3acae1592259cf0126.zip
FreeBSD-src-7afc9125751fe95b84e1ec3acae1592259cf0126.tar.gz
Added support for in-place updates:
If rpc.yppasswdd is invoked with the -i flag, password changes will be made to the master.passwd template file and the hash map files in-place, which means it won't have to run a complete map update. Instead, it calls /var/yp/Makefile with the 'pushpw' target, which just pushes the maps to the slaves and runs yp_mkdb -c to tell the local ypserv to flush its database cache. The server will check the passwd.byname and passwd.byuid maps to see if they were built in 'insecure' or 'secure' mode (i.e. with real encrypted passwords in them or without) and update them accordingly. This combined with rpc.ypxfrd greatly reduces the amount of time it takes to complete an NIS password change, especially with very large passwd databases.
Diffstat (limited to 'usr.sbin/rpc.yppasswdd/rpc.yppasswdd.8')
-rw-r--r--usr.sbin/rpc.yppasswdd/rpc.yppasswdd.813
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.8 b/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.8
index c68743a..9002a7c 100644
--- a/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.8
+++ b/usr.sbin/rpc.yppasswdd/rpc.yppasswdd.8
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: rpc.yppasswdd.8,v 1.2 1996/02/24 22:10:38 wpaul Exp $
+.\" $Id: rpc.yppasswdd.8,v 1.6 1996/06/03 23:53:21 wpaul Exp $
.\"
.Dd February 8, 1996
.Dt RPC.YPPASSWDD 8
@@ -45,6 +45,7 @@
.Op Fl f
.Op Fl a
.Op Fl m
+.Op Fl i
.Op Fl v
.Op Fl u
.Op Fl h
@@ -233,6 +234,16 @@ duplicate or near-duplicate user entries in different domains. The server
will abort an update request if it finds more than one user entry that
matches its search criteria. Even so, paranoid administrators
may wish to leave multi-domain mode disabled.
+.It Fl i
+If
+.Nm rpc.yppasswdd
+is invoked with this flag, it will perform map updates in place. This
+means that instead of just modifying the password template file and
+starting a map update, the server will modify the map databases
+directly. This is useful when the password maps are large: if, for
+example, the password database has tens of thousands of entries, it
+can take several minutes for a map update to complete. Updating the
+maps in place reduces this time to a few seconds.
.It Fl v
Turn on verbose logging mode. The server normally only logs messages
using the
OpenPOWER on IntegriCloud