با سلام
دوستان یک مشکلی دارم اینکه تو کرون جاب این پیغام میاد مشکلش چیه ؟
root@ [~]# crontab -e
System error
You (root) are not allowed to access to (/usr/bin/crontab) because of pam configuration.
نمایش نسخه قابل چاپ
با سلام
دوستان یک مشکلی دارم اینکه تو کرون جاب این پیغام میاد مشکلش چیه ؟
root@ [~]# crontab -e
System error
You (root) are not allowed to access to (/usr/bin/crontab) because of pam configuration.
دسترسی تنطیم کرون به شما داده نشده از مدیر سرور کمک بگیرید.
دلیلی نداره مدیر سرور هم باشید باید این دسترسی رو ایجاد کنید
ببنید
On a CentOS system I was tweaking the /etc/security/access.conf file and as this required that I also loaded the pam_access.so module by declaring it in /etc/pam.sshd.
Doing this caused crond to stop working... (the message of this post).
The solution was to uncomment the following line (in /etc/security/access.conf):
+ : root : cron crond :0 tty1 tty2 tty3 tty4 tty5 tty6
This will allow root user to use its crontab file.
See http://spectlog.com/content/Login_ac..._access_module
# User "root" should be allowed to get access via cron .. tty5 tty6.
#+ : root : cron crond :0 tty1 tty2 tty3 tty4 tty5 tty6
این موارد به صورت زیر هست uncomment کردن منظور شارپ بزاریم دیگه ؟
خوب خودش شارپ داشت !!!
درود
با دستور زیر edit کنید دوست عزیز نیازی به crontab نیست:
nano -w /var/spool/cron/root
ارادj
:53: