From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5884ec8a2bf93691 X-Google-Attributes: gidfee84,public From: iglesias@draco.acs.uci.edu (Mike Iglesias) Subject: Re: Yppasswd As Root Illogical Captain. Date: 1995/07/20 Message-ID: <3ume79$6af@news.service.uci.edu>#1/1 X-Deja-AN: 106587469 references: <806153650.6742@sps.siemens.co.uk> <3ujhrj$pbp@news.service.uci.edu> <3umbg6$grn@amhux3.amherst.edu> organization: University of California, Irvine newsgroups: comp.unix.osf.osf1 In article <3umbg6$grn@amhux3.amherst.edu>, PAUL D. CHAPIN wrote: >Given that I have to change upwards of ten passwords a week of users >who have forgotten theirs, this approach is not acceptable. If >there's no easy work around, NIS is dead on this campus. Personally, >I'm not going to bring a system into the NIS happy family unless I >trust the root. Since I'm root on every system here, that's not a real >issue. You could /etc/passwd on the NIS master the "master" file for the passwd maps. Then you can use passwd to change passwords, followed by remaking the maps. This solution does prevent you from restricting access to the NIS master though. If the above solution is not acceptable, your other choice would be to write a perl or C program to muck with the file you're building the maps from. The perl book has a passwd program in it, and the source is available from ftp://ftp.ora.com/pub/examples/nutshell/programming_perl/perl.tar.Z Note that this passwd program won't let you use dictionary words, two word combinations, etc as passwords. -- Mike Iglesias Internet: iglesias@draco.acs.uci.edu University of California, Irvine phone: (714) 824-6926 Office of Academic Computing FAX: (714) 824-2069