changing passwd on NIS server updates /etc/shadow only and not shadow.byname map

changing passwd on NIS server updates /etc/shadow only and not shadow.byname map

Post by g caravagg » Thu, 29 Jul 2004 05:50:04



Platform: Suse Linux Professional 9.1

Changing a passwd on an NIS client using the passwd command works
fine.  The /etc/shadow and shadow.byname map gets updated on the NIS
server machine.

However, changing a passwd on the NIS server using the passwd command
only updates the /etc/shadow file.  The shadow.byname map does not get
updated.  The only way I can think of to fix this is to set up a cron
job to periodically run
make -C /var/yp

I am using Thorsten Kukuk's pam_unix2.so module which is suppose to be
 "clever" enough to find out whether the account it's dealing with is
local or NIS but it does not appear to work.

Any idea what's wrong?

 
 
 

1. passwd command does not update shadow.byname NIS map

Platform: Suse 9.1 Professional

I set up the NIS server using the yast interface.

Apparently, yppasswd is no longer needed to change NIS passwords and
the tool is no longer maintained.  The passwd command is suppose to be
used but it does not appear to be updating the shadow.byname NIS map.

I also get the error "Password will be truncated to 8 characters" when
using the passwd command even though I am using MD5 encryption.  I
don't know if this is related to the NIS problem.

I edited the ypserve.conf file to allow shadow.byname and
passwd.adjunct.byname.

Do I need to make any edits to the pam module configuration files?

Any help would be greatly appreciated
Thanks
Gino

2. Best Linux C++/C Development Tools?

3. Convert NIS passwd back to standard /etc/passwd & /etc/shadow

4. Was: No buffer space available

5. Changing from /etc/passwd -> /etc/shadow

6. Xfree and xvidtune

7. CDE vs. /etc/passwd, /etc/shadow and /etc/group

8. MODULE_LICENSE and EXPORT_SYMBOL_GPL

9. Central admin. (/etc/passwd/group/shadow) without NIS

10. Proper update of passwd/shadow with NIS

11. Q: Propagating /etc/shadow to NIS+ passwd table

12. NIS, shadow.byname, md5, RH7.1

13. NIS: login seems to ignore shadow.byname