HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Script for password aggining and forcible change
Operating System - Linux
1828046
Members
1869
Online
109973
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-14-2007 04:53 AM
12-14-2007 04:53 AM
Script for password aggining and forcible change
Hello ,
I have 50 user whose accounts were already created in 20 servers , but we were misssout the password forcible change and password agging, Please help to get the script for this activity , You are most appriciated.
Regards
John.
I have 50 user whose accounts were already created in 20 servers , but we were misssout the password forcible change and password agging, Please help to get the script for this activity , You are most appriciated.
Regards
John.
- Tags:
- password aging
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2007 04:57 AM
12-14-2007 04:57 AM
Re: Script for password aggining and forcible change
A script by Clay may help you:
check this link
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1132526&admit=109447627+1197637026655+28353475
check this link
http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1132526&admit=109447627+1197637026655+28353475
Will it remain a personal, if I broadcast it here!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2007 05:06 AM
12-14-2007 05:06 AM
Re: Script for password aggining and forcible change
Hi JohN:
Given a file of the account names, one per line; call the file 'mynames' and do:
while read NAME
do
passwd -x 30 ${NAME}
done < mynames
...This will set the password expiration time to 30-days.
See the manpages for 'passwd' for more information.
Regards!
...JRF...
Given a file of the account names, one per line; call the file 'mynames' and do:
while read NAME
do
passwd -x 30 ${NAME}
done < mynames
...This will set the password expiration time to 30-days.
See the manpages for 'passwd' for more information.
Regards!
...JRF...
- Tags:
- passwd
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP