Date: Tue, 7 Oct 2008 18:32:51 GMT From: Alex Keda <admin@lissyara.su> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/127929: Not work limits from login.conf Message-ID: <200810071832.m97IWpos036303@www.freebsd.org> Resent-Message-ID: <200810071840.m97Ie2VL026052@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 127929
>Category: kern
>Synopsis: Not work limits from login.conf
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 07 18:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Alex Keda
>Release: 6.x; 7.x
>Organization:
USSR
>Environment:
FreeBSD hosting.lissyara.su 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Sat Sep 6 21:22:33 MSD 2008 lissyara@hosting.lissyara.su:/tmp/obj/usr/src/sys/hosting amd64
>Description:
I have this in login.conf:
===============
# test
limited:\
:cputime-cur=20s:\
:cputime-max=30s:\
:cputime=30s:\
:tc=default:
===============
I have account:
===========
lissyara:*:1000:1000:limited:0:0:Alex Keda:/home/lissyara:/bin/csh
===========
if I login from ssh and run
hosting$ cat /dev/random > /dev/null
Cputime limit exceeded
hosting$
it work.
==========
else, if I login as root and execute 'su lissyara'
- it not work. I can get more then 30 seconds cpu time.
some programs - for example - suexec from apache, run processes from another users - and limits not work =(
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810071832.m97IWpos036303>
