or can anyone tell me how to give a user root access?
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.
and when i login as knoppix i only see 3 directories and can't get to /var/wwwCode:421-Server disabled. 421 Reason: Root login not allowed.
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
--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
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!

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99
SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD
$229.99
AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00
Dell OptiPlex 7060 Intel Core i7-8700 3.2GHz 8GB RAM 256GB Windows 11 Pro FAST
$159.99
AMD Ryzen 7 7800X3D 4.20GHz Quad Core 100-000000510 8 Thread AM4
$279.99
Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good
$464.99
Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00
AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 CPU Processor Brand New Unused
$395.95
Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11
$250.00
Dell T7810 Workstation 8-Core 2.40GHz E5-2630 v3 No RAM GPU HDD OS
$259.98