if user exists __user won't create his home dir #195
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#195
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: tpo
I just ran:
discovered, that I should create the user's home dir too, so I changed my code to:
and saw, that __user would now not create the user's home dir.
*t
closed
Created by: telmich
Hmm, yes, this is a nasty bug. So far we rely on useradd to do the heavy lifting, but it is only called if the user does not exist.
So I guess we should use __directory to manage the home directory instead of relying on useradd