FTP login problem


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users FTP login problem
# 1  
Old 02-01-2008
Question FTP login problem

I've just configured a server to my network (setting the ip, netmask, host file, etc...) and the server doesn't have any problem pinging another computer on the network. however when i try to connect to the server via ftp the root account can't log in, i made another account (a standard one that really has no privileges) on the server, and i can make a ftp log in without any problem with that account. i've also tried to connect to the server via ssh and i have the same problem (i can connect with the other account but not with root).

Any idea why i can connect with an ordinary account and not with the root account??? Smilie

U:\>ftp xxx.xxx.xxx.xxx
Connected to xxx.xxx.xxx.xxx.
220 XXXXXXXX@XXXXXXX.com FTP server ready.
User (xxx.xxx.xxx.xxxSmilienone)): root
331 Password required for root.
Password:
530 Login incorrect.
Login failed.

U:\>ftp xxx.xxx.xxx.xxx
Connected to xxx.xxx.xxx.xxx.
220 XXXXXXXX@XXXXXXX.com FTP server ready.
User (xxx.xxx.xxx.xxxSmilienone)): ftptest
331 Password required for ftptest.
Password:
230 User ftptest Logged in.
# 2  
Old 02-01-2008
Use "-v" option while using ftp command so that it gives the details of the connection

Quote:
ftp -v <servername>
# 3  
Old 02-01-2008
The problem was that the server for security reasons wasn't allowing root to connect, but if you want to connect as root:

in /etc/ftpd/ there is a file that need to be modified:

1-) /etc/ftpd/ftpusers ----> you have to delete or comment the line of root

but for security reasons don't do it unless you have a good reason.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ftp login commands

Hello, I am using ftp on command line. The problem is getting bumped off after 15 minutes of no activity.. I have two options: quit ftp and use the command history of my shell, or stay in ftp and use 'open' command, where I can use the command history saved in the ftp program. Either option... (1 Reply)
Discussion started by: Allasso
1 Replies

2. Solaris

FTP log only shows FTP LOGIN FROM entry?

OS: Solaris 9 Configuration /etc/syslog.conf daemon.debug /etc/inetd.conf ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd -A -l -d Found the ftp.log only generate those entries from other servers/hosts. Can we trace on all ftp entries either from/to the server? ... (6 Replies)
Discussion started by: KhawHL
6 Replies

3. IP Networking

I can't login to any new FTP accounts

I have a website that I use sftp to connect to the root account. I am able to connect to it with sftp root@domainHowever, when I create a new user, and try to login with this account, it says permission is denied. I have already checked with my provider, and tech support said they can login... (9 Replies)
Discussion started by: trevthefatty
9 Replies

4. Linux

Login Problem SSH/FTP

Hi I have a VPS with CentOS 5 installed and Kloxo v-6.1.4 as CP Suddenly I am not able to login FTP and SSH On FTP client I get the error: Could not connect to server And On Putty Server unexpectedly closed the network connection I have checked the /var/log/secure and /var/log/messages... (1 Reply)
Discussion started by: rizwan65
1 Replies

5. AIX

user login problem & Files listing problem.

1) when user login to the server the session got colosed. How will resolve? 2) While firing the command ls -l we are not able to see the any files in the director. but over all view the file system using the command df -g it is showing 91% used. what will be the problem? Thanks in advance. (1 Reply)
Discussion started by: pernasivam
1 Replies

6. Solaris

FTP login failed.

Hi guys, Can you please help me. I have SUN V100 server running solaris 8. I also have a Redhat Linux 6.2 machine and a windows XP machine on the network. I'm trying to copy files from the Linux and XP machines to the V100 server. When I try to ftp to the solaris machine, I'm challenged... (2 Replies)
Discussion started by: Stin
2 Replies

7. UNIX for Dummies Questions & Answers

FTP & login

Folks; Is there a way in UNIX to do the following: When users use FTP to login to a mounted drive on Solaris server, if that was their first time login a home directory for that user will be created & if the home directory exists it won't create a home directory (user should not have a login... (6 Replies)
Discussion started by: Katkota
6 Replies

8. Red Hat

limit non login id for ftp

Hi All, How can I limit a userid (/bin/false) to have access only to ftp service? On redhat ent 4. Thanks! (1 Reply)
Discussion started by: itik
1 Replies

9. UNIX for Dummies Questions & Answers

FTP login failing

Please help. I am running Solaris 8 trying to get my FTP to work. When I try to access the FTP server from another computer on the network, it connects and prompts for a password. The username and password I set up do not work as well as my root account. Neither of the accounts are set up in the... (3 Replies)
Discussion started by: zbis12
3 Replies

10. UNIX for Advanced & Expert Users

Dual login to FTP server.

We have sun-solaris ftp server. Our documentation tell that "...server uses a dual-login procedure for security. This requires all users to login anonymously first, and then login as a designated user...". Can some one please explain how this improves the security. I am trying to connect to this... (6 Replies)
Discussion started by: sri
6 Replies
Login or Register to Ask a Question