Proftpd login issue

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
perlian
Posts: 33
Joined: Tue May 17, 2016 12:13 pm
Location: Germany
Contact:

Proftpd login issue

Post by perlian »

I have added a system user and he can login to proftpd
He reaches his home directory with no problems
I have added another user and he cant login
What can it be ?
Are there any restrictions ?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Proftpd login issue

Post by Fourdee »

perlian wrote: Are there any restrictions ?
Hi,

Not that i'am aware of. It should handle multiple users.

Could be anything from permissions, missing home directory to settings in proftpd config file.

In /etc/proftpd/proftpd.conf have you tried jailing users to their home directory using DefaultRoot ~?

Also check user folders exist and correct permissions:
ls -lha /home
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
perlian
Posts: 33
Joined: Tue May 17, 2016 12:13 pm
Location: Germany
Contact:

Re: Proftpd login issue

Post by perlian »

The other user has a home directory of course

both user were created with adduser command

ls -lha /home shows that he has exactly the same right as the working user

DefaultRoot ~ is configured

the working user can login to his home directory

But now I find out what the problem was

the password includes german "umlauts" like ÖÄßÜ

It seems that Proftpd dont like this

changing the password has solved the problem

has someone the same experience before ?
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Proftpd login issue

Post by k-plan »

Hi,
Fourdee wrote:has someone the same experience before ?
Yes.
Fourdee wrote:the password includes german "umlauts" like ÖÄßÜ
It's not a good idea to use "Umlaute" or "Sonderzeichen", not only for passwords or user credentials.

https://github.com/Fourdee/DietPi/blob/ ... ftware#L18
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
Post Reply