[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

yppasswd



Dear Debian users!

Kindly ask for your help re. following problem (I am rather new in this buisness). Here at the college I want to set up a server -client system using nis. So far things work, but when it comes
to changing passwords for any user, say user  funny, as follows

funny@acer153:~$ yppasswd
Changing password for funny
(current) UNIX password:
passwd: Authentication service cannot retrieve authentication info.

The subsequent configuration seems to be all right -- Any help is appreciated, Alexander.


NIS - Server configuration:


linux:~# cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         files nis
group:          files nis
shadow:         files nis

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis



in the file "/etc/default/nis" I set "NISSERVER=master" and "NISCLIENT=false"

then "/etc/init.d/nis restart"

finally,
linux:~# ps -ef | grep yp
root     15916     1  0 11:05 ?        00:00:00 /usr/sbin/ypserv
root 15917 1 0 11:05 ? 00:00:00 /usr/sbin/rpc.yppasswdd -D /etc -e chsh
root     15921     1  0 11:05 ?        00:00:00 /usr/sbin/rpc.ypxfrd

so, everything seems to work here.


For the NIS -CLIENT:
funny@acer153:~$ cat /etc/yp.conf
ypserver linux.school.com

in /etc/passwd, /etc/group, /etc/shadow I added "+::::::", "+:::", and "+::::::::" respectively.

the file /etc/nsswitch is identical to that at the server .


Finally I checked
funny@acer153:~$ ypcat -h linux passwd
funny:x:1004:1004:funny3,,,:/home/funny3:/bin/bash

and
funny@acer153:~$ ps -ef | grep yp
root      2529     1  0 11:43 ?        00:00:00 /usr/sbin/ypbind
root      2530  2529  0 11:43 ?        00:00:00 /usr/sbin/ypbind
root      2531  2530  0 11:43 ?        00:00:00 /usr/sbin/ypbind
root      2532  2530  0 11:43 ?        00:00:00 /usr/sbin/ypbind


so, everthing seems to be working, user funny can log on the client but not change his password.
Please what did I do wrong?

_________________________________________________________________
Vælg selv hvordan du vil kommunikere - skrift, tale, video eller billeder med MSN Messenger: http://messenger.msn.dk/ - her kan du det hele



Reply to: