LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   User Permissions (https://www.linuxquestions.org/questions/linux-server-73/user-permissions-744353/)

MiKANiSe 08-01-2009 08:21 AM

User Permissions
 
Hey, I have yet another question. How do I allow user only to see his home directory. On my server (debian) I have a user named 'normis'. I want to let him manage files in /home/normis, and that he could not even see any files that are not in that directory. Hope you understood my really bad english. Thanks in advance.

shahz 08-01-2009 08:49 AM

you din't mention that what kind of users you have are they windows based or linux based users, if windows then you should use the FTP, SAMBA both should work.

thewebhostingdir 08-02-2009 03:14 PM

You would need to create new FTP account and also need to select the Directory as "normis" so that whenever a user use this FTP account he/she can view the contents of normis.

Wim Sturkenboom 08-03-2009 07:00 AM

What you're probably looking for is referred to as 'jail a user'. As you don't indicate how your user will access the system, it's a bit difficult to give advise. If it's FTP, some (or all?) FTP servers support this by means of a configuration option (in vsftpd it's the option chroot_local_user).

If the user accesses the system using ssh, you have to build a jail environment.


All times are GMT -5. The time now is 10:12 PM.