GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS accounts - password aging/minimum combination ...
Operating System - HP-UX
1847563
Members
3453
Online
110265
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
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
01-17-2005 05:35 AM
01-17-2005 05:35 AM
NIS accounts - password aging/minimum combination & length available?
Hello,
In regards to NIS on an HPUX 11.11 workstation. Is it possible to enable NIS password aging and minimum length/combinations for all our NIS user accounts that have already been set up?
When I look at the NIS accounts under SAM, I don't see any options for forcing password aging even on one user.
Please post back soon.
Thanks - Angie
In regards to NIS on an HPUX 11.11 workstation. Is it possible to enable NIS password aging and minimum length/combinations for all our NIS user accounts that have already been set up?
When I look at the NIS accounts under SAM, I don't see any options for forcing password aging even on one user.
Please post back soon.
Thanks - Angie
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 06:54 AM
01-17-2005 06:54 AM
Re: NIS accounts - password aging/minimum combination & length available?
You can enable passwd aging using something like this:
logins | awk '{if (($2 + 0) >= 101) print $1}' | while read U
do
passwd -x 63 -n 7 ${U}
done
This will set the maximum age to 63 days and 7 days minimum between change for all users with UID >= 101. Man passwd, logins for details. This script should be run on the NIS Master serrver. Next, cd to /var/yp and isuue the comand "make" to update and push the NIS maps.
logins | awk '{if (($2 + 0) >= 101) print $1}' | while read U
do
passwd -x 63 -n 7 ${U}
done
This will set the maximum age to 63 days and 7 days minimum between change for all users with UID >= 101. Man passwd, logins for details. This script should be run on the NIS Master serrver. Next, cd to /var/yp and isuue the comand "make" to update and push the NIS maps.
If it ain't broke, I can fix that.
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
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP