Linux下修改sys密码

来源:互联网 发布:什么软件收二手手机 编辑:程序博客网 时间:2024/06/08 18:55

首先利用ssh等工具登录oracle安装的服务器;

其次切换到oracle用户登录  su - oracle

SSH Secure Shell 3.2.9 (Build 283)Copyright (c) 2000-2003 SSH Communications Security Corp - http://www.ssh.com/This copy of SSH Secure Shell is a non-commercial version.This version does not include PKI and PKCS #11 functionality.Last login: Tue Dec 27 20:45:07 2016 from 192.168.135.112[root@dd ~]# su - oracle

然后需要修改的SID

[oracle@dd ~]$ export ORACLE_SID=****

登录oracle

[oracle@dd ~]$ sqlplus / as sysdba

修改密码语句

SQL> alter user sys identified by "111111";

特别注意:修改的密码必须要用双引号括起来






0 0
原创粉丝点击