Koozali.org: home of the SME Server

session opened for user root by (uid=0)

Offline rmoria

  • ****
  • 78
  • +0/-0
    • http://www.osvorca.nl
session opened for user root by (uid=0)
« on: July 25, 2006, 09:24:26 AM »
In my message log I see a lot of these.

Jul 25 03:25:01 servername crond(pam_unix)[19510]: session opened for user root by (uid=0)
Jul 25 03:25:02 servername crond(pam_unix)[19510]: session closed for user root

Password is secure (and I have changed it to test if it had been compromised). ssh is disabled.

If I do a search I see more people with this problem. Does anyone have a clue where this comes from?
...
Yes, I can ask more questions then you can answer  8-)
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: session opened for user root by (uid=0)
« Reply #1 on: July 25, 2006, 11:09:08 AM »
Quote from: "rmoria"
In my message log I see a lot of these.

Jul 25 03:25:01 servername crond(pam_unix)[19510]: session opened for user root by (uid=0)
Jul 25 03:25:02 servername crond(pam_unix)[19510]: session closed for user root

Password is secure (and I have changed it to test if it had been compromised). ssh is disabled.

If I do a search I see more people with this problem. Does anyone have a clue where this comes from?
Could it be that one of your cron jobs is running as user root?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline rmoria

  • ****
  • 78
  • +0/-0
    • http://www.osvorca.nl
session opened for user root by (uid=0)
« Reply #2 on: July 25, 2006, 11:19:27 AM »
It also happens at times where there are no custom cron-jobs.

Code: [Select]
Jul 25 10:55:02 nathan crond(pam_unix)[12668]: session opened for user root by (uid=0)
Jul 25 10:55:07 nathan crond(pam_unix)[12668]: session closed for user root


My cron jobs end around 04:00:00
...
Yes, I can ask more questions then you can answer  8-)
...

Offline JonB

  • *
  • 351
  • +0/-0
session opened for user root by (uid=0)
« Reply #3 on: July 25, 2006, 03:43:59 PM »
rmoria,

It's just log noise. Check the cron logs. It will tell you what is being run at what time and by what user.

I would suspect that you either have sme7admin or sysmon installed. cron runs sa1 (sysstat) every 5 minutes.

I notice that after doing the latest sme-testing updates, the crond entries in the messages log have disappeared.

Jon
...

Offline rmoria

  • ****
  • 78
  • +0/-0
    • http://www.osvorca.nl
session opened for user root by (uid=0)
« Reply #4 on: July 25, 2006, 04:10:30 PM »
Thanks, I do have sme7admin installed.
I'll just try to ignore the entries (or install the sme-test updates)
...
Yes, I can ask more questions then you can answer  8-)
...