Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2001 15:19:46 -0500 (CDT)
From:      James Wyatt <jwyatt@rwsystems.net>
To:        =?windows-1257?Q?Mat=EEss_Elsbergs?= <sandstorm@astranet.lv>
Cc:        Marc Veldman <freebsd@lurkie.xs4all.nl>, Kal Torak <kaltorak@quake.com.au>, freebsd-isp@freebsd.org
Subject:   Re: Background processes limiting
Message-ID:  <Pine.BSF.4.10.10107141512410.46742-100000@bsdie.rwsystems.net>
In-Reply-To: <002801c10ced$c1a0ae00$9653949f@lv>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 14 Jul 2001, [windows-1257] Mat=EEss Elsbergs wrote:
> >Couldn't you just add a priority=3D15
> >(or any high 'nice' value) to the login class for
> >the free shell users ?
>=20
> Of course I can, for I am the root :-), but that's not what I want.
>=20
> Since I started this thread, I was sitting at the manual, searching inter=
net
> for hours, but I didn't find anything on this. I guess, there must be a m=
an
> who 'knows how' and is willing to say the right words.

I'm sure there is a man or woman on the list who can answer it, but they
may have already killed the thread or be on vacation... I'll try to help.

I have seen such things done in .logout scripts, but usually users can
remove the .logout file to prevent the action. One approach might be to
have a script run from cron that finds processes with a PPID of "1"
(parent now init) and owned by a regular login user and kills them.
Another might be to look for regular-user process without an associated
tty device. Hope this helps... - Jy@


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10107141512410.46742-100000>