[elbe-devel] passwd and group files on a busybox system

Ralf Schlatterbeck rsc at runtux.com
Mon Nov 7 17:22:11 CET 2016


On Mon, Nov 07, 2016 at 02:10:28PM +0100, Manuel Traut wrote:
> imho, the following finetuning rule should give the expected result:
> <b2t_cp path="/etc/passwd">/etc/passwd</b2t_cp>
> 
> This copies the passwd file from the 'full-blown' debootstraped RFS
> (aka. buildenv or chroot) into your diet/tighten based RFS (aka target).

Thanks!
OK, I'm still unsure if the added users in that passwd file will really
always be the same uids gids as on the target. The installation sequence
might still differ.

Doesn't debian have its own mechanism for updating (or creating in the
first place) /etc/passwd? And if yes, how can I make this work? Am I
only missing a shell on the target? In that case I could install dash
and leter remove it again in finetuning.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   http://www.runtux.com
Reichergasse 131, A-3411 Weidling       email: office at runtux.com




More information about the elbe-devel mailing list