From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Subject: Re: /etc/passwd thoughts Date: Thu, 18 Jun 2009 19:14:09 +0200 Message-ID: <4A3A75E1.3050008@redhat.com> References: <4A32B84E.8090603@redhat.com> <20090612202045.GA30968@nostromo.devel.redhat.com> <4A32B94E.10902@redhat.com> <4A32C6CF.9010802@bfh.ch> <1244859170.18551.9.camel@obelisk.thedillows.org> <4A37E78B.10308@redhat.com> <4A38CABB.9070900@redhat.com> <4A39231E.8050700@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A39231E.8050700-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Warren Togami Cc: initramfs On 06/17/2009 07:08 PM, Warren Togami wrote: > On 06/17/2009 06:51 AM, Harald Hoyer wrote: >>> If rpcbind, then write only the necessary user into the initrd's >>> /etc/passwd. Do not copy the generating system's /etc/passwd. >>> >>> Any objections? >> >> s.th. like >> >> grep $user /etc/passwd >> ${initdir}/etc/passwd >> >> ? > > Yes, except does the rpcbind user need to run as any userid number in > particular? rpcbind gets killed before switch_root right? We might be > able to do this without grep scraping. > right, OKFORME :) -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html