Re: Problem, possibly bug with AllowUsers & DenyUsers

This is a discussion on Re: Problem, possibly bug with AllowUsers & DenyUsers within the OpenSSH Development forums, part of the Networking and Network Related category; On Thu, May 08, 2008 at 11:42:23PM -0500, Andy Tsouladze wrote: > Essentially, regular users should be able ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 4 Days Ago
Peter Stuge
 
Posts: n/a
Default Re: Problem, possibly bug with AllowUsers & DenyUsers

On Thu, May 08, 2008 at 11:42:23PM -0500, Andy Tsouladze wrote:
> Essentially, regular users should be able to login from any
> network, while root should be able to login only from a private
> network 192.168.88.0/22.


> AllowUsers root@192.168.88.* !root@*
> Result: BAD. root can login only from 192.168.88.0/24 but other
> users cannot login at all.


What if you change the order and/or space to a comma?

AllowUsers !root@*,root@192.168.88.*


You could also try using Match.


//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0