Re: Fetchmail WARNING: Running as root is discouraged....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message ----- From: "Neal Becker" <ndbecker2@xxxxxxxxx>
To: <fedora-test-list@xxxxxxxxxx>
Sent: Sunday, June 10, 2007 4:10 PM
Subject: Re: Fetchmail WARNING: Running as root is discouraged....


Jim Bevier wrote:


----- Original Message -----
From: "Bob Hillegas" <bobhillegas@xxxxxxxxxxxxxx>
To: "For testers of Fedora Core development releases"
<fedora-test-list@xxxxxxxxxx>
Sent: Friday, June 08, 2007 8:12 PM
Subject: Fetchmail WARNING: Running as root is discouraged....

What I did was download the source (yumdownloader -source fetchmail) and
modify the source to comment out the message.  Then compile it and
install.
I then added an entry to cron as root and run it every 6 minutes.  No
message to log and it works fine.  Not sure why they added the message
sometime during FC5.

Jim


Why run as root?

I use this in /etc/rc.local:
su - nbecker -c 'fetchmail -d 60'

Running as root allows me to download about 12 different users e-mail from my ISP, deliver it to the users, and run spamassassin with custom configurations. Now if it was just one name, your suggestion would be correct, and I would not have to run as root. The alternative would be to have a crontab entry for each user, and let it work from there. One file from root is much easier.

Jim


--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe:
https://www.redhat.com/mailman/listinfo/fedora-test-list


--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux