From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078721912178.tru64-unix-managers.marc@archive.invalid> From: Digital CE Date: Tue, 29 Sep 1998 17:53:10 +0000 To: tru64-unix-managers Subject: SUMMARY: 'chfn' command on C2/NIS (fwd) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078721912178 Hi Follwing is the summary of answers to chfn on NIS. Thanx to Dr.Tom Blinn Regards Balaji ---------- Forwarded message ---------- Date: Tue, 29 Sep 98 11:35:02 -0400 From: "Dr. Tom Blinn, 603-884-0646" To: Digital CE Subject: Re: 'chfn' command on C2/NIS > Hi > > Has anybody tried running chfn command on an NIS passowrd driven > machines...It does not seem to recoganise any of the users. > > I am running it on the NIS slave and not on the master..Will that make any > difference ? > > Thanx and regards > Balaji > > EXAMPLE > ======== > > $ chfn digital > > Change finger: digital: unknown user While I am not absolutely sure of this, I believe chfn operates only on the /etc/passwd file, not on the NIS database. In fact, I'm not even sure that there is a place in the NIS database for the "finger" information. There is a special "yppasswd" utility for changing the password in the NIS database. I can find no evidence of a "ypchfn" that would change the "finger" data. So if you use chfn on a system other than the NIS master, and there is not any record in the local /etc/passwd file for that user, I suspect that the chfn will fail in exactly the manner you indicate -- from it's perspective the user is non-existent. I believe there is a way to put the user data in the local passwd file and still use NIS to serve the password data, but I'd have to go review the man page for the NIS and passwd stuff to confirm the syntax. Tom Dr. Thomas P. Blinn + UNIX Software Group + Compaq Computer Corporation 110 Spit Brook Road, MS ZKO3-2/U20 Nashua, New Hampshire 03062-2698 Technology Partnership Engineering Phone: (603) 884-0646 Internet: tpb@zk3.dec.com Digital's Easynet: alpha::tpb ACM Member: tpblinn@acm.org PC@Home: tom@felines.mv.net Worry kills more people than work because more people worry than work. Keep your stick on the ice. -- Steve Smith ("Red Green") My favorite palindrome is: Satan, oscillate my metallic sonatas. -- Phil Agre, pagre@ucsd.edu Yesterday it worked / Today it is not working / UNIX is like that -- apologies to Margaret Segall Opinions expressed herein are my own, and do not necessarily represent those of my employer or anyone else, living or dead, real or imagined.