Ubuntu 下 crontab -e 無法寫入 - Linux

By Dorothy
at 2008-10-10T22:37
at 2008-10-10T22:37
Table of Contents
※ 引述《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 試試看... @@
--
--
: 我把 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 試試看... @@
--
--
Tags:
Linux
All Comments

By Emily
at 2008-10-15T09:23
at 2008-10-15T09:23
Related Posts
Gentoo-gnome

By Selena
at 2008-10-10T22:29
at 2008-10-10T22:29
苦手雙系統問題

By Iris
at 2008-10-10T20:21
at 2008-10-10T20:21
VirtualBox的bridge模式一直無法設定起來

By Olive
at 2008-10-10T20:16
at 2008-10-10T20:16
4G on Linux

By Suhail Hany
at 2008-10-10T20:08
at 2008-10-10T20:08
RealPlayer11 for linux

By Charlotte
at 2008-10-10T18:32
at 2008-10-10T18:32