Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Fedora 8 - Deny specific user


ghost's Avatar
0 0

I have my computer running on Fedora 8, with opened SSH port. I want allow users to login (mates, etc.) but access only one specific directory (their directory), actually I am only user, I don't want any changes of it, because I can do all configs etc. under the root accout. But I don't want to allow the other users to view the /etc, /usr etc. etc. directories, only /home/theirname (if it is possible then redirect them immediately after their login to this directory).

So, is this possible? Thanks in advance for any help.


ghost's Avatar
0 0

samba should be your answer


ghost's Avatar
0 0

But… Samba is the file server? I mean… I'm already using it, to share files on my computer with other computers (running Windows) on the network.


ghost's Avatar
0 0

then u should change the script

with samba u can make 4 every user an account with specified directories and rights.

(the script is located in /etc/samba/smb.conf)