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

Gaetan Bisson bisson at archlinux.org
Mon Sep 13 10:52:07 EDT 2010


[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
> > <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).

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 set to "0" (any positive value would
work).

-- 
Gaetan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20100913/13e87f45/attachment.bin>


More information about the arch-dev-public mailing list