方法1:
运行visudo(或者vi /etc/sudoers)命令
在## Same thing without a password
下方添加一个类似的行
方法2:
vi /etc/pam.d/su
# Uncomment the following line to implicitly trust users in the "wheel" group.
然后将登陆用户加入 wheel组
usermod -G wheel oracle
https://blog.csdn.net/u011334621/article/details/52337759