There are times when service accounts /accounts used by applications should be configured with no restrictions on password expiry.
Create a new security profile
To create a security profile , administrator access to the db is required.
CREATE PROFILE serviceaccounts_profile LIMIT PASSWORD_LIFE_TIME unlimited;
Attach the profile to the users (service accounts in db)
ALTER USER <Schema Name> PROFILE serviceaccounts_profile;
eg: ALTER USER DEV_OIM PROFILE serviceaccounts_profile;
Reset the password of the user after attaching the new profile.
ALTER USER <Schema Name> identified by <New Password>;
Eg: ALTER USER DEV_OIM identified by <new password>;
Unlock the user, if the user is already locked.
ALTER USER <Schema Name> ACCOUNT UNLOCK;
Eg: ALTER USER DEV_OIM ACCOUNT UNLOCK;
Now, query the database to verify if the 'profile' and 'password expiry date' has been updated.
Create a new security profile
To create a security profile , administrator access to the db is required.
CREATE PROFILE serviceaccounts_profile LIMIT PASSWORD_LIFE_TIME unlimited;
Attach the profile to the users (service accounts in db)
ALTER USER <Schema Name> PROFILE serviceaccounts_profile;
eg: ALTER USER DEV_OIM PROFILE serviceaccounts_profile;
Reset the password of the user after attaching the new profile.
ALTER USER <Schema Name> identified by <New Password>;
Eg: ALTER USER DEV_OIM identified by <new password>;
Unlock the user, if the user is already locked.
ALTER USER <Schema Name> ACCOUNT UNLOCK;
Eg: ALTER USER DEV_OIM ACCOUNT UNLOCK;
Now, query the database to verify if the 'profile' and 'password expiry date' has been updated.

No comments:
Post a Comment