Results 11 to 12 of 12
Originally Posted by drakebasher Originally Posted by IsaacKuo In order to ensure that every machine has the same userids, uid, gid, and passwords, you need to set up yp (yellow ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-27-2005 #11Originally Posted by drakebasher
Make sure you have the yp (maybe called ypbind) and ypserv packages installed. ypserv is only needed on the You only needed on the server, dont install that on the clients.
Choose a yp domain name for <your_yp_domainname> in the following. Dont make this the same as your IP domain name.
Edit /etc/yp.conf on every client machine you want to use it on (including the server), put:
domain <your_yp_domainname> server <servername>
On the server, edit /etc/ypserv.conf and add something like this:
# Host : Domain : Map : Security # 192.168.2. : <your_yp_domainname> : passwd.byname : port 192.168.2. : <your_yp_domainname> : passwd.byuid : port 192.168.2. : <your_yp_domainname> : passwd : port 192.168.2. : <your_yp_domainname> : group : port # Not everybody should see the shadow passwords, not secure, since # under MSDOG everbody is root and can access ports < 1024 !!! 192.168.2. : <your_yp_domainname> : shadow.byname : port 192.168.2. : <your_yp_domainname> : passwd.adjunct.byname : port
On the server go to /var/yp, and edit the Makefile, take out the maps you dont want to export in 'all' category, mine looks like this:
all: passwd group hosts rpc services netid protocols mail \ # netgrp shadow publickey networks ethers bootparams printcap \ # amd.home auto.master auto.home auto.local passwd.adjunct \ # timezone locale netmasks
Start the ypserv process with:
service ypserv start
service yppasswd start
Still on the server, start the yp client with:
service ypbind start
and test that it's all working with:
you should see the maps for groups and passwords.
Go to the client, and start up the ypbind service with:
service ypbind start
and test again. All should now be working. Use yppasswd on any machine to change a user password, and dont forget to add the various yp services to the runlevels of each machine.Linux user #126863 - see http://linuxcounter.net/
- 10-28-2005 #12
- Join Date
- Nov 2003
..and a follow up..
I can mount perfectly fine from my Kubuntu box, but i get error -5000 on my OSX computer, I've googled that error and it seems its a permissions/server error