|
From: Jason S. <jas...@gm...> - 2005-10-23 01:01:17
|
I have a brand new install of OS X Server on a test machine. I could give you full root access to everything on the test box if it'd help (root login= , SSH access, Webmin, Usermin, etc.) I'm not too worried because it's only a test machine anyway and I can erase everything once done. :-) On 10/22/05, Jason Self <jas...@gm...> wrote: > > Nope. I enabled the module for Usermin and it displayed root's crontab > (I recognized it immediately because mine is significantly different.) > I created a new entry, then checked & it was also created in root's > crontab. > > Interestingly, it didn't display _all_ of root's crontab. Things like > /usr/libexec/atrun and periodic daily, weekly, monthly were not > listed. > > On 23 Oct 2005 09:35:13 +1000, Jamie Cameron <jca...@we...> wrote: > > Hmm .. perhaps there is a Usermin bug that only appears on OSX. > > If you use the Scheduled Cron Jobs module to create a job, does it get > > correctly run as the logged-in Usermin user? > > > > - Jamie > > > > On Sun, 2005-10-23 at 02:11, Jason Self wrote: > > > Yes; I've logged in as a test user I've created as well as myself. Th= e > > > cron jobs always get created as the root user. > > > > > > On 10/22/05, Jamie Cameron <jca...@we...> wrote: > > > > I would say that the fact that the cron job is run as root is the > cause > > > > of the problem .. however, on my system it is always created as the > correct user. > > > > I presume that you logged into Usermin as some non-root user, went > to the Fetchmail > > > > module and enabled scheduled checking? If you login as root, it wil= l > set up a Cron > > > > job that one check root's Fetchmail config. > > > > > > > > - Jamie > > > > > > > > On 22/Oct/2005 16:00 Jason Self wrote .. > > > > > Usermin 1.170 (with Fetchmail updates applied) > > > > > Webmin 1.240 > > > > > Mac OS X Server 10.3.9 > > > > > > > > > > Progress is being made. Now fetchmail is actually started > > > > > periodically, but returns the error "no mailservers have been > > > > > specified" and I think I know why. > > > > > > > > > > Usermin appropriately creates the .fetchmailrc file in my test > user's > > > > > home directory. When configuring scheduled checking via Usermin, > > > > > though, the cron job is created so that > ~/.usermin/fetchmail/check.pl > > > > > is run by root, and not by the individual user. > > > > > > > > > > The root user doesn't have a .fetchmailrc file so fetchmail spits > the > > > > > error and bails. > > > > > > > > > > I manually ran ~/.usermin/fetchmail/check.pl as the test user and > it > > > > > worked correctly. So the solution seems to be installing the cron > jobs > > > > > as the user that's running fetchmail and not root. Yes? No? > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by: > > > > > Power Architecture Resource Center: Free content, downloads, > discussions, > > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > > - > > > > > Forwarded by the Webmin mailing list at > web...@li... > > > > > To remove yourself from this list, go to > > > > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by: > > > > Power Architecture Resource Center: Free content, downloads, > discussions, > > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > > - > > > > Forwarded by the Webmin mailing list at > web...@li... > > > > To remove yourself from this list, go to > > > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by the JBoss Inc. > > > Get Certified Today * Register for a JBoss Training Course > > > Free Certification Exam for All Training Attendees Through End of 200= 5 > > > Visit http://www.jboss.com/services/certification for more informatio= n > > > - > > > Forwarded by the Webmin mailing list at > web...@li... > > > To remove yourself from this list, go to > > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the JBoss Inc. > > Get Certified Today * Register for a JBoss Training Course > > Free Certification Exam for All Training Attendees Through End of 2005 > > Visit http://www.jboss.com/services/certification for more information > > - > > Forwarded by the Webmin mailing list at > web...@li... > > To remove yourself from this list, go to > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > |