Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* ssh says "Too many users" even when only 1 user logged on
@ 2002-11-13 14:34 Mark Bergman
  2002-11-14 13:30 ` Mark Bergman
  2002-11-14 18:45 ` Yuriy
  0 siblings, 2 replies; 6+ messages in thread
From: Mark Bergman @ 2002-11-13 14:34 UTC (permalink / raw)


I have installed ssh on 2 Compaq (4.0F) machines.
The machines only have the basic 4-user OSF-USR license.
I ran ssh-keygen on one (client), copied the id_rsa.pub to the server
in an authorized_keys file, and run sshd on the server.

When I run ssh on the client, I get an error message "Too many users"
and cannot login.
This message is usually given when 4 different user-ids are already
logged-on, but I get it even if only 1 user-id is logged on.

I have checked that rlogin works in the same case, and that I can
logon (using ssh) to the root account (the root account is not
affected by the 4-user limit).
I have also checked that my ssh client works to a different platform
(IBM AIX) and that my server gives the same error when ssh is run on a
different platform (Sun).

I have looked at the sshd debug - couldn't see anything obvious (I can
post this if helpful)
Does anyone know why the user-id limit is being imposed here?

TIA
Mark Bergman
Manchester UK
mark . bergman @ thales-is.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ssh says "Too many users" even when only 1 user logged on
  2002-11-13 14:34 ssh says "Too many users" even when only 1 user logged on Mark Bergman
@ 2002-11-14 13:30 ` Mark Bergman
  2002-11-14 17:47   ` mikepb
  2002-11-15  2:57   ` Nico Kadel-Garcia
  2002-11-14 18:45 ` Yuriy
  1 sibling, 2 replies; 6+ messages in thread
From: Mark Bergman @ 2002-11-14 13:30 UTC (permalink / raw)


I wrote in message news:<e9fa467e.0211130634.53ae4911@posting.google.com>...
> I have installed ssh on 2 Compaq (4.0F) machines.
> ... When I run ssh on the client, I get an error message "Too many users"

Thanks to Hans S. who suggested I turn off Privilege Separation
(in sshd_config, "UsePrivilegeSeparation no").

(Anyone know why this is necessary?)

Mark Bergman
Manchester UK
mark . bergman @ thales-is.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ssh says "Too many users" even when only 1 user logged on
  2002-11-14 13:30 ` Mark Bergman
@ 2002-11-14 17:47   ` mikepb
  2002-11-14 23:53     ` TimC
  2002-11-15  2:57   ` Nico Kadel-Garcia
  1 sibling, 1 reply; 6+ messages in thread
From: mikepb @ 2002-11-14 17:47 UTC (permalink / raw)


In comp.security.ssh Mark Bergman <mark.bergman@thales-is.com> wrote:
> I wrote in message news:<e9fa467e.0211130634.53ae4911@posting.google.com>...
>> I have installed ssh on 2 Compaq (4.0F) machines.
>> ... When I run ssh on the client, I get an error message "Too many users"

> Thanks to Hans S. who suggested I turn off Privilege Separation
> (in sshd_config, "UsePrivilegeSeparation no").

> (Anyone know why this is necessary?)

Anyone know what "Privilege Separation" is??

-- 
Michael P. Brininstool                  mikepb@hoplite.org


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ssh says "Too many users" even when only 1 user logged on
  2002-11-13 14:34 ssh says "Too many users" even when only 1 user logged on Mark Bergman
  2002-11-14 13:30 ` Mark Bergman
@ 2002-11-14 18:45 ` Yuriy
  1 sibling, 0 replies; 6+ messages in thread
From: Yuriy @ 2002-11-14 18:45 UTC (permalink / raw)


