if user exists __user won't create his home dir #195
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ungleich-public/cdist#195
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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