[root@oracle ~]# yum -y install libtermcap-devel readline-devel [root@oracle ~]# vi /home/oracle/.bash_profile alias sqlplus='rlwrap sqlplus' alias rman='rlwrap rman' [root@oracle rlwrap-0.37]# su - oracle [oracle@oracle ~]$ source .bash_profile
5.3 密码设置[oracle@oracle ~]$ sqlplus / as sysdba SYS@ orcl>alter profile default limit password_life_time unlimited; #oracle默认180天过期,可设置口令永不过期