*BSD News Article 87773


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newspump.sol.net!newsfeeds.sol.net!nntp.uio.no!sn.no!vgs.sn.no!zerium
From: zerium@pe049.persbraten.vgs.no (Hans Petter Bieke)
Newsgroups: comp.unix.bsd.misc
Subject: Re: How to share password files?
Date: 29 Jan 1997 18:49:00 GMT
Organization: VGS
Lines: 33
Message-ID: <slrn5ev6ss.7p.zerium@pe001.persbraten.vgs.no>
References: <slrn5epdvm.8r.zerium@pe001.persbraten.vgs.no> <5cktbv$hdv@innocence.interface-business.de>
NNTP-Posting-Host: pe001.persbraten.vgs.no
X-Newsreader: slrn (0.9.2.0 BETA UNIX)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:2111

On 28 Jan 1997 13:01:51 GMT, J Wunsch <j@ida.interface-business.de> wrote:
>NIS.  As ugly as it might be, it's certainly better than sharing /etc.

Okay. I did set up NIS/yp, but chpass doesn't update my passwd files
anymore:

[zerium@pe001 ~]$ chpass 
[... $EDITOR execs ...]
chpass: zerium: not found in /etc/master.passwd -- permission denied
chpass: /etc/master.passwd: unchanged

And yeah, that's true.
[root@pe049 /etc]# cat master.passwd 
+:*:0:0:::
[root@pe049 /etc]# cat passwd 
+:*:0:0:::
[root@pe049 /etc]# cat group  
+:*:0:

However ypcat passwd works, ypcat master.passwd.byname ++ works (but not
ypcat master.passwd.)

I have master.passwd in /var/yp/nis-domain/ (just a copy of
/etc/master.passwd).

Does anybod know what's wrong?

(Same prob with passwd)

-- 
 Linux; 64bit, multi-platform, multi-tasking, multi-user, fast and Free.
Microsoft Windows 95 - From the makers of EDLIN and FAT drive formatting!
"Who needs horror movies when we have Microsoft"?