Operating System - HP-UX
1833464 Members
2633 Online
110052 Solutions
New Discussion

Re: problem with security file

 
raiden
Regular Advisor

problem with security file

On my 11.11 trusted system I have set NUMBER_OF_LOGINS_ALLOWED=3 policy in /etc/default/security file

BUt still users are able to take more than 3 login. Can sumone please tell where things are going wrong.
3 REPLIES 3
Kranti Mahmud
Honored Contributor

Re: problem with security file

Hi Raiden,

NUMBER_OF_LOGINS_ALLOWED
This parameter controls the number of simultaneous logins allowed per user. This is applicable only for non-root users.

NUMBER_OF_LOGINS_ALLOWED=0 Any number of logins are allowed per user.

NUMBER_OF_LOGINS_ALLOWED=N N number of logins are allowed per user.

Default value: NUMBER_OF_LOGINS_ALLOWED=0

For details, Check the below link:

http://book.soundonair.ru/hall2/ch29lev1sec3.html

You can modify the security file as per your requirements.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!
Ganesan R
Honored Contributor

Re: problem with security file

Hi Raiden,

I think NUMBER_OF_LOGINS_ALLOWED=3 will applicable only for telnet connections not for ssh connections.

How the users are connecting to the server?
Best wishes,

Ganesh.
Fabio Ettore
Honored Contributor

Re: problem with security file

Hi,

I don't know the reason why NUMBER_OF_LOGINS_ALLOWED is not working, anyway if your goal is to control tries of user logins and you have the system already in trusted mode you can do that on System wide settings:

sam

Auditing and Security ---> System Security Policies ---> General User Account Policies

and modify "Unsuccessful Login Tries Allowed: ___ "

If you want to change that per-user you can do that by

Accounts for Users and Groups ---> Users

and modify General Password settings for the user.

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!