Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 1999 21:02:15 +1000
From:      Greg Black <gjb@comkey.com.au>
To:        Paul Dekkers <psd@cgu.nl>
Cc:        FreeBSD Mailinglist <freebsd-questions@FreeBSD.ORG>
Subject:   Re: More than 16 logins and more than one login for a user? 
Message-ID:  <19990228110215.7689.qmail@alpha.comkey.com.au>
In-Reply-To: <Pine.BSF.3.96.990227222601.651B-100000@chippie.cgu>  of Sat, 27 Feb 1999 22:27:29 %2B0100
References:  <Pine.BSF.3.96.990227222601.651B-100000@chippie.cgu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> | > 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 <gjb@acm.org>



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?19990228110215.7689.qmail>