From: "Denis S. Filimonov" <den@academ.org> To: community@altlinux.ru Subject: Re: [Comm] Авторизация из /etc/passwd и ldap одновременно: как правильно? Date: Mon, 19 Apr 2004 17:35:32 +0700 Message-ID: <200404191735.32268.den@academ.org> (raw) In-Reply-To: <40837B03.4040403@rmts.donpac.ru> On Monday 19 April 2004 14:08, Eugene Prokopiev wrote: > system-auth-use_first_pass: > > #%PAM-1.0 > auth sufficient /lib/security/pam_ldap.so вот здесь пропущен "use_first_pass" > auth required /lib/security/pam_tcb.so shadow fork > prefix=$2a$ count=8 nullok use_first_pass > password required /lib/security/pam_tcb.so use_authtok > shadow fork prefix=$2a$ count=8 write_to=tcb > > Т.е. просто для методов авторизации auth и account добавил sufficient > /lib/security/pam_ldap.so > > После этого получилось следующее: > > 1. По ssh все равно пускают только пользователей из /etc/passwd, > пользователей из ldap посылают подальше со следующими словами: > > Apr 19 10:51:09 john-ws pam_tcb[2060]: sshd: Authentication failed > for vasya from (uid=0) > Apr 19 10:51:11 john-ws sshd[2061]: Failed password for vasya from > 192.168.46.2 port 4631 > > 2. su - могут использовать как ldap, так и /etc/passwd-пользователи, > но для su - ldap-user пароль надо вводить один раз, а для su - > passwd-user необходимо вводить пароль дважды: да, там тоже, видимо, надо подставить use_first_pass, чтобы оно не спрашивало еще раз. -- Sincerely, Denis.
next prev parent reply other threads:[~2004-04-19 10:35 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-04-19 7:08 Eugene Prokopiev 2004-04-19 9:15 ` Nick S. Grechukh 2004-04-19 9:36 ` Eugene Prokopiev 2004-04-19 11:46 ` iLya Bryzgalow 2004-04-19 9:47 ` Eugene Prokopiev 2004-04-19 11:00 ` Nick S. Grechukh 2004-04-19 10:35 ` Denis S. Filimonov [this message] 2004-04-19 11:45 ` Eugene Prokopiev 2004-04-19 14:55 ` Denis S. Filimonov 2004-04-20 4:50 ` Eugene Prokopiev 2004-04-19 12:17 ` Eugene Prokopiev 2004-04-19 14:21 ` Nick S. Grechukh 2004-04-19 14:35 ` Denis S. Filimonov 2004-04-19 15:48 ` Nick S. Grechukh 2004-04-20 4:51 ` Eugene Prokopiev
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=200404191735.32268.den@academ.org \ --to=den@academ.org \ --cc=community@altlinux.ru \ /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