From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2856 Path: news.gmane.org!not-for-mail From: =?ISO-8859-2?Q?Daniel_Cegie=B3ka?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: shadow.h Date: Wed, 27 Feb 2013 10:09:18 +0100 Message-ID: References: <20130226233542.GG20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1361956193 24031 80.91.229.3 (27 Feb 2013 09:09:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2013 09:09:53 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2857-gllmg-musl=m.gmane.org@lists.openwall.com Wed Feb 27 10:10:13 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UAd1h-0002Et-4a for gllmg-musl@plane.gmane.org; Wed, 27 Feb 2013 10:10:13 +0100 Original-Received: (qmail 14104 invoked by uid 550); 27 Feb 2013 09:09:50 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 14091 invoked from network); 27 Feb 2013 09:09:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=VvB6BCncxqh0G07UE2Yf8joSGRu3wJO3RtHBkOIEhW0=; b=SZEDm6+qhM+2VYP29511LbNDI3B84/nss4m4stuuSNKWIa6AsOh8C+pOZcl6Wc3AS9 7kfXaLgc6DMoZQU04Fv1JOVPsXYxg/n9Q15JMG2japjyK2oBs2jWsXaU6XNE5LOufFjj 9X1I4mRK+C5G1mX4ZE4GjVgP9ZJweUad3Q8YyaeVxUaf8mbsfaeGMm5Y8gYbtMBj3cd6 +eqJpWpUuohDnbxJ7smqxwUnTIhBvDu3WDPvdz57Kjo1ksp15Y808DuNfAiBNQ5pOn4q +jNFOXTAnnTDQON97WscsOqiAdUuNLnShpxAgEDatzkPxp+Sg0k9K8VbbATeODx9/L13 Xa9g== X-Received: by 10.49.5.7 with SMTP id o7mr2379305qeo.30.1361956178508; Wed, 27 Feb 2013 01:09:38 -0800 (PST) In-Reply-To: <20130226233542.GG20323@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:2856 Archived-At: 2013/2/27 Rich Felker : > On Tue, Feb 26, 2013 at 11:54:58PM +0100, Daniel Cegie=C5=82ka wrote: >> Error relocating /lib/security/pam_unix.so: putspent: symbol not found >> Error relocating /lib/security/pam_unix.so: fgetspent: symbol not found >> Error relocating /lib/security/pam_unix.so: putpwent: symbol not found > > These have been discussed before and I believe the intent is to add > them (they're simple fprintf wrappers, if I remember correctly), ...or can be removed from shadow.h. > but > be aware that pam_unix.so's support for writing to the password > database assumes a certain form and will break things badly if the > user is using tcb shadow. It might also mess up the shadow file if it > depends on being able to iterate all entries in the shadow file; I'm > not sure if that works or not. > > These are issues that need more discussion... I prefer tcb, but the current implementation in musl isn't as functional as owl's (privilege separation): http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/tcb/tcb/libs/libtcb.= c?rev=3D1.9;content-type=3Dtext%2Fplain Daniel