From: Vasiliy <altdistrib@mail.ru> To: community@lists.altlinux.org Subject: [Comm] Как добавить user-ов в ftp server (vsftpd) Date: Sun, 28 Jan 2007 13:21:40 +0300 Message-ID: <45BC7934.6020600@mail.ru> (raw) Здравствуйте! У меня на ftp могут зайти только локальные пользователи. А хотелось бы что бы пользователи FTP ни какого отношения к самой системе не имели. Я пробовал создавать useradd -g users -d /var/ftp/pab -s /bin/false username Затем passwd username И пробовал подругому useradd -g users -d /var/ftp/pab -s /bin/null username Затем passwd username После этих манипуляций username этот пользователь доступ не получает в каталог /var/ftp/pab Конфиг vsftpd.config: pasv_enable=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 anon_upload_enable=NO anon_mkdir_write_enable=NO dirmessage_enable=YES xferlog_enable=YES xferlog_file=/var/log/vsftpd.log idle_session_timeout=600 data_connection_timeout=120 ascii_upload_enable=YES ascii_download_enable=YES ftpd_banner=Welcome to FTP service. ls_recurse_enable=YES use_localtime=YES pam_service_name=vsftpd И /etc/pam.d/vsftpd #%PAM-1.0 auth required pam_userpass.so auth include system-auth-use_first_pass auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed auth required pam_securetty.so auth required pam_shells.so auth required pam_nologin.so account include system-auth password required pam_deny.so session include system-auth Кто знает в чём может быть дело hellp!
next reply other threads:[~2007-01-28 10:21 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-01-28 10:21 Vasiliy [this message] 2007-01-28 10:27 ` Motsyo Gennadi aka Drool
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=45BC7934.6020600@mail.ru \ --to=altdistrib@mail.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git