Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2012 12:46:13 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Vagner <vagner@bsdway.ru>
Cc:        FreeBSD questions Mail List <freebsd-questions@freebsd.org>
Subject:   Re: Login class and limit
Message-ID:  <9412CF9C-AF9B-4D58-8FD7-D8971180D8AC@mac.com>
In-Reply-To: <20121206203638.GA4540@vagner-wrk.bsdway.ru>
References:  <20121206143201.GB42583@vagner-wrk.bsdway.ru> <37A52274-D877-4AED-82F3-CF058DEC9DBE@mac.com> <20121206203638.GA4540@vagner-wrk.bsdway.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 6, 2012, at 12:36 PM, Vagner wrote:
[ ... ]
>> Either use one of the su/sudo flavors I mention above, or "/bin/sh -l"
>> to provide a login env to the process?
> 
> ie means to implement restrictions limits(1) and login.conf(5) for daemons is not possible?

Sure, it's possible: run the daemon within a login shell.  However, normally, daemons
aren't started from a login shell and do not inherit the limits setup by login.conf.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9412CF9C-AF9B-4D58-8FD7-D8971180D8AC>