- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Same password for different users
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
04-10-2005 07:59 PM
04-10-2005 07:59 PM
Same password for different users
Please give me some suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 08:03 PM
04-10-2005 08:03 PM
Re: Same password for different users
probably the quickest way is to get a software product called "expect".
With this you can mimik all the user input to passwd.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 08:07 PM
04-10-2005 08:07 PM
Re: Same password for different users
forgot to mention software available at:
http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 10:34 PM
04-10-2005 10:34 PM
Re: Same password for different users
Thanks a lot for your suggestion.. are there any other way/script without using a software to be loaded?.. coz i need to follow lot of procedures(approvals,...) to get s/w loaded to my machine..Pls advise..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2005 10:42 PM
04-10-2005 10:42 PM
Re: Same password for different users
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 01:06 AM
04-11-2005 01:06 AM
Re: Same password for different users
cc -o pw pw.c
pw abc123
Usage: pw
Requested pw= abc123, Seed= BJ, encrypted pw= BJkKDVTAGF5fU
/usr/sam/lbin/usermod -p BJkKDVTAGF5fU USER_LOGIN
Now if this is to simply set all the passwords to the same value so the accounts can be exercised at a later time, this is fine.
If however, you are testing what happens when 250 user all type the passwd command at the same time, then usermod.sam is not a good test. The reason is that passwd has a particular code path to validate, encrypt and then update the password file. usermod.sam simply inserts whatever you type
into the password file. I'm not sure why such a load test would be necessary since it will be impossible to coordinate 250 people to type in their new password and hit enter at exactly the same time.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 01:20 AM
04-14-2005 01:20 AM
Re: Same password for different users
did the answers resolve your problem?
If not can you please update the thread.
Also please read
(0 points for 15 responses)
http://forums1.itrc.hp.com/service/forums/helptips.do?#34
Regards