NIS maps

Ilker OZUPAK ilker.ozupak at emu.edu.tr
Fri Jul 23 06:34:03 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

i am trying to create a NIS domain contatining a master and 5 clients.
I did init. part acording to handbook and had no problem. (just server)
my master server is binding to itself (running: ypbind -S domain,server)

but when adding users -- still fallowing the HB -- i end up with local
users on the master server, but this users are not getting into NIS maps. 

Fallowing HB section 23.4.8:
pascal# pwd
/var/yp
pascal# pw user add tester
pascal# make abacus
`abacus' is up to date.
 
Using adduser gives the same result.
After some trial and err. i found the following way working.

pascal# cd /var/yp
pascal# pw user add newuser -V /var/yp/ -n newuser2 \
- -u 2000 -c "new user" -d /home/newuser -g 1001 \
- -m -s /bin/tcsh -N >> master.passwd
pascal# make 
- -- makes update and everything seems working fine.
It needed a symlink to be created in /var/yp to /etc/group
or a copy of group file.

so here are the questions:

1 - is there any configration undocumented for this that i should do.
for the HB's instructions to work..
2 - woul the way i crete accounts create problems for me ??
***	i think i should manually delete them from /var/yp/master.passwd and 
update NIS maps


- --
IO
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBAROZvxSBSqT0G9ARAjoUAKCCTy4NtlsGazUny4ILbRQediP/VgCg9r1W
qxPOwaqhHz2aQOE0y2BC478=
=LPuJ
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list