limits do not apply

rozhuk.im at gmail.com rozhuk.im at gmail.com
Mon Nov 7 12:47:43 UTC 2011


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



More information about the freebsd-hackers mailing list