Subject: Re: operator shutdowns and su
To: Hubert Feyrer <hubert@feyrer.de>
From: Thomas Klausner <wiz@netbsd.org>
List: tech-userlevel
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:
	cd /usr/pkgsrc/net/mldonkey
	make install
	echo mldonkey=YES >> /etc/rc.conf
	/etc/rc.d/mldonkey start
	[login as non-root operator that may run shutdown]
	shutdown -p now

 Thomas