Bug creating website FTP access user

Hello,

with unknown reason, virtualmin started failing to create FTP users.

I log in to virtualmin, select a domain, click "Edit users", then "Add a website FTP access user", fill in all information, create user. Resulting user is "Email only", according ti virtualmin website.

When I do the same with following command: virtualmin create-user --user test --domain domain.tld --ftp --pass kokot

user is fine and is either listed in the website user list as "email and ftp".

Please help.

Thank you

Michal

Status: 
Closed (fixed)

Comments

In case of an erroneous user, is the entry in the user list printed underlined, or "normal"? FTP access users should get an underlined font.

Also, when you create the user, under "Other user permissions", what is available and selected in the "Login permissions" box?

In case of an erroneous user, is the entry in the user list printed underlined, or "normal"? FTP access users should get an underlined font.

it is underlined. But FTP access is denied (530 Login incorrect.)

Also, when you create the user, under "Other user permissions", what is available and selected in the "Login permissions" box?

Nothing, there is only "Allow access to databases" frame.

This is a "me too".

I have two servers (CentOS 6.3 x86_64, Virtualmin 3.94) which both exhibit this problem. The servers' primary administrator has told me that this has started happening in the last week or two.

I can confirm this behaviour - you attempt to create an FTP user for the site but the user you created ends up with no access. Using virtualmin's standard access roles (as pre-defined/set in system Customization > Custom Shells ) I have just tried to create another FTP site user, and in the users list under the Login Access column I have "No Access".

In Webmin, system > users and groups, that user's login shell is set to /dev/null. If I change the login shell to /bin/false, this corrects the Login Access for that user in Virtualmin's user list, to "FTP".

However, creating another FTP user for that site results in their new login shell being set to /dev/null.

I'm sorry to report that this is a new bug I introduced in Virtualmin 3.94 :-(

Right now the only work-around is to create the user via the create-user API / shell command. A proper fix will be included in the 3.95 release..

An alternative "fix" would be to use SFTP with the default site administrator user ;-)

No problem re the bug status - hey, software has bugs from time to time. That's life!

Look forward to the .95 release as and when... :-)

Automatically closed -- issue fixed for 2 weeks with no activity.