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!

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS
$199.00
Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC
$250.00
Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On
$450.00
Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99
New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99
Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*
$369.99
1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU X
$175.00
Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3
$219.99
$280.00
Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset
$129.99