Dear Super-Gurus,
The time has come again for me to consult with you for a solution, or
rather, an answer to a problem that I faced.
I needed to add a user to our NIS/YP domain. I logged into the master
server, and did the usual process of adding the user. Modifying the
/var/yp/src/passwd file, adding a user, then cd /var/yp and telling it to
make.
It made fine.
Then when I did a yppasswd, it gave me an RPC error.
Were I to telnet to the machine and try to log in as the new username, it
would close connection.
OK, so I then changed the username from the one I was trying, to another.
I didn't change anything else.
Example:
cd /var/yp/src
vi passwd
vartap::554:101::/users/hep/zhang:/bin/tcsh
Anyhow, I left the password blank to test it. I then did:
cd ..
make
It said it updated the databases fine.
# yppasswd vartap
Old NIS password:
New password:
Retype new password:
RPC: Server can't decode arguments
couldn't change passwd
login: vartap
Connection closed by foreign host.
Now I changed the loigin name from vartap to something else, and it all
worked fine.
Any clues as to why that particular login name would give such problems?
Thanks
Santosh Krishnan
*************************************************
* LINUX System Admin | Phone: (817)272-2815 *
*-----------------------------------------------*
* Center for High Energy Physics and Technology *
* The University of Texas at Arlington *
* Arlington, Texas 76019 *
*-----------------------------------------------*
* Fax: (817)272-2824 *
* supervisor_at_heplinux1.uta.edu *
*************************************************
Received on Mon Feb 08 1999 - 17:12:51 NZDT