Solaris user Security implementation


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris user Security implementation
# 1  
Old 01-21-2009
Solaris user Security implementation

Hi gurus,

Need you help here:
How we can implement
  • [1]
    Quote:
    User logout After 15 mins of inactivity.

I have edited /etc/default/login as TIMEOUT=60
But user is not Logged out after 60 sec inactivity. How we can implement this?


  • [2]
    Quote:
    LOGIN should be blocked after Max logins attempts
e.g 3 bad passwords and the user is locked. And it is locked for certain period e.g 20 min.

  • [3]
    Quote:
    Last 10 passwords are unique
    .
The Passwords selected by User must not match his previous passwords (up to last 10 password).
  • [4]
    Quote:
    Password selection must be atleast one char from lower, upper, numeric and special chars.
Password selection is forced to be exactly a regular expression having all above chars.

We have to enforce the security on SUN machine, by implementing above conditions.
Any help will be appriciated.
Thanks and Regards
@Asteroid

[/LIST]
# 2  
Old 01-22-2009
We set TMOUT in /etc/profile, works fine. It's not supported in every shell (ie: use autologout for csh - it's uses minutes, not seconds like TMOUT). Note: Users can override this by just doing an `export TMOUT=0` after they log in.

For password policies in Solaris 9 and below, you'll need a third party PAM module. Check pam_cracklib: SourceForge.net: solaris-friendly pam_cracklib

Solaris 10 added many of those features into the OS, do a `man passwd` and you'll see a section near the bottom explaining /etc/default/passwd. Includes all the options you requested. However, the password history feature will only work for local accounts on the box.

If you have LDAP, you can configure password policies there, but don't be too dissapointed if it doesn't work Smilie We've been very unsuccessful in getting policies to work using Sun's directory server.

EDIT: That sourceforge link looks dead, but do a google on pam_cracklib, should get you some useful info.

Last edited by Diabolist; 01-22-2009 at 03:36 AM.. Reason: addendum
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Cybersecurity

Stream Content Security with user:pass

Hello, I have a linux based streaming server and I do not want to make it public. I am looking for a solution to make my streaming content secured with username & password for each individual. If i had been dealing with a webpage application, it would have been easy for me: To create .htpasswd... (5 Replies)
Discussion started by: baris35
5 Replies

2. UNIX for Dummies Questions & Answers

Pop the users one by one in sudo cat /etc/security/user

Hi Everyone, When I runthe query in ssh shell sudo cat /etc/security/user , I see half of the users cut down from the display screen. what I want to do is using the somthing like "pop" that when I hit the enter key every time the screen should move to the next user? does some one has any idea how... (4 Replies)
Discussion started by: starter2011
4 Replies

3. AIX

Security user Can't change the groups.

Dears Security users in AIX don’t have permission to change the group of the user thru Smitty Users When they try to change the group of the users to any group they'll get permission denied Security profile in Smitty : User... (10 Replies)
Discussion started by: ITHelper
10 Replies

4. UNIX for Advanced & Expert Users

any reason for a user without a homedir - security/config/application?

Hi, Can I just quick pick everyone brain here about the following: There is a security audit going on at the company I work for and one of the things that needed to be resolved was that there were a lot of users who don't have a home directory. As this is a fairly large environment of over... (5 Replies)
Discussion started by: Solarius
5 Replies

5. UNIX for Dummies Questions & Answers

/etc/security/user two default entries

If there are two default entries in the /etc/security/user file, which settings are effective, the first one or the second one? For example: would maxage 0 or 12 be effective? default: loginretries = 0 histexpire = 0 histsize = 0 minage = 0 maxage = 0 maxexpired = -1 default:... (1 Reply)
Discussion started by: Dan2
1 Replies

6. UNIX for Dummies Questions & Answers

/etc/security/user file in AIX

Dear Gurus, Can the /etc/security/user file be edit manually in AIX. I would like to change the histsize in the default. Currently is set to 0. Please advise whether i can just edit it manually, whether it would cause any harm? thank You Very much. (0 Replies)
Discussion started by: cteoh88
0 Replies

7. UNIX for Advanced & Expert Users

User security

Need urgent help!!! Hi, I have an application that runs under a regular unix ID 'prod1'. I want to disable direct login for 'prod1' via ssh or telnet. But I do want some users to be able to su to prod1 and do application maintainence tasks. How can I accomplish that? Also the above scnerio is... (5 Replies)
Discussion started by: sajjad02
5 Replies

8. Programming

Solaris Timer Implementation

I've a problem with a Solaris program implementation: My code uses a timer procedure and when i try to execute date -a XXXX or rdate, my aplication stops. I can't use ntp and need to set the machine time. Here is my procedure. If you know how you can help me, please, do it. static void... (2 Replies)
Discussion started by: ulisses0205
2 Replies
Login or Register to Ask a Question