{"id":5436,"date":"2016-04-28T15:07:23","date_gmt":"2016-04-28T20:07:23","guid":{"rendered":"http:\/\/appcrawler.com\/wordpress\/?p=5436"},"modified":"2016-04-28T15:07:23","modified_gmt":"2016-04-28T20:07:23","slug":"you-username-are-not-allowed-to-access-to-crontab-because-of-pam-configuration","status":"publish","type":"post","link":"http:\/\/appcrawler.com\/wordpress\/2016\/04\/28\/you-username-are-not-allowed-to-access-to-crontab-because-of-pam-configuration\/","title":{"rendered":"You (username) are not allowed to access to (crontab) because of pam configuration."},"content":{"rendered":"<p>Check the password expiration settings for the user&#8230;<\/p>\n<pre>\r\n[hdfs@cmhlpdlakedg01 tobe]$ crontab -e\r\n\r\nAuthentication token is no longer valid; new one required\r\nYou (hdfs) are not allowed to access to (crontab) because of pam configuration.\r\n[hdfs@cmhlpdlakedg01 tobe]$\r\n\r\n[root@cmhlpdlakedg01 log]# chage -l hdfs\r\nLast password change                                    : Aug 13, 2015\r\nPassword expires                                        : Nov 11, 2015\r\nPassword inactive                                       : never\r\nAccount expires                                         : never\r\nMinimum number of days between password change          : 7\r\nMaximum number of days between password change          : 90\r\nNumber of days of warning before password expires       : 14\r\n[root@cmhlpdlakedg01 log]# chage -I -1 -m 0 -M 99999 -E -1 hdfs\r\n[root@cmhlpdlakedg01 log]# chage -l hdfs\r\nLast password change                                    : Aug 13, 2015\r\nPassword expires                                        : never\r\nPassword inactive                                       : never\r\nAccount expires                                         : never\r\nMinimum number of days between password change          : 0\r\nMaximum number of days between password change          : 99999\r\nNumber of days of warning before password expires       : 14\r\n[root@cmhlpdlakedg01 log]# su - hdfs\r\n[hdfs@cmhlpdlakedg01 ~]$ crontab -e\r\nno crontab for hdfs - using an empty one\r\ncrontab: installing new crontab\r\n[hdfs@cmhlpdlakedg01 ~]$ crontab -l\r\n0 1,3,5,7,9,11,13,15,17,19,21,23 * * * \/hadoop\/feeds\/akamai\/tobe\/copy.sh\r\n[hdfs@cmhlpdlakedg01 ~]$\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Check the password expiration settings for the user&#8230; [hdfs@cmhlpdlakedg01 tobe]$ crontab -e Authentication token is no longer valid; new one required You (hdfs) are not allowed to access to (crontab) because of pam configuration. [hdfs@cmhlpdlakedg01 tobe]$ [root@cmhlpdlakedg01 log]# chage -l&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"http:\/\/appcrawler.com\/wordpress\/2016\/04\/28\/you-username-are-not-allowed-to-access-to-crontab-because-of-pam-configuration\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"footnotes":""},"categories":[28,27],"tags":[],"_links":{"self":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/5436"}],"collection":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/comments?post=5436"}],"version-history":[{"count":1,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/5436\/revisions"}],"predecessor-version":[{"id":5438,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/posts\/5436\/revisions\/5438"}],"wp:attachment":[{"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/media?parent=5436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/categories?post=5436"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/appcrawler.com\/wordpress\/wp-json\/wp\/v2\/tags?post=5436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}