DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-11-02 13:08:21

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

crontab OK?

In var/log/messages I spotted this:

Nov  2 01:59:00 CH3SNAS cron.notice crond[1601]: USER root pid 3200 cmd /usr/sbin/daylight &^M
Nov  2 02:00:01 CH3SNAS cron.notice crond[1601]: USER root pid 3208 cmd /usr/sbin/getdhcp&
Nov  2 02:10:01 CH3SNAS cron.notice crond[1601]: USER root pid 3250 cmd /usr/sbin/getdhcp&
Nov  2 02:20:01 CH3SNAS cron.notice crond[1601]: USER root pid 3292 cmd /usr/sbin/getdhcp&
Nov  2 02:30:01 CH3SNAS cron.notice crond[1601]: USER root pid 3334 cmd /usr/sbin/rtc -c^M
Nov  2 02:30:01 CH3SNAS cron.notice crond[1601]: USER root pid 3336 cmd /usr/sbin/getdhcp&
Nov  2 02:34:01 CH3SNAS cron.notice crond[1601]: USER root pid 3342 cmd /usr/sbin/rtc -s^M

Does the "^M", after daylight and rtc, suppose to be there?

When I type cat /var/spool/cron/crontabs/root the output is without ^M
but when I type vi /var/spool/cron/crontabs/root the editor shows the ^M is there!

I never edited the file /var/spool/cron/crontabs/root manually, so it wasn't me.

Do I need to correct this in some way and will it survive reboot?
Or is this perfectly normal?


CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#2 2008-11-02 20:00:10

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: crontab OK?

I removed all the ^M 's from the file root with vi editor.

vi /var/spool/cron/crontabs/root

After reboot all the ^M 's are back in place.
Because ^M looks the same like you edit file in Windows en copy file to NAS I think it's not OK to have them here.

Can somebody please check with vi if they also have the ^M 's in the above mentioned file?

Thx.

Last edited by perssinaasappel (2008-11-02 20:01:05)


CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

#3 2008-11-02 20:47:01

RunaR
Member
Registered: 2008-08-14
Posts: 49

Re: crontab OK?

Yup, I got the ^Ms there too:

Nov  1 01:59:01 POLYHEX cron.notice crond[927]: USER root pid 6125 cmd /usr/sbin/daylight &^M
Nov  1 02:32:01 POLYHEX cron.notice crond[927]: USER root pid 6347 cmd /usr/sbin/rtc -s^M
Nov  2 01:59:01 POLYHEX cron.notice crond[927]: USER root pid 16833 cmd /usr/sbin/daylight &^M
Nov  2 02:30:01 POLYHEX cron.notice crond[927]: USER root pid 17042 cmd /usr/sbin/rtc -c^M
Nov  2 02:34:01 POLYHEX cron.notice crond[927]: USER root pid 17045 cmd /usr/sbin/rtc -s^M

Offline

 

#4 2008-11-02 21:52:59

perssinaasappel
Member
From: Europe
Registered: 2008-10-22
Posts: 59

Re: crontab OK?

Thx, good to know.

Maybe a guru can tell us if this needs fixing?


CH3SNAS • 1.05b5 • ffp 0.5 • 2x WD Caviar Green WD5000AACS • nzbget(web)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB