Results 1 to 6 of 6

Thread: FTP problem (directory restrictions)

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    5

    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

  2. #2
    Junior Member
    Join Date
    Sep 2003
    Posts
    5
    or can anyone tell me how to give a user root access?

  3. #3
    Banned
    Join Date
    May 2003
    Posts
    22
    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

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --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.

    Quote 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

  5. #5
    Junior Member
    Join Date
    Sep 2003
    Posts
    5
    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

  6. #6
    Junior Member
    Join Date
    Sep 2003
    Posts
    5
    Thanks!

    It worked after set DO_CHROOT="no" in /etc/bftpd.conf

    Thanks a lot!

Similar Threads

  1. Problem booting with a home directory..
    By williamb in forum General Support
    Replies: 3
    Last Post: 05-11-2005, 02:41 AM
  2. Permission problem on my directory
    By BDelph in forum General Support
    Replies: 1
    Last Post: 03-17-2005, 09:10 PM
  3. Problem creating a persistent home directory
    By hawkeye in forum General Support
    Replies: 1
    Last Post: 01-18-2005, 08:42 PM
  4. Any restrictions regarding debian compatibilty?
    By Erdie in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-20-2004, 03:12 PM
  5. Problem with a Persistent KNOPPIX home directory
    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
  •  


TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105 picture

TP-Link 5-Port Gigabit Unmanaged Ethernet Switch Network Expansion TL-SG105

$19.95



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box picture

TP-LINK TL-SG108 8-Port Gigabit Unmanaged Desktop Switch RJ-45 New in Box

$23.99



Netgear PROSAFE 8-Port 10 Gigabit/Multi-Gigabit Ethernet Switch XS508M picture

Netgear PROSAFE 8-Port 10 Gigabit/Multi-Gigabit Ethernet Switch XS508M

$229.99



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC picture

Linksys 8-Port Managed Gigabit PoE+ Switch 110W w/ 2 Uplink Gigabit - LGS310MPC

$49.05



NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless picture

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless

$22.00



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99