On 17:47 Thu 06 Dec , Lowell Gilbert wrote:
Vagner vag...@bsdway.ru writes:
On 06:53 Thu 06 Dec , Charles Swiger wrote:
su -, su -l, and sudo -i provide a login shell, which gets the
limits setup by login.conf. Normally daemons are started at boot
via rc mechanism (or perhaps get
Hi all!
I need help configuring limits for users at FreeBSD 8.3.
I set next options and parametrs at login.conf(5):
mydaemon:\
:cputime=5s:\
:memoryuse=500m:\
:vmemoryuse=500m:\
:tc=default:
changed class for user, running cap_mkdb(1). But if i running process
a user
Hi--
On Dec 6, 2012, at 6:32 AM, Vagner vag...@bsdway.ru wrote:
Hi all!
I need help configuring limits for users at FreeBSD 8.3.
I set next options and parametrs at login.conf(5):
[ … ]
# sudo -u daemon limits
Resource limits (current):
cputime infinity secs
but:
# su
On 06:53 Thu 06 Dec , Charles Swiger wrote:
Hi--
On Dec 6, 2012, at 6:32 AM, Vagner vag...@bsdway.ru wrote:
Hi all!
I need help configuring limits for users at FreeBSD 8.3.
I set next options and parametrs at login.conf(5):
[ ? ]
# sudo -u daemon limits
Resource limits (current):
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
Vagner vag...@bsdway.ru writes:
On 06:53 Thu 06 Dec , Charles Swiger wrote:
su -, su -l, and sudo -i provide a login shell, which gets the
limits setup by login.conf. Normally daemons are started at boot
via rc mechanism (or perhaps get spawned from inetd) and do not
have a login shell