Actions
Bug #18718
openImpossible to modify user seftings when user is used by the system
Pull Request:
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
Updated by Benoît PECCATTE almost 3 years ago
- Target version changed from 798 to 6.1.14
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.14 to 6.1.15
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.15 to 6.1.16
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.16 to 6.1.17
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.17 to 6.1.18
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.18 to 6.1.19
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 6.1.19 to 6.1.20
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 6.1.20 to 6.1.21
Updated by Vincent MEMBRÉ almost 2 years ago
- Target version changed from 6.1.21 to old 6.1 issues to relocate
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
Updated by Vincent MEMBRÉ about 1 year ago
- Target version changed from 7.2.5 to 7.2.6
Updated by Vincent MEMBRÉ 11 months ago
- Target version changed from 7.2.6 to 7.2.7
Updated by Vincent MEMBRÉ 11 months ago
- Target version changed from 7.2.7 to 7.2.8
Updated by Vincent MEMBRÉ 9 months ago
- Target version changed from 7.2.8 to 7.2.9
Updated by Vincent MEMBRÉ 8 months ago
- Target version changed from 7.2.9 to 7.2.10
Updated by Alexis Mousset 8 months ago
- Target version changed from 7.2.10 to 7.2.11
Updated by Vincent MEMBRÉ 7 months ago
- Target version changed from 7.2.11 to 1046
Updated by Alexis Mousset 6 months ago
- Target version changed from 1046 to 7.3.8
Updated by Vincent MEMBRÉ 5 months ago
- Target version changed from 7.3.8 to 7.3.9
Updated by Vincent MEMBRÉ 5 months ago
- Target version changed from 7.3.9 to 7.3.10
Updated by Vincent MEMBRÉ 4 months ago
- Target version changed from 7.3.10 to 7.3.11
Updated by Vincent MEMBRÉ about 2 months ago
- Target version changed from 7.3.11 to 7.3.12
Updated by Vincent MEMBRÉ 30 days ago
- Target version changed from 7.3.12 to 7.3.13
Updated by Vincent MEMBRÉ 19 days ago
- Target version changed from 7.3.13 to 7.3.14
Actions