mark.bergman@thales-is.com (Mark Bergman) wrote in message news:<e9fa467e.0211130634.53ae4911@posting.google.com>...
> I have installed ssh on 2 Compaq (4.0F) machines.
> The machines only have the basic 4-user OSF-USR license.
> I ran ssh-keygen on one (client), copied the id_rsa.pub to the server
> in an authorized_keys file, and run sshd on the server.
> 
> When I run ssh on the client, I get an error message "Too many users"
> and cannot login.
> This message is usually given when 4 different user-ids are already
> logged-on, but I get it even if only 1 user-id is logged on.
> 
> I have checked that rlogin works in the same case, and that I can
> logon (using ssh) to the root account (the root account is not
> affected by the 4-user limit).
> I have also checked that my ssh client works to a different platform
> (IBM AIX) and that my server gives the same error when ssh is run on a
> different platform (Sun).
> 
> I have looked at the sshd debug - couldn't see anything obvious (I can
> post this if helpful)
> Does anyone know why the user-id limit is being imposed here?
> 
> TIA
> Mark Bergman
> Manchester UK
> mark . bergman @ thales-is.com

  
 The user-id limit is being imposed as a result of the license you 
bought (4-user OSF-USR). 
  To make ssh work you could put "UseLogin yes" in your sshd_config 
file on Compaq (4.0F) machine to make sshd use /bin/login. /bin/login
adheres to the license, and should allow you to have 4 users logged in
simultaneously.
  Note that when your license expires, it will tell you "Too many 
users are logged on" even if there are no users on the system.


Yuriy


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ssh says "Too many users" even when only 1 user logged on
  2002-11-14 17:47   ` mikepb
@ 2002-11-14 23:53     ` TimC
  0 siblings, 0 replies; 6+ messages in thread
From: TimC @ 2002-11-14 23:53 UTC (permalink / raw)


mikepb@hoplite.org (aka Bruce) was almost, but not quite, entirely unlike tea:
> In comp.security.ssh Mark Bergman <mark.bergman@thales-is.com> wrote:
>> I wrote in message news:<e9fa467e.0211130634.53ae4911@posting.google.com>...
>>> I have installed ssh on 2 Compaq (4.0F) machines.
>>> ... When I run ssh on the client, I get an error message "Too many users"
> 
>> Thanks to Hans S. who suggested I turn off Privilege Separation
>> (in sshd_config, "UsePrivilegeSeparation no").
> 
>> (Anyone know why this is necessary?)
> 
> Anyone know what "Privilege Separation" is??

I don't know the details, but most of the code of open-ssh was
rewritten rather recently to use priverlage separation. Most of the
code doesn't operate with any privelages, just the parts that need
it. That way, if a vulnerability is found, then it most likely only
affects the part of the code that is not operating under any
privelages.

There was a saga about 2 months ago, when this was written, because
the author knew there was a vulnerability, and that privelage
separation would "fix" it for the time-being, but didn't want to let
anyone know what the vulnerability was, otherwise you could end up
with a mass-virus very quickly. People feared that the author may be
up to something nasty, becauase of the secrecy though. 

Blame slashdot :)

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/

We must use Tim as a tool, not as a couch." -- J F Kennedy


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ssh says "Too many users" even when only 1 user logged on
  2002-11-14 13:30 ` Mark Bergman
  2002-11-14 17:47   ` mikepb
@ 2002-11-15  2:57   ` Nico Kadel-Garcia
  1 sibling, 0 replies; 6+ messages in thread
From: Nico Kadel-Garcia @ 2002-11-15  2:57 UTC (permalink / raw)



"Mark Bergman" <mark.bergman@thales-is.com> wrote in message
news:e9fa467e.0211140530.5003ecb5@posting.google.com...
> I wrote in message
news:<e9fa467e.0211130634.53ae4911@posting.google.com>...
> > I have installed ssh on 2 Compaq (4.0F) machines.
> > ... When I run ssh on the client, I get an error message "Too many
users"
>
> Thanks to Hans S. who suggested I turn off Privilege Separation
> (in sshd_config, "UsePrivilegeSeparation no").
>
> (Anyone know why this is necessary?)

Because you probably don't have the "sshd" user and account set up
correctly. There is a README about it, but I also had problems with this
with Tru64 5.0. That feature is new and not completely robust on all
previous OpenSSH platforms yet.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-11-15  2:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-13 14:34 ssh says "Too many users" even when only 1 user logged on Mark Bergman
2002-11-14 13:30 ` Mark Bergman
2002-11-14 17:47   ` mikepb
2002-11-14 23:53     ` TimC
2002-11-15  2:57   ` Nico Kadel-Garcia
2002-11-14 18:45 ` Yuriy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox