HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to - /tcb/files/auth/*/* and /tcb/files/auth/s...
Operating System - HP-UX
1833330
Members
3800
Online
110051
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
11-19-2006 07:38 PM
11-19-2006 07:38 PM
How to - /tcb/files/auth/*/* and /tcb/files/auth/system/default
Hello
I want to setup special security settings using /tcb/files/auth/*/* for all users, but not “ROOT” and a few other system accounts.
I want to setup password ageing, max login tries – etc.
I have been recommended these options:
u_life = 2592000
u_minchg = 0
t_maxtries = 5
So in this case, I guess that my /tcb/files/auth/system/default file will look like this:
default:\
:d_name=default:\
:d_boot_authenticate@:\
:u_pwd=*:\
:u_owner=root:u_auditflag#-1:\
:u_minchg#0:u_maxlen#8:u_exp#0:u_life#2592000:\
:u_pw_expire_warning#0:u_pswduser=root:u_pickpw:u_genpwd:\
:u_restrict@:u_nullpw@:u_genchars@:u_genletters:\
:u_suclog#0:u_unsuclog#0:u_maxtries#3:u_lock:\
:\
:t_logdelay#2:t_maxtries#5:t_login_timeout#0:\
:chkent:
If this is for all users, and I want special rules for ROOT and other system users, is u_file = 0 the same as “not active”?
I know that the option in the default file is the standard security values, and is only overridden if the options also are present in the “user-specific-file”.
The option “u_maxlen” is the maximum length for the password, and I the shown config max 8 chars. – I want a minimum of 6 chars and a max of 20.
I want good and wise security options.
So in other words the shown config is not perfect – but what is your recommendations?
Johnny
I want to setup special security settings using /tcb/files/auth/*/* for all users, but not “ROOT” and a few other system accounts.
I want to setup password ageing, max login tries – etc.
I have been recommended these options:
u_life = 2592000
u_minchg = 0
t_maxtries = 5
So in this case, I guess that my /tcb/files/auth/system/default file will look like this:
default:\
:d_name=default:\
:d_boot_authenticate@:\
:u_pwd=*:\
:u_owner=root:u_auditflag#-1:\
:u_minchg#0:u_maxlen#8:u_exp#0:u_life#2592000:\
:u_pw_expire_warning#0:u_pswduser=root:u_pickpw:u_genpwd:\
:u_restrict@:u_nullpw@:u_genchars@:u_genletters:\
:u_suclog#0:u_unsuclog#0:u_maxtries#3:u_lock:\
:\
:t_logdelay#2:t_maxtries#5:t_login_timeout#0:\
:chkent:
If this is for all users, and I want special rules for ROOT and other system users, is u_file = 0 the same as “not active”?
I know that the option in the default file is the standard security values, and is only overridden if the options also are present in the “user-specific-file”.
The option “u_maxlen” is the maximum length for the password, and I the shown config max 8 chars. – I want a minimum of 6 chars and a max of 20.
I want good and wise security options.
So in other words the shown config is not perfect – but what is your recommendations?
Johnny
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2006 02:30 AM
11-20-2006 02:30 AM
Re: How to - /tcb/files/auth/*/* and /tcb/files/auth/system/default
For reasonable security measures you may want to use something like:
u_minchg#86400
u_maxlen#8
u_exp#5184000
u_life#15552000
u_pw_expire_warning#604800
u_pickpw
u_genpwd@
u_restrict
u_nullpw@
u_genchars
u_genletters@:
u_llogin=3024000
u_maxtries#3
t_logdelay#4
t_login_timeout#60
A value of zero (0) for u_life disables password life-time expiration.
You should use SAM to make these changes.
The minimum password length and other policies are specified in /etc/default/security:
MIN_PASSWORD_LENGTH=9
PASSWORD_HISTORY_DEPTH=10
PASSWORD_MIN_UPPER_CASE_CHARS=2
PASSWORD_MIN_LOWER_CASE_CHARS=2
PASSWORD_MIN_DIGIT_CHARS=2
PASSWORD_MIN_SPECIAL_CHARS=2
SU_ROOT_GROUP=admin
u_minchg#86400
u_maxlen#8
u_exp#5184000
u_life#15552000
u_pw_expire_warning#604800
u_pickpw
u_genpwd@
u_restrict
u_nullpw@
u_genchars
u_genletters@:
u_llogin=3024000
u_maxtries#3
t_logdelay#4
t_login_timeout#60
A value of zero (0) for u_life disables password life-time expiration.
You should use SAM to make these changes.
The minimum password length and other policies are specified in /etc/default/security:
MIN_PASSWORD_LENGTH=9
PASSWORD_HISTORY_DEPTH=10
PASSWORD_MIN_UPPER_CASE_CHARS=2
PASSWORD_MIN_LOWER_CASE_CHARS=2
PASSWORD_MIN_DIGIT_CHARS=2
PASSWORD_MIN_SPECIAL_CHARS=2
SU_ROOT_GROUP=admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2006 07:41 PM
11-20-2006 07:41 PM
Re: How to - /tcb/files/auth/*/* and /tcb/files/auth/system/default
Would it be possible for you to make a short comment for each entry?
So, how would your default file look like?
Is "u_maxlen#8" the max length for passwords? And if so, how would this match the minimum length from the security file of 9 chars. ??
Johnny
So, how would your default file look like?
Is "u_maxlen#8" the max length for passwords? And if so, how would this match the minimum length from the security file of 9 chars. ??
Johnny
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 2025 Hewlett Packard Enterprise Development LP