LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2018, 12:00 PM   #1
Hiroshi14
LQ Newbie
 
Registered: Oct 2018
Posts: 5

Rep: Reputation: Disabled
As root on NIS server using "# yppasswd uname" I cannot reset user's PW


Hi Ladies & Gents,
I am on my NIS server, try to reset a user's PW, it errors out with the following error message:

```[root@usnee1-lph001-x001 etc]# yppasswd i0386819
Changing NIS account information for i0386819 on usnee1-lph001-x001.
Please enter root password:
Changing NIS password for i0386819 on usnee1-lph001-x001.
Please enter new password:
Please retype new password:
Error while changing the NIS password.
`The NIS password has not been changed on usnee1-lph001-x001.`

[root@usnee1-lph001-x001 etc]#```

#NIS #NISerror #NISpw
 
Old 10-12-2018, 10:37 AM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Just a guess: The new password doesn’t comply with requirements such as length, numbers, case,etc.
 
1 members found this post helpful.
Old 10-21-2018, 08:54 PM   #3
Hiroshi14
LQ Newbie
 
Registered: Oct 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
@scasey, another SysAdmin fixed the problem. I have no idea what he did, but your guess is a good one. Too bad I didn't get a chance to try it out.

Thank you very much,
Hiroshi
 
Old 10-21-2018, 09:37 PM   #4
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,735

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
You are most welcome.
I ran into that problem when I upgraded to CentOS 7. I copied over the passwd file from my CentOS 5 server, and everything worked fine, but when I went to change a password, I couldn't. Turned out the new server had a minimum length requirement of 9, and I was trying to set a password that was only 8 characters. Like to drove me crazy...
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Alternative of "updatedb" on linux(Ubuntu) or Run "updatedb" without root user(with normal user) rutul.5085 Linux - Newbie 3 05-06-2016 04:08 AM
insmod hello.ko: -1 Invalid module format ("vermagic" and "uname -r" are the same!) courteous Linux - Kernel 8 02-16-2011 11:09 PM
[SOLVED] NIS: Server Related ->> yppasswd pix9 Linux - Software 7 02-17-2010 05:51 AM
Unable to reset root password / init: "x" respawning very fast gshenbag Linux - Enterprise 5 12-30-2009 02:19 AM
NIS client login "cannot find user name for user ID" danielbourne Linux - Networking 2 08-24-2006 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration