Re: help with login.conf session limiting

From: Farid Hajji (me_at_farid-hajji.de)
Date: 11/28/03

  • Next message: Yuri Khotyaintsev: "problem with Keyboard on SMP"
    To: "Julian C. Dunn" <lists+freebsd@aquezada.com>
    Date: Fri, 28 Nov 2003 10:13:25 +0100
    
    

    On Friday 28 November 2003 04:47 am, Julian C. Dunn wrote:
    > I wonder if any of you have ever tried to restrict the # of simultaneous
    > sessions on a FreeBSD box using login.conf. I'm trying to use the
    > 'sessionlimit' but it appears to be doing diddly squat. The class in
    > question is the following "subshell" one:

    login.conf is only used by login(1), not by sshd.
    Try setting UseLogin in /etc/ssh/sshd_config
    if you want sshd to use login, and therefore these
    settings. Beware: this is NOT recommended.

    > - Julian

    -- 
    Farid Hajji. http://www.farid-hajji.net/address.html
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Yuri Khotyaintsev: "problem with Keyboard on SMP"

    Relevant Pages

    • Re: help with login.conf session limiting
      ... >>I wonder if any of you have ever tried to restrict the # of simultaneous ... >>sessions on a FreeBSD box using login.conf. ... > login.conf is only used by login, not by sshd. ...
      (freebsd-stable)
    • Re: tail -f over ssh leaves orphans behind
      ... >Why I think it is a kernel issue on the computer running the sshd program: ... >Sshd cannot avoid noticing that you have closed ssh on your end of the network ... sessions, and ssh does not use ptys for non-interactive sessions unless you ...
      (comp.unix.shell)
    • Re: SSH Server
      ... Brendan Gregg wrote: ... >>Is there a binary of sshd available for Solaris 8 Sparc. ... So it depends on your box, an old Ultra 1 with a 167 MHz Sparc CPU is ... > that noticable for low volume sessions. ...
      (comp.unix.solaris)
    • Re: SSH Server
      ... > Is there a binary of sshd available for Solaris 8 Sparc. ... Depends on the volume of the sessions, I doubt the extra load will be ... You probably want to use SSH regardless of the extra load, ...
      (comp.unix.solaris)
    • Re: OpenSSh 3.4p1 PrivilegeSerparation experiment
      ... Here is a conglomeration response to the many emails I received. ... Or maybe it is just easier for sshd to ignore processes ... forked to continue sessions while it handles its own signals. ... why would you expect current sessions to reread config? ...
      (Vuln-Dev)