-1

So in the nutshell :

There was user John with 502:502.

After i deleted John and recreated him, his UID:GID changed to 504:504.

Cronjobs are still running under the John's crontab, but when the cronjobs are happening they are writing some files into /home/John in the name of 502:502.

It is quite a mess, and I am not sure what would be the easier way to solve it, either change current John's uid and gid to 502:502 - which could cause more problems with files the user was working since. But I was thinking that going somewhere to cron config and changing John's uid:gid from 502:502 to 504:504 there, inside cron.

Looked all over the place, but can not find it. Any ideas ?

EDIT: I am on CentOS 6

1
  • Sounds like you're on a Mac, but you should give your operating system information explicitly.
    – Kyle Jones
    May 16, 2012 at 3:28

2 Answers 2

0

Try looking in /var/spool/cron for the user crontabs.

0

You probably have a name service caching daemon running on your system, try to restart it. Typical names contain something like nscd.

You can also check /var/spool/cron/crontabs/John (or the equivalent file) and make sure that the file has the correct permissions. Otherwise it may help to restart cron.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .