View previous topic :: View next topic |
Author |
Message |
santo n00b
Joined: 24 Apr 2002 Posts: 44 Location: Belgium
|
Posted: Wed Feb 05, 2003 8:14 am Post subject: unable to update crontab with KCron |
|
|
I can't edit my crontab with KCron.
When I want to save my settings in KCron, I get this error:
Quote: | An error occurred while updating crontab |
When I add an entry to the cron from the command line, with
and then open KCron again, the entry I just added doesn't show up.
Even more, the cron is always empty.
Which cron does KCron use and as which user does it run ?
I supposed it tries to open the cron for the user who's KDE session is running, but why isn't it showing the contents of that crontab then ?
Note: I already googled for it, but didn't found any result at all |
|
Back to top |
|
|
green sun Guru
Joined: 04 Nov 2002 Posts: 325 Location: Wista, MA
|
Posted: Wed Feb 05, 2003 3:45 pm Post subject: |
|
|
Have you tried running KCron as root? Also what cron proggy did you emerge? VCron, etc?
You can set KDE menu items to run as different users, FYI... go to the Menu Editor (right click on the K Menu button) & navigate down to the proggy icon.. not sure if this will help... |
|
Back to top |
|
|
santo n00b
Joined: 24 Apr 2002 Posts: 44 Location: Belgium
|
Posted: Wed Feb 05, 2003 4:01 pm Post subject: |
|
|
No, I didn't try to run KCron as root, because I want a user to be able to modify its own cron tab without having to know the root password.
Indeed, I emerged VCron. I suppose this should be ok ?
I just modified the "shortcut" for KCron to run as root and now it appears to work.
But of course I have to provide the root password, and I don't want that because of the reason I mentioned in the first paragraph.
But hey, now it works already (as root).
I can live with it for now, but nevertheless I want to be able to run it as another user.
Thanx already ! |
|
Back to top |
|
|
green sun Guru
Joined: 04 Nov 2002 Posts: 325 Location: Wista, MA
|
Posted: Wed Feb 05, 2003 6:01 pm Post subject: |
|
|
Great! I don't need user crontabs, since Im the only one using the machine, and I mainly just use that to run periodic stuff that would be good for all users anyways... |
|
Back to top |
|
|
wyleyrabbit n00b
Joined: 05 Mar 2003 Posts: 5
|
Posted: Wed Mar 12, 2003 7:34 am Post subject: solution to Kcron issues |
|
|
Hi all,
I had the same problem you were talking about.
The solution for me seemed to be to make sure that each user is a member of the "cron" group. Just open "kuser" and add each user to the "cron" group.
Let us know if it works for you.
Wyleyrabbit |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Wed Oct 08, 2003 8:14 am Post subject: |
|
|
The error message is related to the shadow file. People were having the same problem with Kuser. If you run "pwconv" as root, this will generate shadow passwords for you and allow you to use Kcron as a non-root user.
nahpets
Quote: |
$ man pwconv
NAME
pwconv, pwunconv, grpconv, grpunconv - convert to and from shadow passwords and groups.
|
|
|
Back to top |
|
|
The Dealy Lama n00b
Joined: 10 Jun 2003 Posts: 35 Location: Da'ath
|
Posted: Thu Nov 27, 2003 8:31 am Post subject: Re: solution to Kcron issues |
|
|
wyleyrabbit wrote: | Hi all,
I had the same problem you were talking about.
The solution for me seemed to be to make sure that each user is a member of the "cron" group. Just open "kuser" and add each user to the "cron" group.
Let us know if it works for you.
Wyleyrabbit |
IMHO, this info should be put into the ebuild of the respective cron packages! Had a tough time configuring a users crontab until I spotted the possibility of adding this user to the cron-group(fcron is my preferred app.). Fixed it good! _________________ "The shadows of this world are perceived by mortals, and they think they know the Truth, but the Reality which casts the shadows is hidden from them, and they do not perceive the Light." (Sayings 2:2)" |
|
Back to top |
|
|
|