- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to change password ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 12:45 AM
01-23-2002 12:45 AM
How to change password ?
I??m running HP-UX version 10.20 a K260 server.
All user login to the system and they can change his/her password from a shell.
Now we are designing a aplication in PowerBuilder and my question is:
How can change this users his/her password ?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 12:48 AM
01-23-2002 12:48 AM
Re: How to change password ?
simple
if you are root and wanted to change user x passwd
# passwd x
if you logged in as user x
then # passwd
will do the job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 12:48 AM
01-23-2002 12:48 AM
Re: How to change password ?
simple
if you are root and wanted to change user x passwd
# passwd x
if you logged in as user x
then $ passwd
will do the job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 12:54 AM
01-23-2002 12:54 AM
Re: How to change password ?
The best way to make the user change the password is do a force change from the first attempt.
# passwd -f username
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 12:55 AM
01-23-2002 12:55 AM
Re: How to change password ?
If you want to change the password from your application you must do a call system to the appropiate command (passwd), then you must look into the Power Builder in order to find the command that can call to a script or command in HP/UX.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 01:51 AM
01-23-2002 01:51 AM
Re: How to change password ?
we are in the way...
But, exist a DOS/Windows script to do it ?
Thanks / Gracias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 02:00 AM
01-23-2002 02:00 AM
Re: How to change password ?
You can either use rsh or ssh (the secured implementation of rsh) to perform this in a DOS batch script:
@echo off
rsh -l username host passwd
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 03:09 AM
01-23-2002 03:09 AM
Re: How to change password ?
Thanks Steven I download some ssh clients for DOS and works fine, but passwd need to be interactive, and don??t work.
Now, I need a shell script like this:
changepasswd username password
Thnaks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 03:43 AM
01-23-2002 03:43 AM
Re: How to change password ?
Te contesto en espa??ol ya que es mas sencillo para los dos.
Entiendo que estas en entorno cliente/servidor y por tanto al necesitar que sea interactivo el cambio de password, probablemente lo mas facil de hacer es que abras un telnet a la maquina como usuario de la misma y que todos los usuarios apunten al mismo .profile, en este .profile los puedes tener cautivos en un menu y que solo puedan hacer el cambio de password.
Te adjunto un .profile que te puede servir de ejemplo es sencillo y dejando s??lo la opci??n de cambio de password y cambiando alg??n literal te valdr??.
Un Saludo.
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 03:24 PM
01-23-2002 03:24 PM
Re: How to change password ?
To overcome the issue that the ssh connection setup prompts interactively for password, you need to build the public-private keypairs and trust relationship between your Windows client and HP-UX server for password to be non-interactive.
For SSH1, it is identity (on client) and authorized.keys (on server). For SSH2, it is identification (on client) and authorization (on server).
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 03:31 PM
01-23-2002 03:31 PM
Re: How to change password ?
If you are using SSH Communication's SSH2 client and SSH2 server, I have the detailed steps for non-interactive copy (SCP) here. The same trust setup and establishment is also used for non-interactive host session (SSH):
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbe69039599eed5118ff40090279cd0f9,00.html
Hope this helps. Regards.
Steven Sim Kok Leong