Subject: Re: su(1) asking for pw if euid==0
To: None <tech-userlevel@NetBSD.org>
From: Bill Stouder-Studenmund <firstname.lastname@example.org>
Date: 07/13/2007 12:36:04
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 11, 2007 at 09:11:35AM +0200, Peter Bex wrote:
> On Wed, Jul 11, 2007 at 02:07:34AM +0000, Christos Zoulas wrote:
> > >So, what should be fixed? su(1), rc(8) or my understanding of them?
> > Make the setuid program set the real id to 0 before exec'ing su.
> Yes, please do this! I've also had problems with database/postgresql from
> pkgsrc. It also tries to use su to stop a daemon, which prompts for
> a password if you run shutdown as normal user.
database/postgresql is why I started a thread about this a while ago which=
resulted in the fixed version of shutdown. :-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
-----END PGP SIGNATURE-----