Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: hamish@thebes.cc.waikato.ac.nz (Hamish Marson)
Subject: Easy Changing of NIS Passwords by ROOT
Date: 3 Mar 1994 21:08:20 GMT	[thread overview]
Message-ID: <2l5jk4$1a12@thebes.cc.waikato.ac.nz> (raw)

I have a group of ALpha OSF/1 machines here running NIS for sharing the 
passwd and group files, and need an easy way of having root change the 
users passwords when they forget them. There are over 5000 users in the
passwd file, so doing a makedbm on it takes a long time, so zeroing out
the passwd entry, doing a make, and then a yppasswd(1) to actuallly change
the entry takes too much time. Has anyone written or seen anything that
will let root change the yppasswd entry without knowing the old passwd?

Oh yeah. One more thing. I put passwd changing into CAP for yp domains,
but yppasswd(3) call only changes the passwd in the passwd file, not in
the current dbm map. Is there any way short of running ypxfr_1perday
from cron to force yppasswd(3) to change it in the current map as well?

--
======================================================================
|  Hamish Marson                                                     |
|  Systems Programmer              |                                 |
|  Computer Services               | INTERNET h.marson@waikato.ac.nz |
|  University of Waikato           | PHONE    +64 7 8562889 xt 8181  |
|  New Zealand                     | FAX      +64 7 8384066          |
===========Disclaimer :- Remember. You heard it here first.===========


             reply	other threads:[~1994-03-03 21:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-03-03 21:08 Hamish Marson [this message]
1994-03-09 20:56 ` Easy Changing of NIS Passwords by ROOT Clyde W. Hoover
1994-03-14  0:27   ` Hamish Marson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox