kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/vgsrv-root ... quiet
[root@kvm8 /]# passwd
kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=/dev/mapper/vgsrv-root ... quiet
[root@kvm8 /]# passwd
[root@kvm8 /]# passwd type=1400 audit(1323777256.565:29): avc: denied { read } for pid=1912 comm="passwd" path="pipe:[12939]" dev=pipefs ino=12939 .... ....
[root@kvm8 /]# echo "123123" | passwd --stdin type=1300 audit(1323777556.699:32): avc: denied { read } for pid=1916 comm="passwd" path="pipe:[12939]" dev=pipefs ino=12939 .... ....
[root@kvm8 /]# setenforce 0 <==關閉 selinux type=1404 audit(1323777769.894:4): enforcing=0 old_enforcing=1 audit=4294967295 ses=4294967295 [root@kvm8 /]# passwd type=1400 audit(1323777776.973:5): avc: denied { read } for pid=887 comm="passwd" path="pipe:[10230]" dev=pipefs ino=10230 .... Changing password for user root. New password: BAD PASSWORD: it does not contain enough DIFFERENT characters BAD PASSWORD: is too simple Retype new password: passwd: all authentication tokens updated successfully.
grub edit> kernel /vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet selinux=0 1