Am 13.09.2010 13:18, schrieb Pierre Schmitz: > On Mon, 13 Sep 2010 13:16:53 +0200, Thomas Bächler > <[email protected]> wrote: >> Am 13.09.2010 13:05, schrieb Pierre Schmitz: >>> * the cron is run as nobody and not root (anyone knows how to do this >>> without sudo? no, su does not work it seems) >> >> $ su -c "/usr/bin/pkgstats" nobody >> I use this everywhere, and it works. > > Doesn't work here (tested on several systems). It always asks me to > change the password for the user nobody.
Yes, the user needs to be able to log in (nobody has an invalid shell by default iirc). I think you can work around this, somehow, I'll check later. sudo seems like a bad choice anyway.
signature.asc
Description: OpenPGP digital signature

