Re: HP-UX security policy doubt- creating separate configuration for bunch of user accounts. (205 Views)
Reply
Valued Contributor
RAJD1
Posts: 60
Registered: ‎10-09-2011
Message 1 of 3 (214 Views)

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,

Please use plain text.
Valued Contributor
RAJD1
Posts: 60
Registered: ‎10-09-2011
Message 2 of 3 (206 Views)

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

Any one.. any update please...

Please use plain text.
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 3 of 3 (205 Views)

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...

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation