This is not my personal problem, this in: /etc/rc.subr if [ -n "$_user" ]; then _doit="su -m $_user -c 'sh -c \"$_doit\"'" fi
-- Rozhuk Ivan > -----Original Message----- > From: owner-freebsd-hack...@freebsd.org [mailto:owner-freebsd- > hack...@freebsd.org] On Behalf Of Joerg Sonnenberger > Sent: Monday, November 07, 2011 6:20 PM > To: freebsd-hackers@freebsd.org; hack...@freebsd.org > Subject: Re: limits do not apply > > On Mon, Nov 07, 2011 at 01:24:05PM +0900, rozhuk...@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 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers- > unsubscr...@freebsd.org" _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"