这个东西和oracle基本没什么关系。
问题
不知道哪个大哥把linux上的oracle用户给删除了。
重新创建oracle。
su - oracle是报错
This account is currently not available
现场情况收集
/home/oracle目录依然存在
但是权限变成了 512 dba
修复方法
useradd -u 512 -g dba oracle
验证
su - oracle
This account is currently not available
还是不行
继续调查
cat /etc/passwd
oracle [省略]:/sbin/nologin
修改成/bin/bash
再次验证
su - oracle
成功了。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/563971/viewspace-660461/ ,如需转载,请注明出处,否则将追究法律责任。