SELinux 設定 - Linux

Dorothy avatar
By Dorothy
at 2012-08-25T14:45

Table of Contents

大家好

最近有設定到SELinux

發現一個奇怪的問題

(我是使用CentOS 5.3)

我去修改/etc/selinux/config

當中把disabled改成enforcing (啟動SELinux)

但是啟動之後

我發覺帳號都不能直接進入tty7了(帳號包括root/非root)

出現如下訊息:


內容:您的作業階段維持了不足10秒
如果您不是自行登出 就是安裝出問題
或磁碟空間不足 請嘗試使用任何一種安全模式的作業階段
看能否修正問題

檢查詳細資料 (~/.xsession-errors檔案)






請問這可能是發生什麼問題呢

BTW,如果我改回SELinux disabled

又可以登入tty7了

好困擾呀


先在此謝過大家~~

--
Tags: Linux

All Comments

Mia avatar
By Mia
at 2012-08-27T14:00
也許可以考慮 relabel 整個檔案系統
touch /.autorelabel 然後重開
Robert avatar
By Robert
at 2012-08-29T02:18
1F方法試了還是沒用,不過非常感謝

Ubuntu 12.04.1 (Precise Pangolin) LTS released!

Megan avatar
By Megan
at 2012-08-24T10:21
https://lists.ubuntu.com/archives/ubuntu-announce/2012-August/000160.html and#34;The most important rule is to formulate, clearly and precisely, the ...

有關顯卡驅動程式

Wallis avatar
By Wallis
at 2012-08-24T01:59
※ 引述《hau (小豪)》之銘言: : 我的 : 主機版:Gigabyte M55S-S3 Rev 2.0 : 顯卡:PowerColor X1650PRO GDDR3 : 請問我裝完Ubuntu 12.04後,我需要特別上網找我的主機版或顯卡的驅動程式嗎? : 尤其是顯卡,在「額外驅動程式」裡,顯示「此系 ...

調整預設的檔案權限

Annie avatar
By Annie
at 2012-08-23T15:28
各位好 如果我今天寫了一個script檔(例如test.py) 如果要執行他的話./test.py 會有權限的問題 要透過chmod a+x test.py 來增加可執行的權限 請問有辦法告訴系統說遇到.py結尾的檔案就自動增加可執行的權限嘛? 也就是說 我新增一個test.py檔之後 只要. ...

畫面沒有填滿螢幕

Zenobia avatar
By Zenobia
at 2012-08-23T14:34
我剛灌了centos5,不過灌好了之後,畫面卻沒有填滿螢幕,而是留下了一圈黑邊,請問 我該怎麼做才能讓畫面用掉整個螢幕的空間呢? 我的螢幕是asus的,顯卡是nvieda的。 - ...

Shell script 自動插入資料的一些問題

Bethany avatar
By Bethany
at 2012-08-23T09:08
※ 引述《nashsai (神佛兩光NANA)》之銘言: : #!/bin/sh : echo and#34;MAIN MENUand#34; : echo and#34;0. exitand#34; : echo and#34;1. aaaand#34; : echo and#34;2. bbband#34 ...