You are not logged in.
I left my computer on while on a trip. I came back and saw that it had crashed. journalctl reported this:
segfault at d0 ip (some long number) sp (some long number) error 4 in logrotate[4]
process 556 (logrotate) dumped core.About thirty minutes later, I saw that crond had logged in as root. Then the computer crashed, rebooted to an encryption password prompt.
Jul 01 12:01:01 b1tviolin CROND[670]: pam_unix(crond:session): session closed for user root
Jul 01 12:01:01 b1tviolin CROND[671]: (root) CMD (run-parts /etc/cron.hourly)
Jul 01 12:01:01 b1tviolin crond[670]: pam_unix(crond:session): session opened for user root by (uid=0)
Jul 01 11:01:01 b1tviolin CROND[648]: pam_unix(crond:session): session closed for user root
Jul 01 11:01:01 b1tviolin CROND[649]: (root) CMD (run-parts /etc/cron.hourly)
Jul 01 11:01:01 b1tviolin crond[648]: pam_unix(crond:session): session opened for user root by (uid=0)Is it normal for crond to run as the root user?
crontab
#1 0 * * * /bin/bash /home/b1tgl0w/MyCreations/Scripts/RSystemBackupShutdown.bash
#0 20 * * * /usr/bin/unison BassDerby
#0 20 * * * /usr/bin/unison PaletteHarmony
#0 20 * * * /usr/bin/unison GameProgrammingForTeensCppLevel1I had sshd running with the following relevant configuration,
DenyUsers root, ... all users except foo
AllowUsers fooRelevant passwd
foo:x:...:...:/home/foo:/sbin/nologinWas I possibly hacked?
Thank you for your time.
Last edited by b1tgl0w (2013-07-09 19:18:36)
Offline
Is it normal for crond to run as the root user?
Completely normal. I'd be asking the question "was I hacked" if I found cron NOT running as root.
I'd say your computer just crashed.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thank you, I will keep this thread unsolved for a period of time while other opinions are posted.
Offline
I learned that there was a power outage during my trip. Solved.
Offline