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 with the class mydaemon, which uses cpu time > 5s , process not
finished.

> # sudo -u daemon limits
> Resource limits (current):
>   cputime              infinity secs

but:

> # su - daemon -c 'limits'
> Resource limits (current):
>   cputime                     5 secs

Why? And how can i running process without su(1) to apply limits for
my user class?
Thx!

-- 
Respectfully,
Stanislav Putrya
System administrator
FotoStrana.Ru Ltd.
ICQ IM: 328585847
Jabber-GoogleTalk: root.vagner
mob.phone SPB: +79215788755
mob.phone RND: +79525600664
email: vag...@bsdway.ru
email: put...@playform.ru
email: root.vag...@gmail.com
site: bsdway.ru
site: fotostrana.ru

----------------------------------------
 ( ) ASCII ribbon campaign
  X  - against HTML, vCards and
 / \ - proprietary attachments in e-mail
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to