Avatar of aravindgopaluni
aravindgopaluni asked on

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
LinuxUnix OS

Avatar of undefined
Last Comment
gheist

8/22/2022 - Mon
HalldorG

Have you tryed using \ before the ~?
ASKER
aravindgopaluni

Yes, I have tried that option, but still the same failure
ASKER CERTIFIED SOLUTION
Dave Baldwin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
omarfarid

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

Also, did you try to put ' around the username?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
ASKER
aravindgopaluni

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.
Joseph Gan

Have you tried to use "sftp" ?
ASKER
aravindgopaluni

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.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
gheist

Can you make program you call "ftp" use PAM like kind SSH does? Like copying over pam config or so?