Bug #18718
open
Impossible to modify user settings when user is used by the system
Added by Vincent MEMBRÉ almost 4 years ago.
Updated 5 months ago.
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
- Assignee deleted (
Vincent MEMBRÉ)
- Target version changed from 798 to 6.1.14
- Target version changed from 6.1.14 to 6.1.15
- Target version changed from 6.1.15 to 6.1.16
- Target version changed from 6.1.16 to 6.1.17
- Target version changed from 6.1.17 to 6.1.18
- Target version changed from 6.1.18 to 6.1.19
- Target version changed from 6.1.19 to 6.1.20
- Target version changed from 6.1.20 to 6.1.21
- Target version changed from 6.1.21 to old 6.1 issues to relocate
- 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
- Target version changed from 7.2.5 to 7.2.6
- Target version changed from 7.2.6 to 7.2.7
- Target version changed from 7.2.7 to 7.2.8
- Target version changed from 7.2.8 to 7.2.9
- Target version changed from 7.2.9 to 7.2.10
- Target version changed from 7.2.10 to 7.2.11
- Target version changed from 7.2.11 to 1046
- Target version changed from 1046 to 7.3.8
- Target version changed from 7.3.8 to 7.3.9
- Target version changed from 7.3.9 to 7.3.10
- Target version changed from 7.3.10 to 7.3.11
- Target version changed from 7.3.11 to 7.3.12
- Target version changed from 7.3.12 to 7.3.13
- Target version changed from 7.3.13 to 7.3.14
- Target version changed from 7.3.14 to 7.3.15
- Subject changed from Impossible to modify user seftings when user is used by the system to Impossible to modify user settings when user is used by the system
- Target version changed from 7.3.15 to 7.3.16
- Target version changed from 7.3.16 to 7.3.17
Also available in: Atom
PDF