On Thursday 21 August 2003 11:16, oleander wrote: > 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.
Yep, that works. It's more of a workaround though. Can anybody offer an explanation as to why do/should modifications to /etc/group only take effect at logon? Regards, Jason -- [EMAIL PROTECTED] mailing list