sshd_config allowusers allowgroups
Hi there,
i want to setup more security for ssh server and just started playing around with the configuration file. I added the definitions AllowUsers & AllowGroups to that file specifying a certain user and a group. The tricky thing of it is, that i added a user to the configuration which is not member of the configured group: sshd_config: AllowUsers abcd AllowGroups admin Now the problem is that the system doesn't allow login to the server with the error message: User wxyz not allowed because not listed in AllowUsers --> but wxyz is member of admin group Any idea? Is this normal behavior? Greets |
this works like this,
cat /etc/group Quote:
Quote:
I hope you get the idea. |
ok. thanks for the info. i understand now that both work together
Maybe you can help me with another issue: I've setup key authentication for remote users which works fine. Is there a way to send notifications to somebody who tries to login? I'm using the banner function - but this information is sent to everybody. any idea? thanks in advance! |
All times are GMT -5. The time now is 01:03 AM. |