Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Robotic interface for passwd changes.

Status
Not open for further replies.

bharix

Programmer
Aug 6, 2002
23
DE
Guys,
Would like to know if it is feasible to change passwords by
using some pre-prepared macro (using load runner or some other utilities) and running it across different hosts to
change a particular user's passwords? (given that old password(s) is known)

Will there be any issues with stty settings?

Are there any easier ways of carrying out such password changes across Sun and Hp boxes which are accessible from eachother?

Will the root user be able to do such task any easier way?


TIA,
bharix.
 
You may have to use Expect

Hope This Help
PH.
 
I believe NIS and/or NIS+ can handle user logins and their passwords. That way you'd just have a single NIS/NIS+ database each machine would need to query to validate the password. You can also use this approach to have home directories and other resources follow a user.

Hope this helps.

 
Would the fact that it's a mixed environment (Sun and HP) cause problems with NIS/NIS+?
 
I'm sorry but I don't know HP-UX. You'd have to look into HP's support of NIS/NIS+. I don't believe NIS/NIS+ is Sun specific (I could be wrong). NIS/NIS+ is what used to be called "Yellow Pages" until some phone company (AT&T?) got uppity about the use of that name.

Go to your HP machines and see if you have commands like [tt]ypinit[/tt], [tt]ypbind[/tt], [tt]ypset[/tt], [tt]ypserv[/tt], and anything else starting with "yp" (for Yellow Pages). These are all the NIS/NIS+ commands. In fact [tt]yppasswd[/tt] is the command to change a network wide NIS password. This sounds like what you're looking for.

If HP doesn't support NIS/NIS+, I'm sure you could find third party NIS clients for HP-UX.

Hope this helps.

 
Alternatively you may want to look into a more secure and up-to-date technology such as LDAP.

Annihilannic.
 
I think Solaris 8 only has an LDAP client, but no server. Not sure about Solaris 9. HP-UX would also have to have LDAP support, and again, I don't know HP-UX.

Hope this helps.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top