Not wanting to dive into lots of unfamilar config files, we looked at unexpiring the accounts, keeping the existing passwords.
A little googling and tweaking later, the following SQL command outputs alter user statements to "unexpire" the accounts.
I'm not sure if this method is supported by Oracle or not but it worked for us.
SELECT 'ALTER USER '||u.name||' IDENTIFIED BY VALUES '''||u.spare4||';'||u.password||''';' cmd
FROM sys.user$ u
WHERE u.name IN ('SYSMAN','DBSNMP')
;
User altered
No comments:
Post a Comment