*BSD News Article 93069


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!news.netspace.net.au!news.mira.net.au!pumpkin.pangea.ca!thor.atcon.com!eru.mt.luth.se!solace!mn6.swip.net!weld.news.pipex.net!pipex!burn.news.pipex.net!pipex!hose.news.pipex.net!pipex!rill.news.pipex.net!pipex!howland.erols.net!torn!kwon!watserv3.uwaterloo.ca!undergrad.math.uwaterloo.ca!abrodnik
From: abrodnik@daisy.uwaterloo.ca (Andrej Brodnik (Andy))
Subject: NIS under FreeBSD
Sender: news@undergrad.math.uwaterloo.ca (news spool owner)
Message-ID: <E88Iq5.6t1@undergrad.math.uwaterloo.ca>
Date: Sun, 6 Apr 1997 21:08:28 GMT
Nntp-Posting-Host: daisy.uwaterloo.ca
Organization: University of Waterloo
Lines: 36
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38684

Ok, this is my third attempt to post -- hopefully somebody will answer
it.-/

-----
This is making me crazy. What am I doing wrong?

Facts:

  On the server:
  --------------
  o user "noone" was created and password set; now the user can login
    on the server; User noone was put in the group "nogroup".
  o file "/etc/master.passwd" was copied to the
    "/var/yp/master.passwd" and make was run in this directory

  On the client:
  --------------

  o "ypwhich" returns the right machine as a NIS server;
  o "ypcat passwd" and "ypcat group" return correct maps (databases)
  o "ypmatch noone passwd" and "ypmatch nogroup group" return correct
    records in respective maps (databases)
  o I edited "master.passwd" by "/usr/sbin/vipw" to end up with a
    line: "+:*:0:0:::"; This resulted in producing "passwd" file
    ending with the same line.

However:

  o "login" does not allow me to login on the client as a user "noone"
    using password which is valid on the server
  o "su" does not let me change into user "noone" from the user
    "someone" even though both users are in the same group "nogroup".

What am I doing wrong? ANY (ALL) HELP IS GREATLY APPRECIATED!

LPA