[arch-dev-public] [signoff] pkgstats 2.1-1

Thomas Bächler thomas at archlinux.org
Mon Sep 13 09:43:33 EDT 2010


Am 13.09.2010 13:18, schrieb Pierre Schmitz:
> On Mon, 13 Sep 2010 13:16:53 +0200, Thomas Bächler
> <thomas at archlinux.org> 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20100913/e742f209/attachment.bin>


More information about the arch-dev-public mailing list