LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2003, 01:52 PM   #1
alaerte
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Rep: Reputation: 0
FTP access using root account - restrictions


I successfully installed wu-ftpd and enabled root FTP (using the tips in this forum).

But after logging I can not go to the directories. There are restrictions applyed. I would like to remove those restrictions.

Any Thoughts?



R:\>ftp 10.6.13.163
Connected to 10.x.x.x
220 wpspo11a FTP server (Version wu-2.6.2-8) ready.
User (x.x.x.xnone)): root
331 Password required for root.
Password:
230 User root logged in. Access restrictions apply.
ftp>
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
anaconda-ks.cfg
install.log
install.log.syslog
226 Transfer complete.
1244584 bytes recebidos em 0,02 seconds (2,50 Kbytes/sec)
ftp>
ftp> cd /opt
550 /opt: No such file or directory.
 
Old 03-28-2003, 03:06 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try adding root as a "realuser".

Note: root access through ftp is dangerous but if you are careful and your system isn't exposed directly to the net you should be OK
 
Old 03-31-2003, 05:42 AM   #3
alaerte
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Could you tell me how to do it or where to get information about it?

I entered 'realuser ftp root' on the file ftpaccess. Things are better now. I do not receive the message "restrictions applyed" and I can go to directories, but I can not see the files within the directories.

230 User root logged in.
ftp>
ftp> cd /work
250 CWD command successful.
ftp>
ftp> pwd
257 "/work" is current directory.
ftp>
ftp> ls
200 PORT command successful.
550 No files found.


Thanks in Advance
 
Old 03-31-2003, 12:35 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Are the files hidden? Is it just this one directory or all directories?

Try "ls -lah" rather than "ls".
 
Old 03-31-2003, 01:25 PM   #5
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
Quote:
I successfully installed wu-ftpd and enabled root FTP
Be sure to reference this discussion after you've ben hax0red so we'll know how to deal with you.
 
Old 03-31-2003, 01:29 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Note: root access through ftp is dangerous but if you are careful and your system isn't exposed directly to the net you should be OK
I did warn him!
 
Old 03-31-2003, 01:53 PM   #7
bahamat
Member
 
Registered: Mar 2003
Distribution: Debian
Posts: 158

Rep: Reputation: 30
Quote:
I did warn him!
You could have at least hit him really hard with a cluebat afterwards.

wu-ftpd or root access ftp is bad enough, but both? This has got to be a honeypot
 
Old 04-03-2003, 01:33 PM   #8
alaerte
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks,

ls -lah showed the directories.

I will disable the root ftp permission after a while.
 
  


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
can not access directory from user account - only root walterbyrd Linux - General 1 03-04-2005 11:23 PM
How do I access root account in Mandrake 10? dbz Linux - Security 4 04-03-2004 11:00 AM
ftp access/ account on Debian w/proFTP dozenmatta Linux - Newbie 0 11-19-2003 11:58 PM
How to remove FTP access restrictions goodman Linux - Newbie 4 08-16-2003 06:07 PM
How to enable Linux Root FTP account ?? chuck77 Linux - General 2 04-25-2003 12:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:36 AM.

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