Can't change NIS+ password in NIS+ client

Can't change NIS+ password in NIS+ client

Post by Vic » Tue, 14 Oct 2003 04:05:42



hello,

I get some trouble about change NIS+ password in NIS+ clinet.

When I try to change password in NIS+ client, as follow

NIS+ client -xxx- passwd
passwd: Changing password for xxx
Enter existing login password:
New Password:
Re-enter new Password:
Permission denied

ya, I get the message, Permission denied!!!

I dont know what happen, I alreay keylogin and be authenticated.

In the log, I get the message,

Oct 13 02:35:44 NIS+ client passwd[3706]: [ID 897924 user.error]
Couldn't make a client handle to NIS+ password daemon

Oct 13 02:35:44 NIS+ client passwd[3706]: [ID 897924 user.error]
Couldn't make a client handle to NIS+ password daemon

And the more strange thing is passwd works fine in NIS+ server,

NIS+ server -xxx- passwd
Enter existing login password:
New Password:
Re-enter new Password:
passwd: password successfully changed for xxx
passwd: credential information changed for xxx

Does anyone have any idea?

thx in advanced~~~~

 
 
 

Can't change NIS+ password in NIS+ client

Post by Neil W Ricker » Tue, 14 Oct 2003 04:36:59



>When I try to change password in NIS+ client, as follow
>...
>Permission denied
>In the log, I get the message,
>Oct 13 02:35:44 NIS+ client passwd[3706]: [ID 897924 user.error]
>Couldn't make a client handle to NIS+ password daemon

passwd works by communicating with "rpc.nispasswdd" which should
be running on your main nis+ server.  Perhaps you are blocking
this in a firewall?

 
 
 

Can't change NIS+ password in NIS+ client

Post by Vic » Tue, 14 Oct 2003 13:18:59




> >When I try to change password in NIS+ client, as follow

> >...
> >Permission denied

> >In the log, I get the message,

> >Oct 13 02:35:44 NIS+ client passwd[3706]: [ID 897924 user.error]
> >Couldn't make a client handle to NIS+ password daemon

> passwd works by communicating with "rpc.nispasswdd" which should
> be running on your main nis+ server.  Perhaps you are blocking
> this in a firewall?

I am sure that "rpc.nispasswdd" runs on the NIS+ server and doesnt be
block by a firewall, because in my domain, I have other NIS+ client,
running Solaris 5.6 and "passwd" works fine on the Solaris 5.6 NIS+
client.

I search around the SunSolve, I get this,

sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=108994

the patch ID is 108994.

It could fix "4727726 NIS+ user unable to change his/her passwd"

Is this patch related with my problem?

 
 
 

Can't change NIS+ password in NIS+ client

Post by Vic » Tue, 14 Oct 2003 14:10:30




> >When I try to change password in NIS+ client, as follow

> >...
> >Permission denied

> >In the log, I get the message,

> >Oct 13 02:35:44 NIS+ client passwd[3706]: [ID 897924 user.error]
> >Couldn't make a client handle to NIS+ password daemon

> passwd works by communicating with "rpc.nispasswdd" which should
> be running on your main nis+ server.  Perhaps you are blocking
> this in a firewall?

I forget to explain. There is still a NIS+ client, running Solaris
5.6, in my domain. "Passwd" works fine on the Solaris 5.6 NIS+ client,
so I am sure rpc.nispasswdd is working on the NIS+ server.

I search around the SunSolve, and I get this,
sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=108994

It can fix '4727726 NIS+ user unable to change his/her passwd".

Is the patch related with my probelm?

THX

 
 
 

Can't change NIS+ password in NIS+ client

Post by Neil W Ricker » Wed, 15 Oct 2003 11:43:40



>I forget to explain. There is still a NIS+ client, running Solaris
>5.6, in my domain. "Passwd" works fine on the Solaris 5.6 NIS+ client,
>so I am sure rpc.nispasswdd is working on the NIS+ server.
>I search around the SunSolve, and I get this,
>sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=108994
>It can fix '4727726 NIS+ user unable to change his/her passwd".
>Is the patch related with my probelm?

It's conceivable.  I do have 108993-22 (and 108994-22 on x86)
installed.

Right now there is some other problem with passwords.  If a user
changes his password to something longer than 8 characters, the
password and nis+ credentials get out of sync.

 
 
 

Can't change NIS+ password in NIS+ client

Post by sharo » Sat, 18 Oct 2003 12:25:02





> > >When I try to change password in NIS+ client, as follow

> > >...
> > >Permission denied

> > >In the log, I get the message,

> > >Oct 13 02:35:44 NIS+ client passwd[3706]: [ID 897924 user.error]
> > >Couldn't make a client handle to NIS+ password daemon

> > passwd works by communicating with "rpc.nispasswdd" which should
> > be running on your main nis+ server.  Perhaps you are blocking
> > this in a firewall?

> I forget to explain. There is still a NIS+ client, running Solaris
> 5.6, in my domain. "Passwd" works fine on the Solaris 5.6 NIS+ client,
> so I am sure rpc.nispasswdd is working on the NIS+ server.

