So how exactly do I change the password for user in workstation?

Ok so I was going off this tutorial here https://www.reddit.com/r/Whonix/comments/1dxk1gn/how_to_install_whonix_on_linux_ubuntu_mint_etc/ ok in this tutorial it says to go into terminal in both gateway and workstation and enter command

 sudo passwd user 

to change the password for user.

Ok so this worked just fine in gateway, so yeah this worked just fine in gateway and then I was able to do “sudo apt update && sudo apt upgrade -y” and update gateway (and by the way is this a good way to update gateway or is there a better way to do it?)

Ok so then I opened up workstation and opened up terminal and entered “sudo passwd user” and this is what I got

sh: corrupt history file /home/user/.histfile
[workstation user ~]% sudo passwd user
zsh: permission denied: sudo
zsh: exit 126   sudo passwd user
[workstation user ~]% 

So yeah what happened here?

And why is this page here Post-installation Security Advice incomplete? Now listen, I saw that page many months ago, I remember it had instructions on how to change your password but those instructions have since been deleted, so where are the official instructions on how to change your password for user in Whonix? So yeah, that page needs to be updated with instructions on how to change the password for user in both gateway and workstation cause you need to change the password for user in both gateway and workstation right? Well tell me how (and update that page please).

And also, so I just do “sudo apt update && sudo apt upgrade -y” in both gateway and workstation to update Whonix, so is this ok or is there better way to update Whonix? What is the official way to update Whonix?

Edit: Oh yeah, I’m on Ubuntu 24.04.2 LTS and I installed VirtualBox by entering “sudo apt install virtualbox” in Terminal and this installed the VirtualBox that’s included in Ubuntu 24.04’s repository which is VirtualBox 7.0.16

Use the search function.

Oh ok, thank you. I got it working.

So in order to change the user password and update it, you have to choose the “PERSISTENT mode SYSMAINT session” and then you can use sudo in the Terminal. And I still just preferred to use the “sudo passwd user” and “sudo apt update && sudo apt upgrade -y” commands in Terminal to change the password and update Whonix. It’s what I already know how to do so I stuck with it.

Can one of you please update this page with up to date information Post-installation Security Advice

The wiki is huge. It will take time to update everything or it might not happen at all.

Just use the search function. Faster than typing all of this and waiting for answers.

What I’m gonna do is remake this tutorial here with updated information https://www.reddit.com/r/Whonix/comments/1dxk1gn/how_to_install_whonix_on_linux_ubuntu_mint_etc/

Just my way of giving back to the community. I’m a newbie just helping other newbies out.