Allow only ohne Directory + wrong "start-directory"

15 views
Skip to first unread message

Alexxx

unread,
Apr 13, 2009, 12:31:00 PM4/13/09
to Pureadmin Discussions
Hi,

i have 2 problems with pureadmin.

The first:

I Added a new user, but login failed - authentification failed.
So i added this user in my ubuntu user administrationmenu, too.
Now Login works fine.

Did i do that right? Or would be another way better to fix this
problem instead of adding a new ubuntuuser?



The second:

When i log in with the new user i am in his home directory.
But i switched the start up directory in pureadmin and it didnt work!
I still start in the ubuntu-user-home directory.

How can i fix that?


The third i now have found:
I only want to have the user access to his/this ONE directory.
But he has access to the whole Filesystem....
Where can i manage that? I didnt find it in pureadmin...



Thanks for your help.
I'm a linux newbee and try to learn through faq's and stuff like that
but for this problems i didnt find s.th.

Isak Savo

unread,
Apr 20, 2009, 4:39:33 PM4/20/09
to pureadmin-...@googlegroups.com
On Mon, Apr 13, 2009 at 6:31 PM, Alexxx <PhilH...@gmx.de> wrote:
>
> Hi,
>
> i have 2 problems with pureadmin.

These two problems are related and will be fixed if you configure your
pureftpd server correctly (see below)

> The first:
>
> I Added a new user, but login failed - authentification failed.
> So i added this user in my ubuntu user administrationmenu, too.
> Now Login works fine.
>
> Did i do that right? Or would be another way better to fix this
> problem instead of adding a new ubuntuuser?

Yes, the purpose of pureadmin is to create users that are separate
from ubuntuusers. How it works is it creates one ubuntuuser called
"ftpuser" (or something similar, the name doesn't matter) and then map
"virtual users" on top of this ubuntuuser

For ubuntu, this guide sums it up quite well:
https://help.ubuntu.com/community/PureFTP

(Although PureAdmin should be able to do this for you when it's first
started and you click on Manage Users. Not sure why it didn't work for
you)


> The second:
>
> When i log in with the new user i am in his home directory.
> But i switched the start up directory in pureadmin and it didnt work!
> I still start in the ubuntu-user-home directory.
>
> How can i fix that?

Once you have virtual users in PureAdmin, you can assign which
directory they should start in (their home). This is typically in
/home/ftpuser or some subdirectory inside it.


> The third i now have found:
> I only want to have the user access to his/this ONE directory.
> But he has access to the whole Filesystem....
> Where can i manage that? I didnt find it in pureadmin...

In PureAdmin, under manage users, there's a checkbox "User a fake
root". Check it, and it will do exactly what you want. (I agree that
it is a bit weird name.. I should probably change that sometime :-)

-Isak

Reply all
Reply to author
Forward
0 new messages