*変更前にwheelグループにユーザーを追加してから行います。
*wheelグループに誰もいないと地獄を見ます。
[root@localhost ~]# vi /etc/pam.d/su #auth required pam_wheel.so use_uid ↓コメントを外して保存 auth required pam_wheel.so use_uid
その2.SELinuxを無効にする
[root@localhost ~]# getenforce Enforcing [root@localhost ~]# setenforce 0 [root@localhost ~]# getenforce Permissive これだけだと一時的に無効になっただけなので、完全に無効化する [root@localhost ~]# vi /etc/sysconfig/selinux SELINUX=enforcing ↓変更して保存 SELINUX=disabledその3.yum update を行う。
[root@localhost ~]# yum updateざっとこのくらい?
0 件のコメント:
コメントを投稿