On Thu, 21 Aug 2003 15:00:06 +0900
Jason Stubbs <[EMAIL PROTECTED]> wrote:

> To use cron as an unpriveleged user, that user must be in the cron group in 
> /etc/group. Once that is done, logout and login again to update permissions, 
> after which you can run "crontab -e" to edit your cron jobs. I think it's 
> insane, but group membership only seems to be read at logon time. (somebody 
> please correct me and/or tell me how to make it *always* read /etc/group!) 

hi,

it's kind of silly but you could do:

% sg cron -c 'crontab -e'

from the current shell after being added to cron group. that prevents a logout
at least. or "newgrp cron", too.

j.


> 
> Regards,
> Jason
> 
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 



--
[EMAIL PROTECTED] mailing list

Reply via email to