Red Hat Bugzilla – Bug 189984
python bindings ignore skeleton=... setting
Last modified: 2007-11-30 17:11:31 EST
The libuser python binding for addUser appears to ignore the skeleton= setting
in libuser.conf. In addition, createHome supports a keyword argument for
setting it, but addUser doesn't provide any way to pass this argument to
createHome. Looks like the only way to do it is to call addUser with
mkhomedir=0/False/whatever, then call createHome yourself afterwards.
Please check that mkmailspool also behaves sensibly in addUser.
Should be fixed in rawhide libuser-0.54.6: Both admin methods default to
[defaults]/skeleton, and both allow overriding using the "skeleton=" keyword
Thanks for your report.