zEitEr
Super Moderator
Hello,
I guess it's a bug, please check it and fix it.
How to repeat:
1. Set a dedicated (owned) IP for an account.
2. Set ftpsep to -
3. Create a new FTP account for the hosting account (in step 1) with a "-" in it. Let it be blabla-blabla
FTP account gets created and is listed in
/usr/local/directadmin/data/users/username/ftp.passwd
and actually it seems to work, but you won't see it in the list of FTP accounts (user level).
I'd guess the same will be if you use any other char in FTP username, if the char is set as ftpsep in directadmin.conf
I guess it's a bug, please check it and fix it.
How to repeat:
1. Set a dedicated (owned) IP for an account.
2. Set ftpsep to -
Code:
# /usr/local/directadmin/directadmin c | grep ftpsep
ftpsep=-
3. Create a new FTP account for the hosting account (in step 1) with a "-" in it. Let it be blabla-blabla
FTP account gets created and is listed in
/usr/local/directadmin/data/users/username/ftp.passwd
Code:
# cat /usr/local/directadmin/data/users/username/ftp.passwd
username:$1$dh2FHgNh$ft1****CJLooUwjVDw1:598:598:system:/home/username:/bin/false
blabla-blabla:$1$JDK4JM*****mviVx86CEZnscP.0:598:598:custom:/home/username/domains/domain.com/public_html:/bin/false
tom:$1$fPURn*****.E2t3bDqOGsV/:598:598:custom:/home/username/domains/domain.com/public_html/tom:/bin/false
and actually it seems to work, but you won't see it in the list of FTP accounts (user level).
I'd guess the same will be if you use any other char in FTP username, if the char is set as ftpsep in directadmin.conf