home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!news.byu.edu!ux1!fcom.cc.utah.edu!leopard.east-slc.edu!efros
- From: efros@leopard.east-slc.edu (Alyosha Efros)
- Subject: Re: managing passwd on two systems
- Message-ID: <1992Dec16.032016.16200@fcom.cc.utah.edu>
- Sender: news@fcom.cc.utah.edu
- Organization: East High School, Utah
- X-Newsreader: TIN [version 1.1 PL7]
- References: <1992Dec5.235203.16155@fcom.cc.utah.edu>
- Date: Wed, 16 Dec 92 03:20:16 GMT
- Lines: 25
-
- Thanks to everyone who answered my original question. Most responces
- suggest that I should use NIS (Yellow Pages in my case) to get the job
- done. I installed YP on both machines one acting as a server, the other as
- a slave. Everything works fine if I don't touch the passwords. But here
- is my problem:
- First, I installed YP by copying /etc/passwd to /var/yp/src/passwd,
- making passwd on yp, and cleaning up /etc/passwd file from any user
- entries. Then I aliased passwd to yppasswd and everything was fine until
- my teacher decided to create a new account. It appeared that yppasswd
- ALWAYS asked for the old password even on the brand new account. So this
- didn't work...
- Second, somebody suggested to me to link /etc/passwd and
- /var/yp/scr/passwd. The hard link didn't work because they are on
- different devices so I did a soft link. But this doesn't work either
- because to set up an account one writes to /etc/passwd and to change a
- password with yppasswd one uses /var/yp/src/passwd... So, what do I do?
-
- Thanks in advance,
- -Alyosha
- ==========
- Alyosha (Alexei) Efros Jr. (12th grade!) efros@leopard.east-slc.edu
- System Manager & Computer Club President efros@peruvian.utah.edu
- East High School, Salt Lake City, Utah (801) 272-5948
- "Don't let school interfere with your education"
-
-