Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Security
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

Any one.. any update please...

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