Operating System - HP-UX
1753696 Members
5680 Online
108799 Solutions
New Discussion

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

 
RAJD1
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 2
RAJD1
Valued Contributor

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

Any one.. any update please...

James R. Ferguson
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...