- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Password problems
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
11-26-2003 01:02 AM
11-26-2003 01:02 AM
Password problems
Also, once this system goes live, we need to reset all user passwords. Is trher an easy way to do this as we have 250 users that will need to be changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 01:16 AM
11-26-2003 01:16 AM
Re: Password problems
http://us-support2.external.hp.com/emse/bin/doc.pl/emse/bin/doc.pl?searchtext=trusted+system&hpl=1&todo=search&searchcriteria=allwords&from=forums&searchcategory=ALL&rn=25&presort=rank&source=7000&esc=us-support2.external.hp.com&wpa=forums1.itrc.hp.com%3A80&origin=0&chkServStor=on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 01:17 AM
11-26-2003 01:17 AM
Re: Password problems
First - are you sure that the force password box was checked for every user you created in SAM? This is a long winded way to create 250 accounts and it could be that there was some finger trouble...
Second - if you want to force them to change their password, *and* you want to prevent them reusing previous passwords, you will have to convert to a trusted system. This is something that is best done via SAM. You can read more about trusted systems here. http://docs.hp.com/hpux/onlinedocs/B2355-90121/B2355-90121.html
When you go live, you want to reset 250 passwords, but what to? You can script a load of passwd -f commands to expire them all, but to change them all would need something like an expect script.
Hope this helps
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 01:18 AM
11-26-2003 01:18 AM
Re: Password problems
file=/root/passwd
cat $file | while read LINE
do
USERID=(echo $LINE | awk -F:'{print $1}')
passwd -f $USERID
done < /root/passwd
Note /root/passwd is a copy of the password file from the old system, compbined with any new users added to the new system.
I don't have access to my scripts so I wrote this right now, there may be a typo or two.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 01:24 AM
11-26-2003 01:24 AM
Re: Password problems
Convert to trusted mode and again to no-trusted mode.
Al paawords expires immediately.