Red Hat Bugzilla – Bug 270901
mock useradd should set a null password
Last modified: 2013-01-09 23:24:35 EST
Description of problem:
Some distributions (e.g. SUSE 10) will lock an account newly created with
useradd, unless a null password is explicitly set.
This leads to "Password:" prompts whenever mock uses "su - mockbuild" or equivalent.
Version-Release number of selected component (if applicable):
No password prompts
I think it would be a sensible default to explicitly set a null password. See patch.
Created attachment 183101 [details]
Set null password for mockbuild user
we've had a big code reorg and this problem has been addressed multiple ways,
since we no longer call 'su - mockbuild' and we edit the passwd file after useradd.
I'll close this for now.