Project

General

Profile

Actions

Bug #11013

closed

Creating a user without home directory fails

Bug #11013: Creating a user without home directory fails

Added by Benoît PECCATTE over 8 years ago. Updated about 6 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Very Small
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

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.

Updated by Benoît PECCATTE over 8 years ago Actions #1

  • 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

Updated by Benoît PECCATTE over 8 years ago Actions #2

  • Priority changed from 54 to 70

Updated by Benoît PECCATTE over 8 years ago Actions #3

  • 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.

Updated by Benoît PECCATTE about 8 years ago Actions #4

  • Priority changed from 50 to 48

Updated by Nicolas CHARLES over 6 years ago Actions #5

  • Target version set to 5.0.13
  • Priority changed from 48 to 0

targeting to 5.0 to test

Updated by Vincent MEMBRÉ over 6 years ago Actions #6

  • Target version changed from 5.0.13 to 5.0.14

Updated by Vincent MEMBRÉ about 6 years ago Actions #7

  • Target version changed from 5.0.14 to 5.0.15

Updated by François ARMAND about 6 years ago Actions #8

  • Effort required set to Very Small

Updated by Nicolas CHARLES about 6 years ago Actions #9

  • Assignee set to Nicolas CHARLES

Updated by Nicolas CHARLES about 6 years ago Actions #10

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

Updated by Nicolas CHARLES about 6 years ago Actions #11

  • Status changed from New to In progress

Updated by Nicolas CHARLES about 6 years ago Actions #12

  • 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

Updated by Nicolas CHARLES about 6 years ago Actions #13

  • Status changed from Pending technical review to Pending release

Updated by Vincent MEMBRÉ about 6 years ago Actions #14

  • Fix check set to To do

Updated by Vincent MEMBRÉ about 6 years ago Actions #15

  • Name check set to To do

Updated by Alexis Mousset about 6 years ago Actions #16

  • Name check changed from To do to Reviewed

Updated by Alexis Mousset about 6 years ago Actions #17

  • Fix check changed from To do to Checked

Updated by Vincent MEMBRÉ about 6 years ago Actions #18

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.15 which was released today.

Actions

Also available in: PDF Atom