AllowUsers and AllowGroups

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
It seems I can not use both AllowUsers and AllowGroups in the same
configuration.  Has anyone seen this before?


Re: AllowUsers and AllowGroups

Quoted text here. Click to load it

Seen what before?  You have not said what SSH software you're using.  You
also haven't said what's happening.  You "can not use" them -- how?  You
can't type them into the file?  The server treats the combination as a
configuration error and won't start?  The server accepts them but doesn't
do what you expect?  What do you expect?

Guessing at what you might mean: in both OpenSSH and Tectia, these
restrictions are applied with logical-and, not logical-or (as is
documented).  So this:

AllowUsers  foo
AllowGroups bar

... will not allow access to account foo unless it's in group bar.

  Richard Silverman

Site Timeline