From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,949810b5859ed72a,start X-Google-Attributes: gidf678f,public X-Google-Thread: 11035d,949810b5859ed72a,start X-Google-Attributes: gid11035d,public X-Google-Thread: fee84,949810b5859ed72a,start X-Google-Attributes: gidfee84,public X-Google-Thread: 115614,949810b5859ed72a,start X-Google-Attributes: gid115614,public X-Google-ArrivalTime: 1994-03-03 13:08:20 PST Xref: gmd.de comp.unix.solaris:14705 comp.unix.aix:27788 comp.unix.osf.osf1:2500 comp.unix.osf.misc:1064 Path: gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!wupost!waikato!thebes.cc.waikato.ac.nz!hamish From: hamish@thebes.cc.waikato.ac.nz (Hamish Marson) Newsgroups: comp.unix.solaris,comp.unix.aix,comp.unix.osf.osf1,comp.unix.osf.misc Subject: Easy Changing of NIS Passwords by ROOT Date: 3 Mar 1994 21:08:20 GMT Organization: The University of Waikato Distribution: inet Message-ID: <2l5jk4$1a12@thebes.cc.waikato.ac.nz> Reply-To: hamish@waikato.ac.nz NNTP-Posting-Host: thebes.cc.waikato.ac.nz X-Newsreader: TIN [version 1.2 PL1] 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.===========