- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- where is the file "login.defs" available in HP-UX
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
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
тАО03-19-2009 10:55 PM
тАО03-19-2009 10:55 PM
In linux the file "/etc/login.defs" is used to set default "maximum password days, minimum password days, password min length, password warning age.
Ex: # vi /etc/login.defs
PASS-MAX-DAYS 99999
PASS-MIN-DAYS 0
PASS-WARN-AGE 7
PASS-MIN-LEN 5
like this, where we have to set this things in HP-UX.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 11:10 PM
тАО03-19-2009 11:10 PM
Re: where is the file "login.defs" available in HP-UX
In HP-UX the equivlant file is /etc/default/security.
See man security
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 11:24 PM
тАО03-19-2009 11:24 PM
Re: where is the file "login.defs" available in HP-UX
#vi /etc/default/security
First Convert the system to trusted mode.
SAM -> Auditing and Security -> Audited Events -> System will ask, Do you want to convert to a Trusted System now? ->OK
Then you can set these password and other policy through SAM and by editingthe file.
# Password controls - Trusted
###################
MIN_PASSWORD_LENGTH=8
PASSWORD_HISTORY_DEPTH=5
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=1
# Non-Trusted or shadow password setup only:
# defaults: MAXDAYS=-1 MINDAYS=0 WARNDAYS=0
PASSWORD_MAXDAYS=45
PASSWORD_MINDAYS=1
PASSWORD_WARNDAYS=14
Thnx...Farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 12:37 AM
тАО03-20-2009 12:37 AM
Re: where is the file "login.defs" available in HP-UX
File is /etc/default/security.
You can restrict length and prevent repeat passwords and much more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 12:41 AM
тАО03-20-2009 12:41 AM
Re: where is the file "login.defs" available in HP-UX
The location of file /etc/default/security
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 01:31 AM
тАО03-20-2009 01:31 AM
Re: where is the file "login.defs" available in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 02:41 AM
тАО03-20-2009 02:41 AM
Re: where is the file "login.defs" available in HP-UX
There is no file like "/etc/default/security" in my server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 02:46 AM
тАО03-20-2009 02:46 AM
Re: where is the file "login.defs" available in HP-UX
YOu need to first convert your server to trusted mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 02:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 03:33 AM
тАО03-20-2009 03:33 AM
Re: where is the file "login.defs" available in HP-UX
Is your system is trusted
Trusted systems will have this file.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 03:37 AM
тАО03-20-2009 03:37 AM
Re: where is the file "login.defs" available in HP-UX
Trusted systems will have this file.<<
i converted my system in trusted mode, but didn't get etc/default/security.
Thnx...Farhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2009 05:13 AM
тАО03-20-2009 05:13 AM
Re: where is the file "login.defs" available in HP-UX
Somebody might renamed/moved to overide the security features. check in the same folder if it is renamed
#cd /etc/default
#ll
or
#find / -name "security*" -print
Ganesh.