nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

ftp issue

This is a discussion on ftp issue within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; [root@ftp vsftpd]# !ftp ftp localhost Connected to ftp.nextstepdc.com. 220 Welcome to NextStepDC FTP service. 530 Please login with USER and ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-14-2009, 01:33 PM
Member
User
 
Join Date: Jul 2007
Location: Hyderabad
OS: Redhat RHEL, Solaris
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
vaibhav.kanchan is on a distinguished road
Default ftp issue

[root@ftp vsftpd]# !ftp

ftp localhost

Connected to ftp.nextstepdc.com.

220 Welcome to NextStepDC FTP service.

530 Please login with USER and PASS.
530 Please login with USER and PASS.

KERBEROS_V4 rejected as an authentication type
Name (localhost:root): conv

331 Please specify the password.
Password:

500 OOPS: cannot change directory:/vsftproot/conversions
Login failed.


conv:1002:1002:conv:/vsftproot/conversions:/bin/bash

Any suggestions to over come this error(red color)..
Reply With Quote
  #2 (permalink)  
Old 05-14-2009, 02:07 PM
Member
User
 
Join Date: Jul 2007
Location: Hyderabad
OS: Redhat RHEL, Solaris
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
vaibhav.kanchan is on a distinguished road
Default

Selinux is also disabled..
Reply With Quote
  #3 (permalink)  
Old 05-20-2009, 12:38 PM
kasimani's Avatar
Senior Member
User
 
Join Date: Jul 2006
Location: India, Delhi
OS: CentOS, RedHat, Fedora, Ubuntu
Posts: 151
Thanks: 3
Thanked 1 Time in 1 Post
Rep Power: 4
kasimani is on a distinguished road
Send a message via Yahoo to kasimani
Default

use this to get status


getsebool -a | grep ftp

u can also do this

add this under /etc/pam.d/vsftpd

auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd/user.list onerr=succeed

Last edited by kasimani; 05-20-2009 at 12:46 PM.
Reply With Quote
  #4 (permalink)  
Old 05-28-2009, 02:58 PM
Member
User
 
Join Date: Jul 2007
Location: Hyderabad
OS: Redhat RHEL, Solaris
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
vaibhav.kanchan is on a distinguished road
Default Solved..

Hi,

When I have executed the command
getsebool -a | grep ftp
it showed all the ftp bolean parameters as off.

Later on, I checked the ownerships of this /vsftproot/conversions dir. the owner and group was different and conv user was not a member of that group. So I added the conv user to this new group and tried to do ftp. It worked fine.. Issue solved. Small things make a lot of diff..
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Python in Php - issue ephdia Coding in General 1 10-01-2009 12:36 PM
Fedora 10 hanging issue sandeep3300 Linux software 2 02-13-2009 01:32 PM
diff issue java.beans Shell scripting 0 01-13-2009 07:10 AM
PHP 5 issue tanweernoor Coding in General 6 11-14-2008 10:03 AM
Log Off Issue tkinsella Linux software 1 08-30-2005 03:03 PM


All times are GMT +5.5. The time now is 07:47 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38