Re: [問題] Ubuntu 下 crontab -e 無法寫入

看板Linux作者 (:P)時間17年前 (2008/10/10 22:37), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串10/10 (看更多)
※ 引述《Reinhard (偽ABJ)》之銘言: : 我把 crontab 權限改成這樣: : -rwsr-sr-x 1 root crontab 27K 2006-12-20 23:46 crontab : 還是原來的 error message: : E212 can't open file : 所以只好直接改 /etc/crontab 了嗎 @@ : ※ 引述《Reinhard (偽ABJ)》之銘言: : : 不 沒有滿 : : 我看了一下 /usr/bin/crontab 的權限與板友貼的並不一樣 : : 改一改試試再來報告 身分是一般使用者嗎? 雖然我沒加 crontab 群組也可以用, 你可以試試把一般使用者加到 crontab 群組中,再試試看。 另外 locate cron 發現沒什麼設定檔,除了 /etc/pam.d/cron 1 # 2 # The PAM configuration file for the cron daemon 3 # 4 5 @include common-auth 6 auth required pam_env.so 7 @include common-account 8 @include common-session 9 # Sets up user limits, please define limits for cron tasks 10 # through /etc/security/limits.conf 11 session required pam_limits.so 12 13 也許可以重裝 cron or pam 試試看... @@ -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.114.14.70

10/11 13:06, , 1F
感謝 我試試 我現在是直接 sudo gvim /etc/crontab @@
10/11 13:06, 1F
文章代碼(AID): #18xsZ2Tf (Linux)
討論串 (同標題文章)
文章代碼(AID): #18xsZ2Tf (Linux)