> I search around the SunSolve, and I get this,
> sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=108994

> It can fix '4727726 NIS+ user unable to change his/her passwd".

> Is the patch related with my probelm?

> THX

Hi,

What version of solaris are you running on the nis+ client that you
are unable to change a password on?

Sharona

 
 
 

Can't change NIS+ password in NIS+ client

Post by Vic » Sat, 25 Oct 2003 22:47:09






> > > >When I try to change password in NIS+ client, as follow

> > > >...
> > > >Permission denied

> > > >In the log, I get the message,

> > > >Oct 13 02:35:44 NIS+ client passwd[3706]: [ID 897924 user.error]
> > > >Couldn't make a client handle to NIS+ password daemon

> > > passwd works by communicating with "rpc.nispasswdd" which should
> > > be running on your main nis+ server.  Perhaps you are blocking
> > > this in a firewall?

> > I forget to explain. There is still a NIS+ client, running Solaris
> > 5.6, in my domain. "Passwd" works fine on the Solaris 5.6 NIS+ client,
> > so I am sure rpc.nispasswdd is working on the NIS+ server.

> > I search around the SunSolve, and I get this,
> > sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=108994

> > It can fix '4727726 NIS+ user unable to change his/her passwd".

> > Is the patch related with my probelm?

> > THX

> Hi,

> What version of solaris are you running on the nis+ client that you
> are unable to change a password on?

> Sharona

It is running Solaris 8~~

Wish any sugguestion~~

thx~~

 
 
 

Can't change NIS+ password in NIS+ client

Post by sharo » Sat, 01 Nov 2003 16:04:24







> > > > >When I try to change password in NIS+ client, as follow

> > > > >...
> > > > >Permission denied

> > > > >In the log, I get the message,

> > > > >Oct 13 02:35:44 NIS+ client passwd[3706]: [ID 897924 user.error]
> > > > >Couldn't make a client handle to NIS+ password daemon

> > > > passwd works by communicating with "rpc.nispasswdd" which should
> > > > be running on your main nis+ server.  Perhaps you are blocking
> > > > this in a firewall?

> > > I forget to explain. There is still a NIS+ client, running Solaris
> > > 5.6, in my domain. "Passwd" works fine on the Solaris 5.6 NIS+ client,
> > > so I am sure rpc.nispasswdd is working on the NIS+ server.

> > > I search around the SunSolve, and I get this,
> > > sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=108994

> > > It can fix '4727726 NIS+ user unable to change his/her passwd".

> > > Is the patch related with my probelm?

> > > THX

> > Hi,

> > What version of solaris are you running on the nis+ client that you
> > are unable to change a password on?

> > Sharona

> It is running Solaris 8~~

> Wish any sugguestion~~

> thx~~

have you tried chkey or keyinit at all?  try doing a man on them and
see if that helps you..

Sharona

 
 
 

1. NIS+ user management [Was: Re: root changing a user's password (NIS)]


And Solaris 2 removed `passwd -f <filename>'; the "-f" option now
means "force password change at next login".

                                  .  What other ways are there that are safer?

Good question.  I haven't used Solaris 2 at a large site long enough
for it to be much of an issue.  When necessary, I've just done as you
and edited the file by hand (using Emacs, which when saving at least
gives warning if the file's been changed).  Several years ago at Sun,
I recall there being a `viyp' utility for editing NIS files.  Maybe
they made it publically available.  I think it's harder to enforce
such a utility's use than it is to write one. ;-)

On a related note -- what is the recommended/approved/best way to add
new users and remove ex-users to/from NIS+ ??  One would hope `useradd'
could do it -- nope.  The NIS+ utilities `nis{addent,populate}' are
tailored towards adding to NIS+ tables from ASCII files or NIS maps
rather than dealing with a single "user" entry.  And using plain
`nistbladm' and `nisaddcred' options is crude and error-prone.

I've searched to no avail for some "cookbook" method of handling NIS+
user management.  My old NIS+ book was useless for that issue.  Maybe
I just have a blind spot.  Any suggestions would be appreciated...
thanks!

-sjk

--
Scott J. Kramer                         Graham Technology Solutions
Sr. UNIX Systems Administrator          20823 Stevens Creek Blvd., Suite 300

http://www.graham.com                 +1.408.366.8001

2. Distributions: Red Hat 5.1, Debian 2.0 and Slackware 3.5

3. Changing from NIS client t NIS+ Client

4. lsof

5. NIS password not updating right away on NIS client running CentOS

6. ? Kernel (1.1.47) ftape incompatibility

7. NIS : auth problem with Linux nis server and SUN sparc nis client

8. Kerberos/AIX problem.

9. NIS+ : Can an HP be a NIS client to a Sun NIS+ server

10. Rhat 7.2 NIS client can't get users from FBSD 4.4 NIS Server

11. NIS client can't find NIS server

12. Rhat 7.2 NIS client can't get users from FBSD 4.4 NIS Server

13. NIS: Changing Passwords from Clients