Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #2126 > unrolled thread
| Started by | santiago.raffa@gmail.com |
|---|---|
| First post | 2013-05-16 14:46 -0700 |
| Last post | 2021-02-25 03:32 +0100 |
| Articles | 6 — 6 participants |
Back to article view | Back to comp.os.linux.networking
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: yppasswd problem - Error while changing the NIS password santiago.raffa@gmail.com - 2013-05-16 14:46 -0700
Re: yppasswd problem - Error while changing the NIS password davidramirezmolina@gmail.com - 2013-12-11 11:30 -0800
Re: yppasswd problem - Error while changing the NIS password Mateusz Bieniek <bieniekmat@gmail.com> - 2021-02-15 08:52 -0800
Re: yppasswd problem - Error while changing the NIS password "Carlos E.R." <robin_listas@es.invalid> - 2021-02-15 22:01 +0100
Re: yppasswd problem - Error while changing the NIS password Johann Beretta <beretta@nun-ya-bizness.com> - 2021-02-24 17:57 -0800
Re: yppasswd problem - Error while changing the NIS password Aragorn <thorongil@telenet.be> - 2021-02-25 03:32 +0100
| From | santiago.raffa@gmail.com |
|---|---|
| Date | 2013-05-16 14:46 -0700 |
| Subject | Re: yppasswd problem - Error while changing the NIS password |
| Message-ID | <2453edc7-daa5-4c67-92e7-86f04eca8333@googlegroups.com> |
On Friday, February 8, 2002 3:35:07 PM UTC-3, Jeffery Smith wrote: > I know others have had this problem, but I can't find a solution > anywhere. When I try to change my password using 'yppassd' I get the > following error: > ----------------------------------------------------- > [smith@garfield smith]$ yppasswd > Changing NIS account information for smith on zeus. > Please enter old password: > Changing NIS password for smith on zeus. > Please enter new password: > Please retype new password: > Error while changing the NIS password. > The NIS password has not been changed on zeus. > ----------------------------------------------------- > > In this senario: > garfield = NIS Client (my workstation) > zeus = NIS Server > > I have tried stoping 'ypserv' and then running it on a console with > 'ypserv -d' to see the messages, but I don't see anything helpful at > all. This appears to be partially working because it successfully > reads and checks my old password. > > I checked rpcinfo and it looks fine to me: > ----------------------------------------------------- > [root@zeus yp]# rpcinfo -p | grep yp > 100007 2 udp 632 ypbind > 100007 1 udp 632 ypbind > 100007 2 tcp 635 ypbind > 100007 1 tcp 635 ypbind > 100004 2 udp 944 ypserv > 100004 1 udp 944 ypserv > 100004 2 tcp 947 ypserv > 100004 1 tcp 947 ypserv > 100009 1 udp 699 yppasswdd > ----------------------------------------------------- > I can 'ypcat' my password file with no trouble. In fact, all my NIS > maps are working fine. I just can't change any passwords. > > It may be interesting to note that on the NIS server (zeus) I can't > use the 'passwd' command either. > ----------------------------------------------------- > [root@zeus yp]# passwd smith > Changing password for user smith > New password: > Retype new password: > RPC: Can't encode arguments > The password has not been changed on zeus. > passwd: Failed preliminary check by password service > ----------------------------------------------------- > It looks to me like this has something to do with RPC, but I really am > clueless. > > All help is greatly appreciated! > > Jeffery Smith > smith@skycomputers.com Some years later.. How I get to change the user password with yppasswd for username as root; 1. Edit the /etc/yp/shadow and remove the password field of the user. 2. Save and close. 3. Run yppasswd username again. Example: If I were to change the password of henryk, I would do as follows; 1. Change the entry for the user at /etc/yp/shadow henryk:dsdkljHjshd3KsaEd:51265:::::: to henryk::51265:::::: 2. Save and close. 3. Run yppasswd henryk > Changing NIS account information for henryk on myserver. > Please enter root password: > Changing NIS password for henryk on myserver. > Please enter new password: > Please retype new password: > > The NIS password has been changed on myserver. Hope this helps someone out there.
[toc] | [next] | [standalone]
| From | davidramirezmolina@gmail.com |
|---|---|
| Date | 2013-12-11 11:30 -0800 |
| Message-ID | <3149f99f-2b10-43b7-9c80-fef6fc343aa6@googlegroups.com> |
| In reply to | #2126 |
On Thursday, May 16, 2013 4:46:00 PM UTC-5, santiag...@gmail.com wrote: > On Friday, February 8, 2002 3:35:07 PM UTC-3, Jeffery Smith wrote: > > > I know others have had this problem, but I can't find a solution > > > anywhere. When I try to change my password using 'yppassd' I get the > > > following error: > > > ----------------------------------------------------- > > > [smith@garfield smith]$ yppasswd > > > Changing NIS account information for smith on zeus. > > > Please enter old password: > > > Changing NIS password for smith on zeus. > > > Please enter new password: > > > Please retype new password: > > > Error while changing the NIS password. > > > The NIS password has not been changed on zeus. > > > ----------------------------------------------------- > > > > > > In this senario: > > > garfield = NIS Client (my workstation) > > > zeus = NIS Server > > > > > > I have tried stoping 'ypserv' and then running it on a console with > > > 'ypserv -d' to see the messages, but I don't see anything helpful at > > > all. This appears to be partially working because it successfully > > > reads and checks my old password. > > > > > > I checked rpcinfo and it looks fine to me: > > > ----------------------------------------------------- > > > [root@zeus yp]# rpcinfo -p | grep yp > > > 100007 2 udp 632 ypbind > > > 100007 1 udp 632 ypbind > > > 100007 2 tcp 635 ypbind > > > 100007 1 tcp 635 ypbind > > > 100004 2 udp 944 ypserv > > > 100004 1 udp 944 ypserv > > > 100004 2 tcp 947 ypserv > > > 100004 1 tcp 947 ypserv > > > 100009 1 udp 699 yppasswdd > > > ----------------------------------------------------- > > > I can 'ypcat' my password file with no trouble. In fact, all my NIS > > > maps are working fine. I just can't change any passwords. > > > > > > It may be interesting to note that on the NIS server (zeus) I can't > > > use the 'passwd' command either. > > > ----------------------------------------------------- > > > [root@zeus yp]# passwd smith > > > Changing password for user smith > > > New password: > > > Retype new password: > > > RPC: Can't encode arguments > > > The password has not been changed on zeus. > > > passwd: Failed preliminary check by password service > > > ----------------------------------------------------- > > > It looks to me like this has something to do with RPC, but I really am > > > clueless. > > > > > > All help is greatly appreciated! > > > > > > Jeffery Smith > > > smith@skycomputers.com > > > > Some years later.. > > > > How I get to change the user password with yppasswd for username as root; > > > > 1. Edit the /etc/yp/shadow and remove the password field of the user. > > 2. Save and close. > > 3. Run yppasswd username again. > > > > > > Example: > > > > If I were to change the password of henryk, I would do as follows; > > > > 1. Change the entry for the user at /etc/yp/shadow > > henryk:dsdkljHjshd3KsaEd:51265:::::: > > to > > henryk::51265:::::: > > > > 2. Save and close. > > 3. Run yppasswd henryk > > > > > Changing NIS account information for henryk on myserver. > > > Please enter root password: > > > Changing NIS password for henryk on myserver. > > > Please enter new password: > > > Please retype new password: > > > > > > The NIS password has been changed on myserver. > > > > Hope this helps someone out there. As this fails silently (no traces on /var/log/messages, /var/log/scure) of what went wrong, I resulted here... In my particular case, the user to have its password changed had it actually disabled inside /etc/shadow such as: johndoe:!!:16050:0:120:7::17896: So as per santiag's hint I edited the shadow file (vipw -s) and removed the !! signs... then yppasswd worked as needed. Just my 1 cent here...
[toc] | [prev] | [next] | [standalone]
| From | Mateusz Bieniek <bieniekmat@gmail.com> |
|---|---|
| Date | 2021-02-15 08:52 -0800 |
| Message-ID | <9cb54275-e293-49a0-9c86-1dd834b6381an@googlegroups.com> |
| In reply to | #2642 |
On Wednesday, December 11, 2013 at 7:30:39 PM UTC, davidrami...@gmail.com wrote: > On Thursday, May 16, 2013 4:46:00 PM UTC-5, santiag...@gmail.com wrote: > > On Friday, February 8, 2002 3:35:07 PM UTC-3, Jeffery Smith wrote: > > > > > I know others have had this problem, but I can't find a solution > > > > > anywhere. When I try to change my password using 'yppassd' I get the > > > > > following error: > > > > > ----------------------------------------------------- > > > > > [smith@garfield smith]$ yppasswd > > > > > Changing NIS account information for smith on zeus. > > > > > Please enter old password: > > > > > Changing NIS password for smith on zeus. > > > > > Please enter new password: > > > > > Please retype new password: > > > > > Error while changing the NIS password. > > > > > The NIS password has not been changed on zeus. > > > > > ----------------------------------------------------- > > > > > > > > > > In this senario: > > > > > garfield = NIS Client (my workstation) > > > > > zeus = NIS Server > > > > > > > > > > I have tried stoping 'ypserv' and then running it on a console with > > > > > 'ypserv -d' to see the messages, but I don't see anything helpful at > > > > > all. This appears to be partially working because it successfully > > > > > reads and checks my old password. > > > > > > > > > > I checked rpcinfo and it looks fine to me: > > > > > ----------------------------------------------------- > > > > > [root@zeus yp]# rpcinfo -p | grep yp > > > > > 100007 2 udp 632 ypbind > > > > > 100007 1 udp 632 ypbind > > > > > 100007 2 tcp 635 ypbind > > > > > 100007 1 tcp 635 ypbind > > > > > 100004 2 udp 944 ypserv > > > > > 100004 1 udp 944 ypserv > > > > > 100004 2 tcp 947 ypserv > > > > > 100004 1 tcp 947 ypserv > > > > > 100009 1 udp 699 yppasswdd > > > > > ----------------------------------------------------- > > > > > I can 'ypcat' my password file with no trouble. In fact, all my NIS > > > > > maps are working fine. I just can't change any passwords. > > > > > > > > > > It may be interesting to note that on the NIS server (zeus) I can't > > > > > use the 'passwd' command either. > > > > > ----------------------------------------------------- > > > > > [root@zeus yp]# passwd smith > > > > > Changing password for user smith > > > > > New password: > > > > > Retype new password: > > > > > RPC: Can't encode arguments > > > > > The password has not been changed on zeus. > > > > > passwd: Failed preliminary check by password service > > > > > ----------------------------------------------------- > > > > > It looks to me like this has something to do with RPC, but I really am > > > > > clueless. > > > > > > > > > > All help is greatly appreciated! > > > > > > > > > > Jeffery Smith > > > > > sm...@skycomputers.com > > > > > > > > Some years later.. > > > > > > > > How I get to change the user password with yppasswd for username as root; > > > > > > > > 1. Edit the /etc/yp/shadow and remove the password field of the user. > > > > 2. Save and close. > > > > 3. Run yppasswd username again. > > > > > > > > > > > > Example: > > > > > > > > If I were to change the password of henryk, I would do as follows; > > > > > > > > 1. Change the entry for the user at /etc/yp/shadow > > > > henryk:dsdkljHjshd3KsaEd:51265:::::: > > > > to > > > > henryk::51265:::::: > > > > > > > > 2. Save and close. > > > > 3. Run yppasswd henryk > > > > > > > > > Changing NIS account information for henryk on myserver. > > > > > Please enter root password: > > > > > Changing NIS password for henryk on myserver. > > > > > Please enter new password: > > > > > Please retype new password: > > > > > > > > > > The NIS password has been changed on myserver. > > > > > > > > Hope this helps someone out there. > As this fails silently (no traces on /var/log/messages, /var/log/scure) of what went wrong, I resulted here... > > In my particular case, the user to have its password changed had it actually disabled inside /etc/shadow such as: > johndoe:!!:16050:0:120:7::17896: > > So as per santiag's hint I edited the shadow file (vipw -s) and removed the !! signs... then yppasswd worked as needed. > > Just my 1 cent here... Hi there, I've had the same issue just now and we fond that our new NIS server did not have correctly configured YPPWDDIR in the /etc/default/nis and was not pointing at our passwd file. For that reason it was silently failing. Best, Mat
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2021-02-15 22:01 +0100 |
| Message-ID | <624rfh-kbd.ln1@Telcontar.valinor> |
| In reply to | #4807 |
On 15/02/2021 17.52, Mateusz Bieniek wrote: > On Wednesday, December 11, 2013 at 7:30:39 PM UTC, davidrami...@gmail.com wrote: >> On Thursday, May 16, 2013 4:46:00 PM UTC-5, santiag...@gmail.com wrote: >>> On Friday, February 8, 2002 3:35:07 PM UTC-3, Jeffery Smith wrote: >>> >>>> I know others have had this problem, but I can't find a solution >>> >>>> anywhere. When I try to change my password using 'yppassd' I get the >>> >>>> following error: ... > I've had the same issue just now and we fond that our new NIS server > did not have correctly configured YPPWDDIR in the /etc/default/nis and > was not pointing at our passwd file. For that reason it was silently > failing. Mateusz, haven't you noticed that you are replying to a thread from 2013? -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Johann Beretta <beretta@nun-ya-bizness.com> |
|---|---|
| Date | 2021-02-24 17:57 -0800 |
| Message-ID | <s1705e$8eu$2@dont-email.me> |
| In reply to | #4807 |
[Multipart message — attachments visible in raw view] — view raw
On 2/15/21 8:52 AM, Mateusz Bieniek wrote: Dude... On Thursday, May 16, 2013 4:46:00 PM UTC-5, santiag...@gmail.com wrote: > On Friday, February 8, 2002 3:35:07 PM UTC-3, Jeffery Smith wrote: Really? A 19 year old thread?
[toc] | [prev] | [next] | [standalone]
| From | Aragorn <thorongil@telenet.be> |
|---|---|
| Date | 2021-02-25 03:32 +0100 |
| Message-ID | <20210225033218.6a5b41e2@nx-74205> |
| In reply to | #4814 |
On 24.02.2021 at 17:57, Johann Beretta scribbled: > On 2/15/21 8:52 AM, Mateusz Bieniek wrote: > > Dude... > > On Thursday, May 16, 2013 4:46:00 PM UTC-5, santiag...@gmail.com > wrote: > > On Friday, February 8, 2002 3:35:07 PM UTC-3, Jeffery Smith wrote: > > Really? A 19 year old thread? See, this is why most of us filter out anything coming in through Google Groups. ;) -- With respect, = Aragorn =
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.networking
csiph-web