w*********r 发帖数: 2095 | 1 我忘了自己的密码,也不知道是什么时候设的密码。试了北京推荐的默认密码也不行。
于是我决定更改Oracle User的密码。
Google了一下,据说可以这么改:
1) # su - oracle
2) $ id
uid=1001(oracle) gid=1001(oinstall) groups=1001(oinstall),1002(dba)
3) $ passwd oracle
Changing password for oracle.
(current) UNIX password:
什么是这个UNIX password? 是我的Ubuntu的root密码吗?为什么我输入后显示如下错
误:
passwd: Authentication token manipulation error
passwd: password unchanged
谢谢。 |
m*g 发帖数: 377 | 2 You may try log in as root, change the os user oracle's password.
#passwd oracle |
w*********r 发帖数: 2095 | 3 Thank you for the suggestions. I just tried.
If I type sudo su again after "su - oracle", the system asks me for the
Oracle password that I do not know (see below):
[sudo] password for oracle:
【在 m*g 的大作中提到】 : You may try log in as root, change the os user oracle's password. : #passwd oracle
|
T****U 发帖数: 3344 | 4 exit
passwd oracle
【在 w*********r 的大作中提到】 : Thank you for the suggestions. I just tried. : If I type sudo su again after "su - oracle", the system asks me for the : Oracle password that I do not know (see below): : [sudo] password for oracle:
|
w*********r 发帖数: 2095 | 5 搞定。太感谢了。
【在 T****U 的大作中提到】 : exit : passwd oracle
|