|
|
Archives of the TeradataForum
Message Posted: Fri, 11 Aug 2000 @ 09:44:39 GMT
Subj: | | Re: Selective Password Expiration |
|
From: | | Claudio De Luca |
Ulrich,
We have encountered the same touble in our site, the workaround is to create a table with your teradata users and people associated (one
or more)
Ex of fields : teradata_id, owner_id1, owner_id2,...
via a litle script launched by crontab, you send a mail to your owner_id when the password will be expire in x days. People in charge of
batch users, or BO users have the time to modify the password before the crash!
EX SQL to prevent 7 day before password expiration : =
(sysdba.USER_Password
is your new table)
sel trim(ownerName)||' =
'||(A.passwordlastmoddate+B.expirePassword)-date||'
'||trim(A.passwordlastmoddate)||
' '||trim(C.teradata_id)||' '||trim(owner_id1)||' '||trim(owner_id2)||'
'||trim(owner_id3) (title '')
from dbc.users A,dbc.securitydefaults B,sysdba.USER_Password C
where A.username = C.teradata_id and A.passwordlastmoddate < date
-(B.expirePassword-7)
Claudio
| |