FTP with username having tilde character

Hi,

I am trying to do FTP as an account with tilde character in the username (Ex: ~user1) and FTP login fails.

Do FTP (vsftp and Solaris FTP) support logins with tilde character in user names?

Appreciate your response.

Regards,
Aravind G
aravindgopaluniAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HalldorGCommented:
Have you tryed using \ before the ~?
0
aravindgopaluniAuthor Commented:
Yes, I have tried that option, but still the same failure
0
Dave BaldwinFixer of ProblemsCommented:
Try it without the ~ tilde.  '~username' is usually the home directory of 'username'.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

omarfaridCommented:
How the username with ~ was created? Why do you need ~ in the username?

Also, did you try to put ' around the username?
0
aravindgopaluniAuthor Commented:
My UNIX system is integrated with Microsoft AD to allow AD user authentication to login to UNIX servers.

This tilde account is created in AD with required UNIX attributes. SSH login works fine as tilde account, but FTP is failing though.

I have tried enclosing the user name in single quotes and double quotes as well (Ex: '~502184677' or "~502184677"), but no luck.
0
Joseph GanSystem AdminCommented:
Have you tried to use "sftp" ?
0
aravindgopaluniAuthor Commented:
Yes, sftp and scp works fine. I believe as they use SSH as the underlying protocol, and as SSH works fine, they are also letting ~user to login successfully.
0
gheistCommented:
Can you make program you call "ftp" use PAM like kind SSH does? Like copying over pam config or so?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.