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

2010-09-13 Thread Pierre Schmitz
Hi everybody, pkgstats is neither in [core] or critical but nonetheless I'd like to get some positive feedback before moving it to extra and making an announcement. I have added a cronjob which is installed to /etc/cron.weekly and run as user nobody. This makes it an "install and forget" package

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

2010-09-13 Thread Thomas Bächler
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. signature.asc Description: OpenPGP digital signature

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

2010-09-13 Thread Pierre Schmitz
On Mon, 13 Sep 2010 13:16:53 +0200, Thomas Bächler 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

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

2010-09-13 Thread Dieter Plaetinck
On Mon, 13 Sep 2010 13:05:26 +0200 Pierre Schmitz wrote: > * the cron is run as nobody and not root (anyone knows how to do this > without sudo? no, su does not work it seems) You can setuid the file and give it a specific owner, it will be run as that user. If that's what you're asking. Also,

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

2010-09-13 Thread Pierre Schmitz
On Mon, 13 Sep 2010 13:22:03 +0200, Dieter Plaetinck wrote: > On Mon, 13 Sep 2010 13:05:26 +0200 > Pierre Schmitz wrote: > >> * the cron is run as nobody and not root (anyone knows how to do this >> without sudo? no, su does not work it seems) > > You can setuid the file and give it a specific

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

2010-09-13 Thread Dieter Plaetinck
On Mon, 13 Sep 2010 13:32:50 +0200 Pierre Schmitz wrote: > On Mon, 13 Sep 2010 13:22:03 +0200, Dieter Plaetinck > > You can setuid the file and give it a specific owner, it will be > > run as that user. If that's what you're asking. > > Yes, thought about that too. But: nobody shouldn't own an

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

2010-09-13 Thread Thomas Bächler
Am 13.09.2010 13:18, schrieb Pierre Schmitz: > On Mon, 13 Sep 2010 13:16:53 +0200, Thomas Bächler > 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/

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

2010-09-13 Thread Thomas Bächler
Am 13.09.2010 13:22, schrieb Dieter Plaetinck: > On Mon, 13 Sep 2010 13:05:26 +0200 > Pierre Schmitz wrote: > >> * the cron is run as nobody and not root (anyone knows how to do this >> without sudo? no, su does not work it seems) > > You can setuid the file and give it a specific owner, it will

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

2010-09-13 Thread Dan McGee
On Mon, Sep 13, 2010 at 8:44 AM, Thomas Bächler wrote: > Am 13.09.2010 13:22, schrieb Dieter Plaetinck: >> On Mon, 13 Sep 2010 13:05:26 +0200 >> Pierre Schmitz wrote: >> >>> * the cron is run as nobody and not root (anyone knows how to do this >>> without sudo? no, su does not work it seems) >> >

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

2010-09-13 Thread Gaetan Bisson
[2010-09-13 15:43:33 +0200] Thomas Bächler: > Am 13.09.2010 13:18, schrieb Pierre Schmitz: > > On Mon, 13 Sep 2010 13:16:53 +0200, Thomas Bächler > > 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 s

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

2010-09-13 Thread Pierre Schmitz
On Mon, 13 Sep 2010 16:52:07 +0200, Gaetan Bisson wrote: > [2010-09-13 15:43:33 +0200] Thomas Bächler: >> Am 13.09.2010 13:18, schrieb Pierre Schmitz: >> > On Mon, 13 Sep 2010 13:16:53 +0200, Thomas Bächler >> > wrote: >> >> Am 13.09.2010 13:05, schrieb Pierre Schmitz: >> >>> * the cron is run as

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

2010-09-13 Thread Gaetan Bisson
[2010-09-13 18:00:07 +0200] Pierre Schmitz: > On Mon, 13 Sep 2010 16:52:07 +0200, Gaetan Bisson > wrote: > > > > This can be overriden by "su -s /bin/sh nobody"; the issue here is that > > the third field of nobody's entry in /etc/shadow (which indicates when > > the password was last changed) is

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

2010-09-19 Thread Pierre Schmitz
On Mon, 13 Sep 2010 13:05:26 +0200, Pierre Schmitz wrote: > Hi everybody, > > pkgstats is neither in [core] or critical but nonetheless I'd like to > get some positive feedback before moving it to extra and making an > announcement. > > I have added a cronjob which is installed to /etc/cron.week