Security
Showing results for 
Search instead for 
Do you mean 

HP-UX security policy doubt- creating separate configuration for bunch of user accounts.

Valued Contributor

HP-UX security policy doubt- creating separate configuration for bunch of user accounts.

hi all,

 

Is it possible in hp-ux to create  few configuration and assign them separate security and password aging policies:

 

For example:

 

CONFIG1_AA :  password expiry 30 days.

COFIG2_BB  :  password expiry 60 days.

CONFIG3_NN: password expiry never.

 

And apply 10 user for CONFIG1 ,  apply 20 users for CONFIG2  , like wise...

May be possible in other os , but not sure for hp-ux ,   this is an users request,  so just checking if this sounds ok per hp-ux .   We understand /etc/default/securiy can have global security settings,  aprt from this modprpw can assign individual password policies,

 

Thanks in advance,

2 REPLIES
Valued Contributor

Re: HP-UX security policy doubt- creating separate configuration for bunch of user accounts.

Any one.. any update please...

Highlighted
Acclaimed Contributor Acclaimed Contributor

Re: HP-UX security policy doubt- creating separate configuration for bunch of user accounts.

Hi:

 

Use a simple script with 'passwd -x ${DAYS} ${USER}' driven by something like:

 

#!/usr/bin/sh

while read USER DAYS

do

    passwd -x ${DAYS} ${USER}

done < myfile

 

Each line of 'myfile' consists of the two necessary fields.

 

Regards!

 

...JRF...