wuftpd a anonymous

Zdenek Pizl admin na e2.pef.czu.cz
Středa Březen 8 09:23:13 CET 2000


VtG wrote:
> 
> Mam takovy problem: uzivatel anonymous
> po prihlaseni, ktere uspesne probehne, nevidi obsah home pro nej urceneho.
> Nevite nekdo kde by mohla byt chybka?
> 
>  s pozdravem
> 

a mas vsechno, jak napsano m man ftpd ??

--- man ftpd ---
home directory of the ``ftp'' user.  In order that system security is
not breached, it is recommended that the ``ftp''  subtree  be 
constructed with care;  the following rules are recommended.
 
 1. ~ftp)  Make the home directory owned by super-user and unwritable by
anyone.
 
 2. ~ftp/bin) Make  this directory owned by the super-user and
unwritable by anyone.  The program ls(1) must be present to support the
list command.  This program should have mode 111.
 
 3. ~ftp/etc) Make this directory owned by the super-user and unwritable
by anyone.  The files passwd(5) and group(5) must be present for the ls 
command  to  be  able  to  produce owner names rather than numbers.
Depending on the operating system, there may be other required files.
Check your manual page for the getpwent(3) library routine.  The
password field in passwd is not used, and should not  contain  real 
encrypted  passwords.  These files should be mode 444 and owned by the
super-user.  Don't use the system's /etc/passwd file as the password
file or the system's /etc/group file as the group file in the ~ftp/etc
directory.
 
 4. ~ftp/pub) Create a subdirectory in ~ftp/pub with the appropriate
mode (777 or 733) if you want to allow normal users to upload files.
 
--- end man ftpd ---

mam pocit, ze bod 3. nemusi byt splnen, jen potom clovek ve vypisu vidi
cislicka misto jen uzivatelu a skupin .... Dulezite je ten
/home/ftp/bin/ls - proto asi nejsou videt soubory ...

---------------------------------------------------------------------
          Zdeněk Pižl, (Corp. yA), http://e2.pef.czu.cz/~xpizl
             mail me only in ISO 8859-2 or in ASCII
---------------------------------------------------------------------
         ... what disk do you want to erase today ?? ...


Další informace o konferenci Linux