RE: vsftpd Questions.

mykhan_at_ibnsina.sabic.com
Date: 10/20/03

  • Next message: Edward Dekkers: "Re: Linux Printer Sharing Woes with Linux and Windows XP Workgroup Clients...."
    To: redhat-list@redhat.com
    Date: Mon, 20 Oct 2003 10:18:25 +0300
    
    

    Hello all,

    My second concern has been resolved through a message in the archives of
    this list.... here is the solution to that ...

    "in vsftpd.conf, u can use these options:

    chroot_list_enable=YES
    chroot_list_file=/etc/vsftpd.chroot_list
    local_root=/var/ftp

    what will these do? if user1 is in the vsftp.chroot_list, he will be
    chrooted to /var/ftp when he ftps to your machine. If user2 is not
    in the chroot list and he makes an ftp connection, the default
    directory will be /var/ftp but he can still cd into his home directory
    (ie cd /home/user2)"

    -----------

    Now, something new is in my mind. There is one user, to whom I have given
    FTP access, I want her not to ssh(telnet) into my system using that user
    id/passwd. What is the easiest method to do that ...

    This may be a simple question, but I am new to linux.

    Thanks in advance,

    Yasir.

    -----Original Message-----
    From: mykhan@ibnsina.sabic.com [mailto:mykhan@ibnsina.sabic.com]
    Sent: Monday, October 20, 2003 8:05 AM
    To: redhat-list@redhat.com
    Importance: High

    Dear All,

    I've setup vsftpd on my RH Linux 8.0 box. I've some questions I want to
    ask...

    Problem 1:
    ~~~~~~~~~~
    When I connect to my FTP Server I get the following messages:

    257 "/home/rj"
    TYPE A
    200 ASCII tastes bad, dude.
    PORT 193,1,1,99,8,3
    200 PORT command successful. Consider using PASV.
    LIST
    150 Here comes the directory listing.

    After this " Here comes the directory listing" message the directory listing
    comes after sooo long ... its seems to me the server is in some sort of
    trouble ... can anybuddy guide me ??

    Second Concern:
    ~~~~~~~~~~~~~~~
    I want to setup a default directory for example /Movies as FTP root
    directory instead of the respective user's home directory. What I must do in
    this case ???

    one more thing ... the user is able to browse the upper level directories
    than her home directory. What I must do to restrict this ??

    thanks in advance,

    Yasir.

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Edward Dekkers: "Re: Linux Printer Sharing Woes with Linux and Windows XP Workgroup Clients...."

    Relevant Pages

    • Re: Help. In ftp sessions, how to refresh directory list?
      ... The coder of the example inline comment probably means that if you are doing any directory listing, it needs be refresh in order to see the posted file. ... For example, if you wrote a FTP GUI program and you started it, connected to a ftp site, it will most likely start by listing the current directory. ... For the WININET.DLL library, the FTP user command "DIR" translates to a FTP SERVER "LIST" command, and to WININET.DLL does an emulation of the FindFirstFile/FindNextFile/FindCloseAPIs. ...
      (microsoft.public.vc.language)
    • Re: long ftp dir listings
      ... > I am often annoyed trying to get a long directory listing from my unix box ... I often resort to using ftp in Windows DOS mode so I can scroll ... I use zsh's built in ftp. ... autoload -U zfinit ...
      (freebsd-questions)
    • Re: FTP limitation on directory size
      ... I seem to remember someone talking in the past about some limitation on the ... directory size for FTP to be able to see all the files. ... The FTP server producing a directory listing can pretty well just use ... A gui client, on the other hand... ...
      (comp.os.vms)
    • Re: Deny directory listing on vsftpd anonymous upload
      ... Create a file in your user_config_dir called ftp (ftp is the anonymous user) with the line: ... That should give a "550 Permission denied" message if the anonymous user attempts a directory listing. ... University of Leicester, Leicester, LE1 7RH, UK ...
      (RedHat)
    • Avoid Up Level
      ... I am trying to avoid that a user can go up when using ftp. ... User is in itīs home directory. ... -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
      (RedHat)