openEuler学习02-系统基本操作

1、普通用户crontab没权限-以oracle用户为例

orcl:/home/oracle@db> crontab -l
You (oracle) are not allowed to use this program (crontab)
See crontab(1) for more information

处理办法:#  echo oracle >> /etc/cron.allow

2、普通用户无su命令的访问权限 -以oracle用户为例
[oracle@db ~]$  su - oracle
Password:
su: Permission denied

处理办法:将oracle用户添加到wheel组中  # usermod -a -G wheel oracle

#将oracle用户移出wheel组  # gpasswd -d oracle wheel

你可能感兴趣的:(openEuler,linux,运维)