Project

General

Profile

Actions

Bug #11013

closed

Creating a user without home directory fails

Added by Benoît PECCATTE almost 4 years ago. Updated over 1 year ago.

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

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.

Actions #1

Updated by Benoît PECCATTE almost 4 years ago

  • 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
Actions #2

Updated by Benoît PECCATTE almost 4 years ago

  • Priority changed from 54 to 70
Actions #3

Updated by Benoît PECCATTE almost 4 years ago

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

Actions #4

Updated by Benoît PECCATTE over 3 years ago

  • Priority changed from 50 to 48
Actions #5

Updated by Nicolas CHARLES almost 2 years ago

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

targeting to 5.0 to test

Actions #6

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #7

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 5.0.14 to 5.0.15
Actions #8

Updated by François ARMAND over 1 year ago

  • Effort required set to Very Small
Actions #9

Updated by Nicolas CHARLES over 1 year ago

  • Assignee set to Nicolas CHARLES
Actions #10

Updated by Nicolas CHARLES over 1 year ago

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

Actions #11

Updated by Nicolas CHARLES over 1 year ago

  • Status changed from New to In progress
Actions #12

Updated by Nicolas CHARLES over 1 year ago

  • 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
Actions #13

Updated by Nicolas CHARLES over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #18

Updated by Vincent MEMBRÉ over 1 year ago

  • 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: Atom PDF