Bug 7183

Summary: base-passwd replaces content of passwd.master and group.master
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Pascal Bach <pascal.bach>
Component: coreAssignee: Saul Wold <sgw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher
Version: 1.7   
Target Milestone: 1.8   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Patch that avoids replacing $ sign variables none

Description Pascal Bach 2015-01-19 10:42:35 UTC
Created attachment 2332 [details]
Patch that avoids replacing $ sign variables

When the passwd.master file contains $ symbol these are interpreted as variables.

This leads to the case if somebody uses passwords of the form "$type$salt$encrypted_password" the whole part before "encrypted_password" gets interpreted as empty variable and thus is no longer there.

The solution would be to use tell the shell not to replace variables inside the file content. See patch for how to do this.