From owner-freebsd-questions Sat Nov 30 6:31:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BB9B37B401 for ; Sat, 30 Nov 2002 06:31:54 -0800 (PST) Received: from smtp010.tiscali.dk (smtp010.tiscali.dk [212.54.64.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9705843E4A for ; Sat, 30 Nov 2002 06:31:53 -0800 (PST) (envelope-from dslb@tiscali.dk) Received: from cpmail.dk.tiscali.com ([212.54.64.52]) by smtp010.tiscali.dk (8.12.5/8.12.5) with ESMTP id gAUEVkoi029257 for ; Sat, 30 Nov 2002 15:31:46 +0100 (MET) Received: from [213.237.112.252] by cpmail.dk.tiscali.com with HTTP; Sat, 30 Nov 2002 15:31:44 +0100 Date: Sat, 30 Nov 2002 15:31:44 +0100 Message-ID: <3D9FE7F600007E37@cpfe5.be.tisc.dk> From: dslb@tiscali.dk Subject: login.conf problem To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable 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 Hi all I have written a small program that outputs some info about itself (proce= ss info). I have used getrlimit() to output the max openfiles field. As root I get: main# ./infoon | grep open Max open files(s): 3664 Max open files(h): 3664 I have created a test user and have written this in /etc/login.conf test:\ :openfiles=3D15: But when I su to test and run the program I get: %./infoon | grep open Max open files(s): 3664 Max open files(h): 3664 Why? br socketd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message