After using sudo commands like 'sudo su -' to become root and running the passwd command it is not working as expected. It is expected to change the root password at this prompt. However it is attempting to change the password for the user account used to execute the original sudo command.
passwd: Changing password for tuser1
WORKAROUND # 1:
Execute the passwd command and specify the root user.
# passwd root
Changing password for user root.
WORKAROUND # 2:
Edit the /etc/opt/quest/qpm4u/pm.settings file on your clients and set the following:
Information on the settings in the Privilege Manager Admin guide under the Privilege Manager Variable section
Data Type: boolean (YES/NO
Data Type: string
Valid values are: submituser or runuser
Note: These settings only take effect if the sudoers policy allocates a pty. A pseudo-tty is allocated by sudo when the log_input, log_output or use_pty flags are enabled in sudoers policy.
© 2021 One Identity LLC. ALL RIGHTS RESERVED. Feedback Conditions d’utilisation Confidentialité