LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-07-2018, 08:15 AM   #1
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Rep: Reputation: Disabled
pam_access(crond:account): access denied for user `root' from `cron'


I checked my logs. I saw a lot of this
Apr 7 21:00:01 localhost crond[33915]: pam_access(crond:account): access denied for user `root' from `cron'

Then I check my access.conf
# User "root" should be allowed to get access via cron .. tty5 tty6.
+ : root : cron crond tty1

but why am I getting this error in my secure logs. Am I am attacked or compromised ?
 
Old 04-08-2018, 03:35 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by newbie14 View Post
but why am I getting this error in my secure logs. Am I am attacked or compromised ?
Not sure why (you haven't posted much information) and while it certainly is good to be vigilant please do not immediately assume malicious activity. We've got quite a knowledge base, see if a thread like https://www.linuxquestions.org/quest...ed-4175492110/ helps?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] pam_access(sshd:account): access denied for user `local' from `server' neogeo Linux - Newbie 3 04-07-2022 09:10 AM
fatal: Access denied for user by PAM account configuration [preauth] cp24eva Linux - Newbie 1 05-15-2017 02:30 PM
Unable to access phpMyAdmin from my browser? Root user denied and regular user as well? cyberdome Linux - Newbie 9 03-30-2016 12:28 AM
root access to user account RudraB Linux - Newbie 16 06-30-2010 02:11 AM
Can Access Sites with root but not user account Obelus Linux - Networking 4 12-21-2003 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration