In article <[EMAIL PROTECTED]> you write: >-----Original Message----- >From: Paul Miller <[EMAIL PROTECTED]> >To: Debian User <debian-user@lists.debian.org> >Date: Wednesday, August 05, 1998 6:20 AM >Subject: user limits > > >> >>Is there any way to limit background processes? > >Check out the ulimit command. More specifically >ulimit -u <number>
Other alternatives: 1. check /etc/limits, although I think this might only work for /bin/login, I am not sure. I would be surprised if ssh supported it. It would be good if all programs did support it, as lshell is (IMHO), rather a hacked solution (although it works), as it "replaces" the users login shell. 2. look at the debian package lshell: Package: lshell Status: install ok installed Priority: extra Section: admin Installed-Size: 30 Maintainer: Heiko Schlittermann <[EMAIL PROTECTED]> Version: 2.01-9 Depends: libc6 Conffiles: /etc/lshell.conf fbe8463ffdfed7454f79e2022e821bc7 Description: Enforce limits to protect system integrity. This program enforces resource quotas stored in a configuration file. It is easier and more secure that writing a shell script in /etc/profile and trying to compare user names in hard-coded if/else type trees. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null