On 2006-03-12 Julien Valroff <[EMAIL PROTECTED]> wrote:
> Package: findutils
> Version: 4.1.20-6
> Severity: normal

> On a vserver, /etc/cron.daily/find issues "su: permission denied" if
> nice priority is different from 0:

> ~# LOCALUSER="nobody" nice -n10 updatedb
> su: Permission denied

> ~# LOCALUSER="nobody" nice -n0 updatedb

> As the default value in /etc/updatedb.conf is 10, the db cannot be
> updated.  I have no idea of the setup of the vserver host, but can
> try to ask my provider.

That's triggered by <http://bugs.debian.org/241663>, (see also
<http://bugs.debian.org/240873>) pam_limits tries to re-reset the nice
level to 0 and this seems to be one of the things that are not
possible on a vserver. I had to comment
session    required   pam_limits.so
in /etc/pam.d/su myself.
             cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to