Project

General

Profile

Actions

Bug #18718

open

Impossible to modify user seftings when user is used by the system

Added by Vincent MEMBRÉ over 3 years ago. Updated 19 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

If we modify some Settings of a user (home, shell ...) and that the user is used by the system the agent will fail the modification and result in a failling execution of the promise to set the settings

Let's say i have a user (ximou) whichi has a /home/test and i want to change it to /home/amo in technique, but the user is logged in, or the system is running a process with this user, the agent will make an error.

The output will contain the following lines

rudder     info: Executing 'no timeout' ... '/usr/sbin/usermod -d /home/amo ximou'
   error: Finished command related to promiser '/usr/sbin/usermod' -- an error occurred, returned 8
  notice: Q: "...in/usermod -d /": usermod: user ximou is currently used by process 29482
rudder     info: Last 1 quoted lines were generated by promiser '/usr/sbin/usermod -d /home/amo ximou'
rudder     info: Completed execution of '/usr/sbin/usermod -d /home/amo ximou'
E| compliant     userGroupManagement       Users                     ximou              The user ximou ( ximou mou ) is already present on the system
E| compliant     userGroupManagement       Password                  ximou              The user ximou ( ximou mou ) password was correct
E| error         userGroupManagement       Home directory            ximou              The user ximou home directory could not be changed
Actions #1

Updated by Vincent MEMBRÉ over 3 years ago

  • Assignee deleted (Vincent MEMBRÉ)
Actions #2

Updated by Benoît PECCATTE almost 3 years ago

  • Target version changed from 798 to 6.1.14
Actions #3

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #4

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #5

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #6

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #7

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #8

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #9

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #10

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #11

Updated by Alexis Mousset about 1 year ago

  • Subject changed from Impossible to modify user setings when user is used by the system to Impossible to modify user seftings when user is used by the system
  • Target version changed from old 6.1 issues to relocate to 7.2.5
  • Regression set to No
Actions #12

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.5 to 7.2.6
Actions #13

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #14

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #15

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.2.8 to 7.2.9
Actions #16

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #17

Updated by Alexis Mousset 8 months ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #18

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.2.11 to 1046
Actions #19

Updated by Alexis Mousset 6 months ago

  • Target version changed from 1046 to 7.3.8
Actions #20

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.8 to 7.3.9
Actions #21

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #22

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 7.3.10 to 7.3.11
Actions #23

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #24

Updated by Vincent MEMBRÉ 30 days ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #25

Updated by Vincent MEMBRÉ 19 days ago

  • Target version changed from 7.3.13 to 7.3.14
Actions

Also available in: Atom PDF