Re: /etc/passwd thoughts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Warren Togami
wtogami@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux