selinux 的奇怪現象 - Linux

By Jacky
at 2014-02-28T23:27
at 2014-02-28T23:27
Table of Contents
大家好
我有台 server 是 centos6.5
某次 reboot 以後出現了以下奇怪的問題
我遇到幾個現象
(1) 從 tty 登入
可以登入,但是出現了
/home/johnjohnlin directory not found 之類的訊息
不過 cd /home/johnjohnlin 是可以的,裡面的檔案也可以隨便讀寫
這個實在有夠奇怪
(2) ssh 登入
ssh -X johnjohnlin@server 會出現 xauth 不能 lock 之類的錯誤訊息
ssh -x johnjohnlin@server 不會
登入以後輸入 xauth 就卡住了,不過 su 成 root 之後 xauth 不會卡住
另外,我的 ssh key 也不管用
我 reboot 之前有設定 raid 並且把原本的 /home 資料搬過去
把原本的 home 改成用這個 mount
我用 cp -pr 複製的
而且不掛 raid 的時候上述問題還是存在
所以我想應該不是權限問題
這個現象不知道跟這件事有沒有關
--
把 selinux 關掉之後以上問題就都沒有了
想請問大家這是什麼問題
因為是 EDA tool 的工作站所以希望 selinux 還是可以開著
--
Time waits for no one.
↑
(。A。)ハァ
--
我有台 server 是 centos6.5
某次 reboot 以後出現了以下奇怪的問題
我遇到幾個現象
(1) 從 tty 登入
可以登入,但是出現了
/home/johnjohnlin directory not found 之類的訊息
不過 cd /home/johnjohnlin 是可以的,裡面的檔案也可以隨便讀寫
這個實在有夠奇怪
(2) ssh 登入
ssh -X johnjohnlin@server 會出現 xauth 不能 lock 之類的錯誤訊息
ssh -x johnjohnlin@server 不會
登入以後輸入 xauth 就卡住了,不過 su 成 root 之後 xauth 不會卡住
另外,我的 ssh key 也不管用
我 reboot 之前有設定 raid 並且把原本的 /home 資料搬過去
把原本的 home 改成用這個 mount
我用 cp -pr 複製的
而且不掛 raid 的時候上述問題還是存在
所以我想應該不是權限問題
這個現象不知道跟這件事有沒有關
--
把 selinux 關掉之後以上問題就都沒有了
想請問大家這是什麼問題
因為是 EDA tool 的工作站所以希望 selinux 還是可以開著
--
Time waits for no one.
↑
(。A。)ハァ
--
Tags:
Linux
All Comments

By Tristan Cohan
at 2014-03-04T11:26
at 2014-03-04T11:26

By Genevieve
at 2014-03-07T08:43
at 2014-03-07T08:43

By Christine
at 2014-03-12T00:47
at 2014-03-12T00:47

By Bethany
at 2014-03-14T11:46
at 2014-03-14T11:46
Related Posts
fedora12 進不去系統 哭哭

By Charlotte
at 2014-02-27T22:05
at 2014-02-27T22:05
CENT OS5.8安裝時找不到硬碟

By Lauren
at 2014-02-27T11:06
at 2014-02-27T11:06
整理照片 適合用linux 嗎?

By Daph Bay
at 2014-02-27T10:49
at 2014-02-27T10:49
Num Lock鍵 燈亮不亮問題

By Jacob
at 2014-02-27T08:39
at 2014-02-27T08:39
有關 nc 的執行結果

By Ivy
at 2014-02-27T01:21
at 2014-02-27T01:21