The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

ftpusers (5)
  • ftpusers (4) ( Solaris man: Специальные файлы /dev/* )
  • >> ftpusers (5) ( FreeBSD man: Форматы файлов )
  • ftpusers (5) ( Русские man: Форматы файлов )
  • ftpusers (5) ( Linux man: Форматы файлов )

  • BSD mandoc
     

    NAME

    
    
    ftpusers
    
     
    ftpchroot
    
     - ftpd(8)
    
    
    
    access control file
     
    

    DESCRIPTION

    The file provides user access control for ftpd(8) by defining which users may login.

    If the file does not exist, all users are denied access.

    A ``\'' is the escape character; it can be used to escape the meaning of the comment character, or if it is the last character on a line, extends a configuration directive across multiple lines. A ``#'' is the comment character, and all characters from it to the end of line are ignored (unless it is escaped with the escape character).

    The syntax of each line is:

    userglob[:groupglob][@host] [directive [class]]

    These elements are:

    userglob
    matched against the user name, using fnmatch(3) glob matching (e.g, `f* )'
    groupglob
    matched against all the groups that the user is a member of, using fnmatch(3) glob matching (e.g, `*src )'
    host
    either a CIDR address (refer to inet_net_pton3) to match against the remote address (e.g, `1.2.3.4/24 )' or an fnmatch(3) glob to match against the remote hostname (e.g, `*.NetBSD.org )'
    directive
    If ``allow'' or ``yes'' the user is allowed access. If ``deny'' or ``no'' or directive is not given, the user is denied access.
    class
    defines the class to use in ftpd.conf5.

    If class is not given, it defaults to one of the following:

    chroot
    If there is a match in Sx /etc/ftpchroot for the user.
    guest
    If the user name is ``anonymous'' or `ftp'
    real
    If neither of the above is true.

    No further comparisons are attempted after the first successful match. If no match is found, the user is granted access. This syntax is backward-compatible with the old syntax.

    If a user requests a guest login, the ftpd(8) server checks to see that both ``anonymous'' and ``ftp'' have access, so if you deny all users by default, you will need to add both ``anonymous allow'' and ``ftp allow'' to /etc/ftpusers in order to allow guest logins.  

    /etc/ftpchroot

    The file /etc/ftpchroot is used to determine which users will have their session's root directory changed (using chroot(2)), either to the directory specified in the ftpd.conf5 chroot directive (if set), or to the home directory of the user. If the file does not exist, the root directory change is not performed.

    The syntax is similar to , except that the class argument is ignored. If there's a positive match, the session's root directory is changed. No further comparisons are attempted after the first successful match. This syntax is backward-compatible with the old syntax.  

    FILES

    /etc/ftpchroot
    List of normal users who should have their ftp session's root directory changed by using chroot(2).
    /etc/ftpusers
    This file.
    /usr/share/examples/ftpd/ftpusers
    A sample file.

     

    SEE ALSO

    fnmatch(3), inet_net_pton3, ftpd.conf5, ftpd(8)


     

    Index

    NAME
    DESCRIPTION
    /etc/ftpchroot
    FILES
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру