- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Trusted Syetem and Password policies
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
07-08-2007 07:04 PM
07-08-2007 07:04 PM
Trusted Syetem and Password policies
2 days back applied patch PHCO_35250 with all dependencies on
my server (hp rp4440, HP-UX 11.11) and converted system to trusted mode by using SAM.
I have following settings in /etc/default/security file.
-------------------
## Security definitions for wfms2.com
## Exit the login session if the user's home directory does not exist.
ABORT_LOGIN_ON_MISSING_HOMEDIR=1
## 1 number of logins are allowed per user
NUMBER_OF_LOGINS_ALLOWED=0
MIN_PASSWORD_LENGTH=8
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=1
----------------------
Only last 5 lines for password is working,
even I set NUMBER_OF_LOGINS_ALLOWED=1
the system is allowing many simulteneous logins,
I also want to lock user when they r inactive, unsuccessful login attempts etc.
For this what I have to use ? /etc/default/security file or
should I enable this from SAM.
Are these 2 methods different?
Also the passowrd settings in /etc/default/security were not working
before making system to trusted system.
Does this mean that to make setting in /etc/default/security effective
one has to make the system trusted.
Pl guide.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2007 10:29 PM
07-08-2007 10:29 PM
Re: Trusted Syetem and Password policies
Pl. guide me on this, it is very urgent.
Thanks in advance.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2007 11:02 PM
07-08-2007 11:02 PM
Re: Trusted Syetem and Password policies
I assume you mean that the password rules listed above are working.
> even I set NUMBER_OF_LOGINS_ALLOWED=1
How are your users connecting? Are they using ssh? Or telnet? Or are they using Xwindows? Xwindows has a very big problem with normal Unix behavior in that the X11 terminal emulators do not login normally but bypass standard Unix features, specifically by running shells without a login flag. This means that /etc/profile and .profile are never run and thus, these users do not have a dash (as in -sh or -ksh) as their primary shell.
To fix this, have each user do this (one time):
echo "*loginShell: true" >> $HOME/.Xdefaults
then logout and login again. Now the users should see a normal login and the login limit should be working.
NOTE: setting the limit=1 may cause many, many problems with database and other applications that may require several logins at the same time. In this case, you can add some code in /etc/profile to test for restricted users and exit if a login session is already running.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2007 11:10 PM
07-08-2007 11:10 PM
Re: Trusted Syetem and Password policies
As I remember /etc/default/security was only effective when I went trusted with my systems.
The SAM settings are different. I took my security settings off ITRC forums, modified them and left them in place.
Note that trusted system has been deprecatedand replaced with a new product on 11.31
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2007 11:39 PM
07-08-2007 11:39 PM
Re: Trusted Syetem and Password policies
u r correct, the last 5 lines means rules for password.
NUMBER_OF_LOGINS_ALLOWED=1 would create some problems, but I just want to test if it si working,
and I found it not working.
Is there problem with /etc/default/security file ?
The users r connecting using ssh .
I want to enable account deactivation on unsuccessful attempts of login and on inactivation of account.
I just want to know if I have to implement this using only SAM ?
Hi Steve,
thanks for info,
If SAM settings r different then if I set
both(/etc/default/security also),
the system will take which setting?
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 07:32 AM
07-09-2007 07:32 AM
Re: Trusted Syetem and Password policies
We all manage policies using SAM. Just lot easier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 05:29 PM
07-09-2007 05:29 PM
Re: Trusted Syetem and Password policies
But is it OK to exist /etc/default/security file if one is managing all policies
with SAM. Or does SAM overrides /etc/default/security ?
-Santosh Mhaskar