Link to home
Start Free TrialLog in
Avatar of joseggarza
joseggarza

asked on

disable ssh for some users

I have Slackware 10. I need to use SSH only for some people and disable it to some other. What do I need to change?
right now works for every user.

Thanks
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Hi,

   If you don't want some people login to your system, then you can simply disable/delete their accounts.
Or edit /etc/password and make their default shells to /bin/false.

Wesly
ASKER CERTIFIED SOLUTION
Avatar of avizit
avizit

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of joseggarza
joseggarza

ASKER

Thanks A lot..... AllowUsers was my answer..... once you define AllowUsers the rest are denied by default.....
Thanks a lot