- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/default/password
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
08-18-2005 06:49 AM
08-18-2005 06:49 AM
/etc/default/password
in SCO Machines there is a file /etc/default/password that contains the information about the length and aging of user passwords and the availability of the passwd command for changing user passwords like MINWEEKS, MAXWEEKS, PASSLENGTH, WARNWEEKS,
LOGIN_ONLY.
Is there some such file n HP-UX (specially version 10.20) Please let me know..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 06:55 AM
08-18-2005 06:55 AM
Re: /etc/default/password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 06:56 AM
08-18-2005 06:56 AM
Re: /etc/default/password
As for 10.20 unless you have a trusted system Im afraid there is nothing...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:00 AM
08-18-2005 07:00 AM
Re: /etc/default/password
If you want to have that kind password policy , then you to convert the system to Trusted System .
Making Trusted system is depends on application compatibility.
Im HP-UX 11i , you can put those changes without converting to Trusted mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:05 AM
08-18-2005 07:05 AM
Re: /etc/default/password
is there any impact if i change the system into trusted system?
i did go into sam and saw the warning it gave
"2. Moves user passwords in "/etc/passwd" to this database.
3. Replaces all password fields in "/etc/passwd" with "*".
So if i say ok to this option wont it mess up with the password settings of my users?
This is a production machine and so i am a little wary..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:08 AM
08-18-2005 07:08 AM
Re: /etc/default/password
There is a similar file in HP-UX also. That is /etc/default/security.
The completeinfo is here.
http://docs.hp.com/en/B2355-60105/security.4.html
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:14 AM
08-18-2005 07:14 AM
Re: /etc/default/password
On my machine (HP-UX 10.20) under /etc/default there are only 2 files (fs & useradd). I could not find the file you mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:17 AM
08-18-2005 07:17 AM
Re: /etc/default/password
You have to create this file.
# touch security.
edit it and add the required parameters according to your requirements. I have added the following in my machine.
PASSWORD_HISTORY_DEPTH=5
SU_ROOT_GROUP=sysadm
ABORT_LOGIN_ON_MISSING_HOMEDIR=1
MIN_PASSWORD_LENGTH=8
PASSWORD_MIN_UPPER_CASE_CHARS=2
PASSWORD_MIN_LOWER_CASE_CHARS=2
PASSWORD_MIN_DIGIT_CHARS=2
PASSWORD_MIN_SPECIAL_CHARS=1
UMASK=077
PASSWORD_MAXDAYS=30
PASSWORD_MINDAYS=5
PASSWORD_WARNDAYS=7
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:20 AM
08-18-2005 07:20 AM
Re: /etc/default/password
/etc/default/security file and concerned policy can only be implemented in HP-UX 11i.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:46 AM
08-18-2005 07:46 AM
Re: /etc/default/password
default:\
:d_name=default:\
:d_boot_authenticate@:\
:u_pwd=*:\
:u_owner=root:u_auditflag#-1:\
:u_minchg#1814400:u_maxlen#16:u_exp#3628800:u_life#5184000:\
:u_llogin#5184000:u_pw_expire_warning#1209600:u_pswduser=root:u_pickpw:\
:u_genpwd@:u_restrict@:u_nullpw@:u_genchars@:\
:u_genletters@:u_suclog#0:u_unsuclog#0:u_maxtries#6:\
:u_lock:\
:t_logdelay#2:t_maxtries#10:t_login_timeout#0:\
:chkent:
If unsure, modify defaults in SAM then check this file to see what the relationship is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:49 AM
08-18-2005 07:49 AM
Re: /etc/default/password
Also does any one know what exactly happens when i enable TCB on this machine? the password section of /etc/password is replaced by a *, does that mean that the passwords are reset or do the passwords remain unchanged,but the encrypted passwords would not be stored in another file instead of /etc/passwd?
any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:49 AM
08-18-2005 07:49 AM
Re: /etc/default/password
Converting to Trusted using SAM is a low risk task and will not affect users UNLESS they are typing more than 8 characters for their password. The un-Trusted passwd program silently ignores the extra characters but a Trusted system pays attantion to all the characters tpyed in and it will fail after conversion because the password is only 8 characters long.
Additionally, poorly written programs may play around with the password file and these programs may fail because they do not understand the Trusted database system. But for security, you don't want such programs anyway. Your best choice is to get a test system and verify operation before you convert. Use SAM and you can convert while the system is running--takes just a minute or so.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:50 AM
08-18-2005 07:50 AM
Re: /etc/default/password
since i dont have have TCB enabled, i dont have the /tcb directory, and hence the consequest files are also not there...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 07:51 AM
08-18-2005 07:51 AM
Re: /etc/default/password
the tcb database is created only after making the system trusted. Once the system is made trusted then the passwords will be stored in the tcb database.
Regards,
Syam