Modify oracle user password to never expire

Modify oracle user password to never expire

First, enter the Linux system
Second, the oracle user switching
Third, the system user to log database
Fourth, the default password query shelf life of
five permanent modification period is the period
six default password query shelf life, has been set up as a permanent deadline

First, enter the Linux system
Here Insert Picture Description
Second, switching Oracle users
execute the command: su - oracle
Here Insert Picture Description
Third, the system user to log database
execute the command: sqlplus / nolog
execute the command: conn / as sysdba
Here Insert Picture Description
Four, inquiry password default retention period
execute the command:
the SELECT * the FROM dba_profiles WHERE profile = 'dEFAULT' AND resource_name = 'PASSWORD_LIFE_TIME';
FIG default age 180 days
Here Insert Picture Description
five permanent modification period duration
Run: ALTER PROFILE dEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
Here Insert Picture Description
six, the default password query shelf-life period has been set to permanent
Run:
the SELECT * = the FROM DBA_PROFILES the WHERE Profile 'the DEFAULT' the AND resource_name = 'PASSWORD_LIFE_TIME';
Here Insert Picture Description

Released seven original articles · won praise 1 · views 5803

Guess you like

Origin blog.csdn.net/weixin_41247760/article/details/103935930