Re: [問題] 關於atd 對於一般user
※ 引述《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
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):