Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2002 15:31:44 +0100
From:      dslb@tiscali.dk
To:        questions@freebsd.org
Subject:   login.conf problem
Message-ID:  <3D9FE7F600007E37@cpfe5.be.tisc.dk>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D9FE7F600007E37>