0

I have joined my ubuntu (version 20.04) to my Active directory domain with sssd and net ads. I also have setup a smb share (on the ubuntu sever), with all the proper permissions.

A user can access the smb share only if I have configured him in my sssd.conf simple_allow_users setting. But this grants him also the ability to ssh to the server.

How can I only allow him to smb without ssh?

1 Answer 1

0

You could set DenyUsers, AllowUsers, DenyGroups, or AllowGroups in your sshd_config file. See "man sshd_config" for more details.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.