Skip to content

Commit

Permalink
[openssh] Allow only device owner. Contributes to JB#47597
Browse files Browse the repository at this point in the history
This prevents users not in sailfish-system group from logging in with
SSH.
  • Loading branch information
Tomin1 committed Dec 10, 2019
1 parent 34809df commit 9c1bf4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpm/sshd_config
Expand Up @@ -108,6 +108,9 @@ UsePAM yes
# override default of no subsystems
Subsystem sftp /usr/libexec/openssh/sftp-server

# allow only device owner(s)
AllowGroups sailfish-system root

# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
Expand Down

0 comments on commit 9c1bf4d

Please sign in to comment.