June 2016
Intermediate to advanced
388 pages
5h 49m
English
The expiration of user's password is a very easy task.
To complete this recipe, you'll need an existing (for example, OS-authenticated) user who has the alter user privilege (you may use user who has a DBA role) and another existing user (for example, mike).
alter user privilege:
$ sqlplus /
SQL> alter user mike password expire;
In step 1, you used OS authentication to connect to the database.
In step 2, you expired password for the user mike. This means that the password is no longer valid and user mike must change his password after the next login:
SQL> alter user mike password ...Read now
Unlock full access