I tried:

1. create 3 new users, called thinc001, thinc002 and thinc003 with their 
password and their home directory
(userid 600+, groupid 600)

2. mkdir /etc/yp

3. tail -n3 /etc/passwd > /etc/yp/passwd

4. tail -n3 /etc/shadow > /etc/yp/shadow

5. put shadow into passwd file so that the x is replaced with the 
shadows encrypted password

6. put into /etc/defaultdomain the name ThinClients
(same at lts.conf)

7. changed in /var/yp/Makefile
a. MINUID=600, MINGID=600
b. MERGE_PASSWD=false
c. MERGE_GROUP=false
d. YPPWDDIR = /etc/yp
e.  all: passwd group rpc services      # netid          

8. /usr/lib/yp/ypinit -m
(/var/yp/ThinClients is created with all its files)

9. start ypserv, ypbind

10 TEST:
ypcat passwd      
(no result)

ypmatch thinc passwd
Can't match key thinc in map passwd.byname.

same if I add -d ThinClients



My /etc/yp/passwd file looks like so:

 # cat /etc/yp/passwd
+thinc:yLxxxxxxxxxY:600:600:ThinClient000:/home/thinc:/bin/bash
+thinc001:kCxxxxxxxxx6:601:600:ThinClient001:/home/thinc001:/bin/bash
+thinc002:.aExxxxxxxxx:602:600:ThinClient002:/home/thinc002:/bin/bash
+thinc003:ETxxxxxxxxxx6:6030:600:ThinClient003:/home/thinc003:/bin/bash


What do I miss?

bye

Ronald




-- 

 
Ronald  Wiplinger, Technical Director
Bright Networking Inc, http://www.2bright.net
7F, 192-1, Sec. 3, Tatung Rd., Shijr City, Taipei, Taiwan, RoC
Tel.: +886 2 8647-1685, Mobile +886 915 653-452, Fax: +886 2 8647-2002





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.openprojects.net

Reply via email to