Networking Forums

Networking Forums > Computer Networking > Linux Networking > NIS: problems when changing passwords

Reply
Thread Tools Display Modes

NIS: problems when changing passwords

 
 
GuruJ
Guest
Posts: n/a

 
      07-02-2003, 01:31 AM
Good morning all,

I have had some problems with getting NIS working on a small testbed
server system, and finally had some success in resolving my problems
this morning.

Although these answers are probably obvious to any experienced *nix'er,
they might be of some assistance to other NIS newbies like me:

I'm running a Red Hat 9.0 server with ypserv, yppasswdd and ypbind.

The problems I was experiencing was that any attempt to change a user
password was met with:

[root@vlamp temp]# passwd tempuser
Changing password for user tempuser.
New password:
BAD PASSWORD: it is based on a dictionary word
Retype new password:
RPC: Can't encode arguments
The password has not been changed on vlamp.

or

[root@vlamp temp]# yppasswd tempuser
Changing NIS account information for tempuser on vlamp.
Please enter root password:
Changing NIS password for tempuser on vlamp.
Please enter new password:
Please retype new password:
Error while changing the NIS password.
The NIS password has not been changed on vlamp.

Eventually I got around this problem by ensuring that users are always
added with a default password:

# useradd -p password username

After this is done, yppasswd works successfully.

The other thing that tripped me up was not initialising the NIS database
*before* trying to use it:

# /usr/lib/yp/ypinit -m

Hope this is helpful to someone!

-- GuruJ.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Changing the Public IP Block used for squid dboltz Linux Networking 0 09-18-2007 10:14 PM
linux and ldap changing passwords? Mike Linux Networking 3 12-15-2006 11:29 AM
passwords mike Wireless Networks 0 10-10-2005 08:26 PM
Changing Administrator passwords in bulk on network =?Utf-8?B?RG91YmxlYWw=?= Windows Networking 1 03-08-2005 07:04 PM
passwords monster Broadband Hardware 1 05-25-2004 09:31 PM



1 2 3 4 5 6 7 8 9 10 11