Bug #11013
closed
Creating a user without home directory fails
Added by Benoît PECCATTE over 7 years ago.
Updated almost 5 years ago.
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Very Small
Description
I found this bug in Rudder version 4.1
This bug happens when you create a user with the user technique. If you don't check the "default home" checkbox and don't put a value for home dir, an error happens.
It should just create a user without home directory.
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Getting started - demo | first install | level 1 Techniques
- Priority changed from 0 to 54
- Priority changed from 54 to 70
- Description updated (diff)
- Severity changed from Major - prevents use of part of Rudder | no simple workaround to Minor - inconvenience | misleading | easy workaround
- Priority changed from 70 to 50
There is no user without home.
We can make a better message in case of error.
- Priority changed from 50 to 48
- Target version set to 5.0.13
- Priority changed from 48 to 0
- Target version changed from 5.0.13 to 5.0.14
- Target version changed from 5.0.14 to 5.0.15
- Effort required set to Very Small
- Assignee set to Nicolas CHARLES
unticking the "use the default home directory" and leaving empty the home directory fails, as it consider that the home is valid (The user XXXXX home directory is valid), and tries to run
/usr/sbin/useradd -m -s /bin/bash -d XXXXX
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/1560
- Status changed from Pending technical review to Pending release
- Name check changed from To do to Reviewed
- Fix check changed from To do to Checked
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.15 which was released today.
Also available in: Atom
PDF