Page 1 of 1

Problem with users

PostPosted: 06. July 2007 19:49
by SlisheR
Hi, i've got a serious question and I was trying to figure it out for 2 months, but I've got nothing! So, if you can help me I would be happy after 2 months work:)
The question is: I know that you can add the users from the Users and Group for FTP-access (By the way, I'm using Xampp Linux on my Debian system). But that users may not enter the root directory, which they can...
I've tried everything... posted my question in every forum but no answer...
do you know how to fix this? Example:
I want to add the user xampp.
I went to the users and group settings under System > Admin > Users and Group
after that I typed at username xampp and made the root location for that person /opt/lampp/htdocs/xampp... I entered the pass and all the things...
but when I log in that account with the username xampp, I come in /opt/lampp/htdocs/xampp ... that's correct, but if I press on 'Up directory' I come in the root directory and that may not be easy for me, 'cause all users can see all my files... how can I fix this?
Thanks in advance, SlisheR.

Re: Problem with users

PostPosted: 06. July 2007 23:53
by ManUnix
Hi SlisheR,

SlisheR wrote:how can I fix this?

with "defaultRoot" you can set a chroot directory.

cu,
Manu

PostPosted: 07. July 2007 01:21
by SlisheR
Thank you for your reply!
It did work... I'm so glad! Thank you :).