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

Ralf Schlatterbeck rsc at runtux.com
Tue Nov 8 08:53:01 CET 2016


On Tue, Nov 08, 2016 at 08:42:10AM +0100, Manuel Traut wrote:
> > 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.
> 
> it shouldn't. It is not the /etc/passwd from the initvm. It is copied from
> the same system, as the other files for your target.
>  
> > 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.
> 
> I'm not sure, but i think the /etc/passwd is created and updated in some
> postinst steps. These files are not copied to the target, and the postinst
> steps are not executed on the target in diet/tighten mode. 

Ah, OK I'll try to copy it, then. I hope everything else works out I
have now quite a lot of packages for a busybox-based system (ssh and ppp
among them)...

-- 
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