From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 7 09:20:02 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 022FC106566B; Mon, 7 Nov 2011 09:20:02 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo-p00-ob6.rzone.de (mo-p00-ob6.rzone.de [IPv6:2a01:238:20a:202:53f0::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5CB1D8FC15; Mon, 7 Nov 2011 09:20:01 +0000 (UTC) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/auYssSp3lvXv2GOaWqU= X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (ip-2-207-130-214.web.vodafone.de [2.207.130.214]) by smtp.strato.de (klopstock mo40) (RZmta 26.10 AUTH) with (DHE-RSA-AES128-SHA encrypted) ESMTPA id L067acnA77xceX ; Mon, 7 Nov 2011 10:19:53 +0100 (MET) Received: by britannica.bec.de (sSMTP sendmail emulation); Mon, 07 Nov 2011 10:19:51 +0100 Date: Mon, 7 Nov 2011 10:19:51 +0100 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org, hackers@freebsd.org Message-ID: <20111107091951.GC9484@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org, hackers@freebsd.org References: <4eb75d69.0e0ecc0a.29ec.3380@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4eb75d69.0e0ecc0a.29ec.3380@mx.google.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: limits do not apply X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2011 09:20:02 -0000 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