Bug 189984 - python bindings ignore skeleton=... setting
python bindings ignore skeleton=... setting
Product: Fedora
Classification: Fedora
Component: libuser (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
Depends On:
  Show dependency treegraph
Reported: 2006-04-26 10:24 EDT by Chris Lumens
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 0.54.6-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-05-01 01:29:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Lumens 2006-04-26 10:24:51 EDT
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.
Comment 1 Miloslav Trmač 2006-05-01 01:29:11 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.