selinux 的奇怪現象 - Linux

By Madame
at 2014-02-28T23:44
at 2014-02-28T23:44
Table of Contents
可能的自問自答
使用的關鍵字 selinux no home directory but can cd
http://kangry.com/topics/viewcomment.php?index=18540
裡面內容
I created a new /home directory (略)
But then I get this:
$ ssh 192.168.0.37
[email protected]'s password:
Last login: Mon Apr 13 08:43:57 2009 from 192.168.0.11
Could not chdir to home directory /home/russell: Permission denied
[russell@auxbackup /]$ cd
[russell@auxbackup ~]$ pwd
/home/russell
To this my first reaction is WTF?
^^^^^跟我看到這個錯誤時的想法完全一樣
(略)
chcon -t home_root_t /home
^^^^^這個可能可以解決問題吧
結論是我用了新的 home 而且又有 selinux 才會這樣
**更新,那個指令沒用,我還是把 selinux 關掉好了
期待專家能告訴我解法 XD
--
Time waits for no one.
↑
(。A。)ハァ
--
Tags:
Linux
All Comments

By Ina
at 2014-03-05T05:24
at 2014-03-05T05:24

By Joe
at 2014-03-07T20:35
at 2014-03-07T20:35

By Necoo
at 2014-03-11T21:24
at 2014-03-11T21:24

By Emily
at 2014-03-12T19:11
at 2014-03-12T19:11

By Puput
at 2014-03-16T23:55
at 2014-03-16T23:55

By Ingrid
at 2014-03-19T16:07
at 2014-03-19T16:07

By Audriana
at 2014-03-23T10:22
at 2014-03-23T10:22
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