LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-01-2006, 06:31 AM   #1
acharya_rl
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
Unable to FTP as user but can FTP as Root


Hi All,

I have Red Hat Enterprise Linux ES release 3 (Taroon Update 2)Kernel 2.4.21-15.EL on an x86_64

I am unable to FTP as user but able to FTP through root user.

Pl. let me know any specific settings has to be done.

Raghav
 
Old 09-01-2006, 10:12 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
give us more details.
which ftp server do you use?
paste your conf file here.
 
Old 09-02-2006, 01:02 AM   #3
acharya_rl
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
My /etc/vsftpd/vsftpd.conf file shows this

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES

pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES

My Command # rpm -qa | grep -i ftp shows

gftp-2.0.14-2
tftp-server-0.32-4
lftp-2.6.3-5
tftp-0.32-4
ftp-0.17-17
vsftpd-1.2.1-3
 
Old 09-02-2006, 07:58 AM   #4
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
this is pretty odd, I am not sure but vsftpd doesnt allow the root user to login.
could just paste in the banner that you get when you type
ftp localhost
 
Old 09-04-2006, 11:31 PM   #5
acharya_rl
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
This shows when i give ftp localhost -

[root@GELINUX root]# ftp localhost
Connected to GELINUX.
220 GELINUX FTP server (Version 5.60) ready.
334 Using authentication type GSSAPI; ADAT must follow
GSSAPI accepted as authentication type
GSSAPI error major: Miscellaneous failure
GSSAPI error minor: No credentials cache found
GSSAPI error: initializing context
GSSAPI authentication failed
334 Using authentication type KERBEROS_V4; ADAT must follow
KERBEROS_V4 accepted as authentication type
Kerberos V4 krb_mk_req failed: You have no tickets cached
Name (localhost:root): root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.

One more thing to clarify, after i removed the -a parameter from gssftp , i was able to ftp as root, before that i was not able to ftp even as root.

Pl. look onto my gssftp file

# default: off
# description: The kerberized FTP server accepts FTP connections \
# that can be authenticated with Kerberos 5.
service ftp
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/kerberos/sbin/ftpd
server_args = -l
log_on_failure += USERID
}
 
Old 09-05-2006, 06:57 AM   #6
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
Quote:
after i removed the -a parameter from gssftp
see you arent using VSFTP here, its gssftp. search for its config file and edit that properly, or disable gssftp and use vsftp.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when I use ftp://user@ftp.blah.com it works. But when I type just ftp.blah.com says.. hunterhunter Linux - General 15 03-05-2014 09:12 AM
Accessing remote Linux server via FTP as root user jbsarma Linux - General 4 11-24-2005 03:33 AM
Unable to logon on as non-root user after update as unable to set executable context pls198 Fedora 2 04-09-2004 11:41 AM
FTP root user dvong3 Solaris / OpenSolaris 3 02-06-2004 08:30 AM
GFTP allowing Root access to an FTP user scottpioso Red Hat 2 01-07-2004 06:20 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration