Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues with cron regarding PAM and authentication
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kaizushi
n00b
n00b


Joined: 22 Sep 2018
Posts: 19

PostPosted: Sun Feb 16, 2020 10:50 pm    Post subject: Issues with cron regarding PAM and authentication Reply with quote

I am having issues with cron, where I get this error if I try to edit my crontab...

Code:

 crontab -e
You (kaizushi) are not allowed to access to (crontab) because of pam configuration.


The auth.log shows this error:
Code:

Feb 16 17:48:58 stack unix_chkpwd[4353]: could not obtain user info (kaizushi)


I have tried turning off SELinux, and the permissions for /var/spool/crontabs seems fine, for some reason I get that auth error. I can log in fine via SSH, so I am not sure why it is doing this.

pwck -r
Code:

# pwck -r
pwck: no changes


getent passwd kaizushi
Code:

kaizushi:x:1000:1000::/home/kaizushi:/bin/bash


my user in shadow with password omitted:
Code:

kaizushi:omitted:18308:0:99999:7:::


The issue was filecaps and I just needed to reinstall 'pam' to fix things. I loaded a backup which did not have the correct extended attributes.
_________________
I cook a delicious onion stew without any chili peppers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum