* [sisyphus] íàñòðîéêà virtual users â vsftpd è pam_userdb
@ 2003-08-28 17:37 ioka
0 siblings, 0 replies; only message in thread
From: ioka @ 2003-08-28 17:37 UTC (permalink / raw)
To: sisyphus
ГДПЮБЯРБСИРЕ..
ОПНАКЕЛЮ Я МЮЯРПНИЙНИ virtual users Б vsftpd
ЯХЯРЕЛЮ Master 2.2 + Sisyphus 27.08.2003
vsftpd-1.1.2-alt3
ЯДЕКЮМН АШКН ЯКЕДСЧЫЕЕ (РЮЙ ЙЮЙ ЩРН НОХЯЮМН Б
ДНЙСЛЕМРЮЖХХ):
# db_load -T -t hash -f /etc/vsftpd/logins.txt
/etc/vsftpd/vsftpd_login.db
( # rpm -qa libdb*
libdb1-1.85-alt2
libdb4.0-doc-4.0.14-alt10
libdb2-2.4.14-alt2
libdb4.0-4.0.14-alt10
libdb3-3.3.11-alt8
# rpm -qa db*
db2-utils-2.4.14-alt2
db1-utils-1.85-alt2
db4.0-utils-4.0.14-alt10 )
# chmod 600 /etc/vsftpd/vsftpd_login.db
ДНАЮБКЕМШ Б /etc/pam.d/vsftpd ЯКЕДСЧЫХЕ 2 ЯРПНЙХ (Я
МЮВЮКЮ):
# cat /etc/pam.d/vsftpd
#mine
auth required /lib/security/pam_userdb.so
db=/etc/vsftpd/vsftpd_login
account required /lib/security/pam_userdb.so
db=/etc/vsftpd/vsftpd_login
#%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 required pam_deny.so
# useradd -d /home/ftpsite virtual
ОПХ ЩРНЛ МЮЯРПНИЙХ АШКХ РЮЙХЕ:
# cat /etc/vsftpd/conf
anonymous_enable=NO
local_enable=YES
write_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
user_config_dir=/etc/vsftpd/user_conf
chroot_local_user=YES
guest_enable=YES
guest_username=virtual
connect_from_port_20=YES
nopriv_user=novsftpd
max_clients=2
ascii_upload_enable=YES
ascii_download_enable=YES
ОПХ ЩРНЛ НАШВМШИ ОНКЭГНБЮРЕКЭ, ГЮПЕЦХЯРПХПНБЮММШИ Б
ЯХЯРЕЛЕ, ЛНФЕР ЯБНАНДМН ПЮАНРЮРЭ, Ю БХПРСЮКЭМШИ МЕР:
Aug 28 17:07:21 lin pam_userdb[25207]: could not obtain
password for `1' (Я ГЮЙНЛЕМРХПНБЮММШЛХ ЯРПНЙЮЛХ Б
/etc/pam.d/vsftpd, ЯННРБЕРЯРБЕММН)
Х
Aug 28 16:29:25 lin pam_userdb[24003]: could not obtain
password for `1'
Aug 28 16:29:26 lin pam_tcb[24003]: vsftpd:
Authentication failed for UNKNOWN USER from (uid=0)
(АЕГ ЙНЛЛЕМРХПНБЮМХЪ)
ВРН МЕНАУНДХЛН ЯДЕКЮРЭ ДНОНКМХРЕКЭМН??
г.ш. ОНЛМХРЭЯЪ Б ПЕДУЮРЕ БЯЕ ОПЕЙПЮЯМН ПЮАНРЮКН..
--
Я сБЮФЕМХЕЛ, ioka
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-08-28 17:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-28 17:37 [sisyphus] íàñòðîéêà virtual users â vsftpd è pam_userdb ioka
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git