From owner-freebsd-questions Fri Jun 22 20:17:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rexroof.com (po.wccnet.org [198.111.177.192]) by hub.freebsd.org (Postfix) with ESMTP id A776237B401 for ; Fri, 22 Jun 2001 20:17:11 -0700 (PDT) (envelope-from rex@rexroof.com) Received: (from rex@localhost) by rexroof.com (8.11.1/8.11.1) id f5N3HHM19729; Fri, 22 Jun 2001 23:17:17 -0400 (EDT) Date: Fri, 22 Jun 2001 23:17:17 -0400 From: "Rex A. Roof" To: freebsd-questions@freebsd.org Subject: login.conf restrictions Message-ID: <20010622231717.A19668@rexroof.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have restrictions on openfiles and maxprocesses set up in my login.conf for my users. But I find this is causing problems whenever I have to restart a system daemon (apache, sendmail, idled, etc). When these processes start at bootup, they run just fine w/out issue. But if they ever need to be restarted they tend to die in a matter of hours. When these processes are restarted they're by a user in a class called 'staff' that has it's own login.conf setup. I've tried while su'ed with the -c option, and while su'ed with 'su - root', both with no results. here's the relevant parts of my /etc/login.conf: default:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,\ FTP_PASSIVE_MODE=YES,PW_SCAN_BIG_IDS=1:\ :path=~/bin /bin /usr/bin /usr/local/bin /usr/X11R6/bin:\ :nologin=/etc/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ :stacksize=unlimited:\ :memorylocked=unlimited:\ :memoryuse=unlimited:\ :filesize=unlimited:\ :coredumpsize=0:\ :openfiles=50:\ :maxproc=50:\ :sbsize=unlimited:\ :priority=0:\ :ignoretime@:\ :password_format=des:\ :umask=022: staff:\ :ignorenologin:\ :maxproc=unlimited:\ :openfiles=unlimited:\ :priority=-1:\ :tc=default: this machine is: FreeBSD m-net.arbornet.org 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Mar 2 00:12:36 EST 2001 trex@m-net.arbornet.org:/usr/src/sys/compile/MNET i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message