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
Avatar of HalldorG
HalldorG
Flag of Iceland image

Have you tryed using \ before the ~?
Avatar of aravindgopaluni
aravindgopaluni

ASKER

Yes, I have tried that option, but still the same failure
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

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

Also, did you try to put ' around the username?
Avatar of aravindgopaluni

ASKER

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.
Avatar of Joseph Gan
Joseph Gan
Flag of Australia image

Have you tried to use "sftp" ?
Avatar of aravindgopaluni

ASKER

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.
Avatar of gheist
gheist
Flag of Belgium image

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

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

71K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo