From: "Daniel Cegiełka" <daniel.cegielka@gmail.com>
To: musl@lists.openwall.com
Subject: Re: shadow.h
Date: Wed, 27 Feb 2013 09:24:40 +0100 [thread overview]
Message-ID: <CAPLrYEQP78x+Hn=ssukPOC-hBCyquS_O_bn+hTY8EesVi8_UeQ@mail.gmail.com> (raw)
In-Reply-To: <20130226231901.GI6181@port70.net>
2013/2/27 Szabolcs Nagy <nsz@port70.net>:
> /etc/shadow requires priviledge escalation for password changes
> so putspent is dangerous, pam_unix should be deprecated on
> modern systems
>
> http://www.openwall.com/tcb/
>
> (i think this already came up a few times, maybe it should be in a faq..)
owl's tcb and musl? It's harder than it seems.
1) __crypt_blowfish() in musl isn't compatible with
__crypt_blowfish_rn().. so lack of support for owl's
__crypt_gensalt_ra() and crypt_ra/rn() etc. (owl's salt and tcb
prefixes):
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/tcb/tcb/pam_tcb/support.c?rev=1.12.2.1;content-type=text%2Fplain
2) nss/rpc/yp - but can be easily removed from the owl's tcb.
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/tcb/tcb/libs/nss.c?rev=1.4;content-type=text%2Fplain
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/tcb/tcb/pam_tcb/yppasswd_xdr.c?rev=1.2;content-type=text%2Fplain
3) owl's shadow+tcb requires pam_userpass which requires libpamc (pam
client) from Linux-PAM... but it also can be removed. etc... etc.
(pam_chpw.c):
http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/shadow-utils/shadow-4.0.4.1-owl-tcb.diff?rev=1.5;content-type=text%2Fplain
Currently I'm trying to use OpenPAM with musl, but going to use the
owl's tcb (without nss).
btw. openpam-modules:
http://git.overlays.gentoo.org/gitweb/?p=proj/openpam-modules.git;a=tree;h=821a37ad1a2a084c13ac7c0086bd6d1e737b78c4;hb=821a37ad1a2a084c13ac7c0086bd6d1e737b78c4
Best regards,
Daniel
next prev parent reply other threads:[~2013-02-27 8:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-26 22:54 shadow.h Daniel Cegiełka
2013-02-26 23:19 ` shadow.h Szabolcs Nagy
2013-02-27 8:24 ` Daniel Cegiełka [this message]
2013-02-27 16:52 ` shadow.h Rich Felker
2013-02-27 17:18 ` shadow.h Daniel Cegiełka
2013-02-26 23:35 ` shadow.h Rich Felker
2013-02-27 9:09 ` shadow.h Daniel Cegiełka
2013-02-27 16:54 ` shadow.h Rich Felker
2013-02-27 17:04 ` shadow.h Daniel Cegiełka
2013-02-27 17:06 ` shadow.h Rich Felker
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='CAPLrYEQP78x+Hn=ssukPOC-hBCyquS_O_bn+hTY8EesVi8_UeQ@mail.gmail.com' \
--to=daniel.cegielka@gmail.com \
--cc=musl@lists.openwall.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).