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: [email protected] [mailto:owner-freebsd-
> [email protected]] On Behalf Of Joerg Sonnenberger
> Sent: Monday, November 07, 2011 6:20 PM
> To: [email protected]; [email protected]
> Subject: Re: limits do not apply
> 
> On Mon, Nov 07, 2011 at 01:24:05PM +0900, [email protected] 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
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-
> [email protected]"

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to