Ubuntu

Ubuntu 8.04 伺服器:無法呼叫

  • February 18, 2010

出於某種原因,我無法使用普通使用者的 at 命令

$ at
You do not have permission to use at.

我檢查了我的 /etc/at.deny,那裡沒有我的使用者。沒有 /etc/at.allow。我試圖重新啟動atd,但它沒有幫助。

有任何想法嗎?

提前致謝。

跑步

$ strace at
setreuid32(1000, 1000)                  = 0
setregid32(1000, 1000)                  = 0
open("/etc/at.allow", O_RDONLY)         = -1 ENOENT (No such file or directory)
setregid32(1000, 1000)                  = 0
setreuid32(1000, 1000)                  = 0
setreuid32(1000, 1000)                  = 0
setregid32(1000, 1000)                  = 0
open("/etc/at.deny", O_RDONLY)          = -1 EACCES (Permission denied)
setregid32(1000, 1000)                  = 0
setreuid32(1000, 1000)                  = 0
write(2, "You do not have permission to us"..., 38You do not have permission to use at.
) = 38
exit_group(1)                           = ?

可以告訴你原因。

引用自:https://serverfault.com/questions/113079