From owner-freebsd-questions Sun Feb 28 3:10: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from alpha.comkey.com.au (alpha.comkey.com.au [203.9.152.215]) by hub.freebsd.org (Postfix) with SMTP id A8CC015210 for ; Sun, 28 Feb 1999 03:09:50 -0800 (PST) (envelope-from gjb@comkey.com.au) Received: (qmail 7690 invoked by uid 1001); 28 Feb 1999 11:02:15 -0000 Message-ID: <19990228110215.7689.qmail@alpha.comkey.com.au> X-Posted-By: GBA-Post 1.04 06-Feb-1999 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Sun, 28 Feb 1999 21:02:15 +1000 From: Greg Black To: Paul Dekkers Cc: FreeBSD Mailinglist Subject: Re: More than 16 logins and more than one login for a user? References: In-reply-to: of Sat, 27 Feb 1999 22:27:29 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > | > Besides I want to know if it is possible to restrict a user to just one or > | > two logins at a time... I thought that would be a nice option for the > | > login.conf put I couldn't find it there -maybe use idled? > | > | You didn't look very hard. Check the sessionlimit field as > | discussed in the man page for login.conf(5). > > Ok, but I heared many people saying it doesn't work, and that's exactly > what my problem is: I couldn't get it working too... Please read the regular article about how to ask questions and then think a bit more about this. What did you do? Where did you look for guidance? What did you expect? Here are some suggestions. First read the man page. The way I read it, it rather looks as though the sessionlimit parameter would only be considered if system accounting was turned on. So, is it turned on? (I'm not going to check this, because I never use system accounting and I couldn't care less about the sessionlimit thing.) The next obvious thing to do, if you really believe that you have done what the manual suggests, is to UTSL. One of the great benefits of having complete source code is that one can read it. Have a look and see whether there is any code in there to recognize and enforce the parameters of interest. One thing I'll tell you for free is that the file /etc/login.conf does get accessed on each login, even if it seems to be ignored ... -- Greg Black To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message