- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /tcb/files/auth/system/default
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
Discussions
Discussions
Forums
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
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
тАО06-19-2011 11:11 PM
тАО06-19-2011 11:11 PM
/tcb/files/auth/system/default
I have thrusted one system and now I have to create new users with 49 and 7 chars.
#passwd -x 45 -w 7
#passwd -sa
prova1 PS 12/31/69 0 49 7
What I have to change to do this?
[22]cat /tcb/files/auth/system/default
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#0:\
: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#10:t_login_timeout#0:\
:chkent:
Thanks a lot of,
Carmen.
- Tags:
- trusted mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2011 11:43 PM
тАО07-19-2011 11:43 PM
Re: /tcb/files/auth/system/default
Not quite sure what 7 and 49 refers to, but instead of manupilating the default file diretly perhaps consider to use the trusted default tools:
/usr/lbin/getprdef
/usr/lbin/modprdef -m field
They are not actually documented in the man pages, but modprdef takes most of the same arguments as modprpw (see man page) e.g:
lftm=value Set password life time interval (days). 0 =infinite.
exptm=value Set password expiration time interval (days).0 = expired. Same as non-trusted mode maximum time.
Hope that helps.JF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2011 12:24 AM
тАО08-30-2011 12:24 AM
Re: /tcb/files/auth/system/default
in th epast you used:
passwd -x 45 = max passwd age (in weeks)
passwd -w 7 = warning (in weeks)
for trusted servers:
to get this use:
/usr/lbin/getprpw -m exptm,expwarn
to set them:
modprpw -m exptm=315 "username"
and
modprpw -m expwarn=49
ps TO BE OBSOLETED