Login class and limit
cswiger at mac.com
Thu Dec 6 21:47:43 UTC 2012
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.
More information about the freebsd-questions