Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2011 10:19:51 +0100
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        freebsd-hackers@freebsd.org, hackers@freebsd.org
Subject:   Re: limits do not apply
Message-ID:  <20111107091951.GC9484@britannica.bec.de>
In-Reply-To: <4eb75d69.0e0ecc0a.29ec.3380@mx.google.com>
References:  <4eb75d69.0e0ecc0a.29ec.3380@mx.google.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 07, 2011 at 01:24:05PM +0900, rozhuk.im@gmail.com wrote:
> Scripts for which the specified user inherit it from the startup script,
> rather than generate it based on the settings for the user.
> 
> #su -m mysql -c '/bin/sh -c "/usr/bin/env"'

Try to use su -c default -m mysql ...

Joerg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111107091951.GC9484>