Operating System - HP-UX
1752577 Members
4332 Online
108788 Solutions
New Discussion юеВ

how to apply /etc/default/secuity settings to all users

 
SOLVED
Go to solution
Harikrishnan L
Frequent Advisor

how to apply /etc/default/secuity settings to all users

Hi Folkes,

I have changed the security option on the /etc/default/security for user access like password policy. How can i apply this settings to existing users in this machine.
# uname -a
HP-UX hostname B.11.31 U ia64 unlimited-user license.
# ls -l /etc/default/security
-r--r--r-- 1 bin bin 3503 Aug 6 10:36 /etc/default/security


Thanks ,
Hari.
7 REPLIES 7
rariasn
Honored Contributor

Re: how to apply /etc/default/secuity settings to all users

Harikrishnan L
Frequent Advisor

Re: how to apply /etc/default/secuity settings to all users

Hi raria,

Thanks for you reply. The file set had been avail. what else i need to do.
# swlist -l fileset|grep libpam
# PHCO_37782 1.0 libpam_unix cumulative patch
# PHCO_38601 1.0 libpam_hpsec cumulative patch
#

Thanks,
Hari
rariasn
Honored Contributor

Re: how to apply /etc/default/secuity settings to all users

Harikrishnan L
Frequent Advisor

Re: how to apply /etc/default/secuity settings to all users

Hi raria,

We need to implement the password policy with out trusted mode.

Is there any option like converting users or apply settings to users.
rariasn
Honored Contributor

Re: how to apply /etc/default/secuity settings to all users

Hi:

Next user logins, this modifications take effect.

more information

man 4 security.


rgs
Harikrishnan L
Frequent Advisor

Re: how to apply /etc/default/secuity settings to all users

Hi araia.

Next logins means.

Relogin the user or next password expiration/reset.

Is there any way to puss the user to change the password.
nightwich
Valued Contributor
Solution

Re: how to apply /etc/default/secuity settings to all users

Hi ..


You can use passwd -f:

-f Force user to change password upon next login by
expiring the current password.


Regards.