Re: [問題] 關於atd 對於一般user

看板Linux作者時間17年前 (2008/09/04 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《Tomcat.bbs@ptt.cc (我想我瘋了)》之銘言: > OS: Red Hat Enterprise Linux 4.4 > 平常沒機會使用atd這個排程工具 今天就拿一個一般USER帳號來試 > 而系統的atd設定是預設的 就是無at.allow檔 但是有個空白的at.deny檔 > 據書上的說法 這樣的預設是允許所有user都可以使用atd > 不過我剛剛嘗試了幾次 發現要讓一般user都可以使用atd的話 > 還是必須產生/etc/at.allow檔 並將該user加入才行 > 跟書上說的不一樣...@@ man at : The superuser may use these commands in any case. For other users, permission to use at is determined by the files /etc/at.allow and /etc/at.deny. If the file /etc/at.allow exists,only usernames mentioned in it are allowed to use at. If /etc/at.allow does not exist, /etc/at.deny is checked, every username not mentioned in it is then allowed to use at. If neither exists, only the superuser is allowed use of at. An empty /etc/at.deny means that every user is allowed use these commands,this is the default configuration. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 現代人普遍的現象: 「小學而大遺」、「捨本而逐末」 「以偏而概全」、「因噎而廢食」 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ※ Origin: SayYA 資訊站 <bbs.sayya.org> ◆ From: info.sayya.org
文章代碼(AID): #18ltcU00 (Linux)
文章代碼(AID): #18ltcU00 (Linux)