On 2002.11.30 15:53 Matthew Seaman wrote: > Perhaps :- > > * The login.conf class 'test' you've created hasn't been set as the > login class for the user 'test'? > > pw user mod -n test -L test
main# pw user mod -n test -L test main# pw user show test test:*:1000:1000:test:0:0:test thing:/home:/bin/tcsh > * You forgot to rebuild /etc/login.conf.db after editing > /etc/login.conf: > > cap_mkdb /etc/login.conf main# cap_mkdb /etc/login.conf > Oh, and you probably want to modify your test login class a little: > > test:\ > :openfiles=15:\ > :tc=default: > > or you won't get any reasonable settings for a bunch of other stuff. Ok, done that and made a cap_mkdb, but still: main# su test %./infoon | grep open Max open files(s): 3664 Max open files(h): 3664 The source code (from infoon): getrlimit(RLIMIT_NOFILE, &max_graense); if (max_graense.rlim_cur == RLIM_INFINITY) cout<<"Max open files: No limit"<<endl; else cout<<"Max open files(s): "<<max_graense.rlim_cur<<endl; if (max_graense.rlim_max == RLIM_INFINITY) cout<<"Max open files(h): No limit"<<endl; else cout<<"Max open files(h): "<<max_graense.rlim_max<<endl; br socketd To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message