mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Allow root login on local networks
This commit is contained in:
parent
0576b17442
commit
90e542a931
1 changed files with 8 additions and 0 deletions
|
@ -87,3 +87,11 @@ Match User sftpusers
|
||||||
AllowTcpForwarding no
|
AllowTcpForwarding no
|
||||||
GatewayPorts no
|
GatewayPorts no
|
||||||
X11Forwarding no
|
X11Forwarding no
|
||||||
|
|
||||||
|
# root login is allowed on local networks
|
||||||
|
# It's meant to be a backup solution in case LDAP is down and
|
||||||
|
# user admin can't be used...
|
||||||
|
# If the server is a VPS, it's expected that the owner of the
|
||||||
|
# server has access to a web console through which to log in.
|
||||||
|
Match Address 192.168.0.0/16,10.0.0.0/16
|
||||||
|
PermitRootLogin yes
|
||||||
|
|
Loading…
Add table
Reference in a new issue