-
FTP problem (directory restrictions)
Hey guys,
I've got a problem, the inetd was running before and i was able to login as root so i was able to ftp to /var/www.
I had to restart my knoppix server (i've got a hdd install) and inetd was not working anymore.
So i deleted hosts.allow/deny and it worked again, but there was one problem:
I can't login as root anymore.
Code:
421-Server disabled.
421 Reason: Root login not allowed.
and when i login as knoppix i only see 3 directories and can't get to /var/www
I really need to get there cause there is my current website located
Someone any idea how to solve this by ssh?
I can't get to my knoppix server as it is in a other country.
Thanks in advance.
Michael
-
or can anyone tell me how to give a user root access?
-
most likey the location is /etc
there should be file /etc/ftp.users
edit this file and delete the line with "root"
this file restricts the users mentioned in them
delete user root and save the file and you are all set
happy ftp'ing
-
Senior Member
registered user
--Actually it is /etc/ftpusers.
--Note: You really DO NOT WANT to be able to login as root over ftp. This allows your box to be easily hacked if it IS enabled.
--If you need root access to anything, login as a regular user over ssh and su. You maybe able to edit the /etc/proftpd.conf file (or whatever the name is, I switched to vsftpd so not sure anymore) to redefine the default ftp dir.

Originally Posted by
certifieduser
most likey the location is /etc
there should be file /etc/ftp.users
edit this file and delete the line with "root"
this file restricts the users mentioned in them
delete user root and save the file and you are all set
happy ftp'ing
-
thanks a lot for your reaction.
I tried but didn't work, it works for other users but root is still not allowed.
I have a serious problem now i was developing a website and has to be done before the 12th of november please help!
Thanks in advance,
michael
-
Thanks!
It worked after set DO_CHROOT="no" in /etc/bftpd.conf
Thanks a lot!
Similar Threads
-
By williamb in forum General Support
Replies: 3
Last Post: 05-11-2005, 02:41 AM
-
By BDelph in forum General Support
Replies: 1
Last Post: 03-17-2005, 09:10 PM
-
By hawkeye in forum General Support
Replies: 1
Last Post: 01-18-2005, 08:42 PM
-
By Erdie in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-20-2004, 03:12 PM
-
By pnti in forum General Support
Replies: 3
Last Post: 05-07-2003, 12:27 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU
$11.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA
$350.48

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS
$84.49

Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km
$15.99

Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor
$14.49

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS
$144.98