Subject: Re: operator shutdowns and su
To: Hubert Feyrer <email@example.com>
From: Thomas Klausner <firstname.lastname@example.org>
Date: 05/14/2006 16:13:54
On Sat, May 13, 2006 at 08:14:01PM +0200, Hubert Feyrer wrote:
> actually it gets run with UID=user,EUID=0, and putting something like 'su
> user -c id' brought the right thing without asking for a password.
> How to reproduce the problem?
Well, perhaps the mldonkey script is doing something wrong.
Here is how I get the problematic prompt:
echo mldonkey=YES >> /etc/rc.conf
[login as non-root operator that may run shutdown]
shutdown -p now