LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SUSE sharing (https://www.linuxquestions.org/questions/linux-newbie-8/suse-sharing-458783/)

ehar32 06-27-2006 10:24 AM

SUSE sharing
 
My situation is this. I have a SUSE 9.3 file server setup. I have created a folder with multiple user folders inside (/planet/users/username). What I would like to do is only give the user access to there username folder and not the complete /planet/users directory without having to provide a password. I'm not quite sure how to config this. Any help would be greatly appreciated.

:Pengy: Total newbie

MasterC 06-28-2006 02:55 AM

Eh?

Without knowing the following, I'm just guessing:
How will your users be accessing the box? SSH, browser, FTP, mail client, mitosis?

Will this be their exclusive access method, or will they also be accessing from other OS's such as Mac or Windows?

How did you create the users, or have you created them yet? Do you intend to run a database, or will this be a simple user system with real users?

So, to answer 1 possible situation:
If your users will all be accessing the machine locally (from the same computer that SuSE is installed on) and no networking will be involved, then I'd just:
create the users. If you use useradd, then you can specify which directory is their home directory. This won't necessary jail them, not with just this setup, but it will prevent them (if you give the other directories the right permissions) from accessing the other /planet/users/* directories.

There is an application floating around the world called 'jail' that does just that. It actually creates a simple filesystem within the user's home directory so they can use it as if it's an entire new distro install. It's very limited, but does provide some usefulness.

Good Luck!

Cool

ehar32 06-28-2006 08:55 AM

Thansk for responding. We have a small network 35 users.

How will your users be accessing the box? SSH, browser, FTP, mail client, mitosis?
They will be accessing the share through a windows share.

Will this be their exclusive access method, or will they also be accessing from other OS's such as Mac or Windows?
They will be accessing through Windows an never accessing any other way.

I hope this helps.


All times are GMT -5. The time now is 03:37 PM.