1847397 Members
2699 Online
110264 Solutions
New Discussion

acctexp parameter

 
SOLVED
Go to solution
NMory
Respected Contributor

acctexp parameter

Hello experts:

Do you know how to interpret the acctexp parameter when usin getprpw?
Only thing I get are numbers, how can I convert that to days?

Eg:
User1: ##########

Thanks.
4 REPLIES 4
NMory
Respected Contributor

Re: acctexp parameter

An when going to the tcb databse for the user it only shows 7 of the 10 digits in u_acct_expire#xxxxxxx
Patrick Wallek
Honored Contributor
Solution

Re: acctexp parameter

If you look at the man page for 'getprpw' then it will tell you that the values are explained in the 'prpwd' man page (man 4 prpwd).

The getprpw man page is available in this document:
http://docs.hp.com/en/B2355-90781docs/B2355-90781docs.pdf

Do a 'man 4 prpwd' and look for the u_acct_exp explanation. This will explain it.

If you would like the manual in PDF form it is here:
http://docs.hp.com/en/B2355-90786docs/B2355-90786docs.pdf

Just search for the section on 'prpwd'.

NMory
Respected Contributor

Re: acctexp parameter

Got it....Thanks to my coworkers...

#echo "0d$(/usr/lbin/getprpw -r -m acctexp username)=Y" | adb

Thanks to Patrick also.

Thread closed.
NMory
Respected Contributor

Re: acctexp parameter

Closed.