I have two users on a device UserX and user admin using Ubuntu 20.04, both have admin rights, but I want UserX not to be able to change the password of user admin. However, I still need to be able to allow UserX to install packages\applications and be able to use sudo, etc
Is there a method of restricting UserX rights not to be able to change the useradmin password?