#can you change your root password even if you encrypt your home folder?

1 messages · Page 1 of 1 (latest)

grand plume
#

If you encrypt your homefolder, can you change your password later on?
Im talking about the password that you get asked while installing, the one linux keeps asking for computer changes(root access)

sick hemlock
#

Sort of (to my understanding). The password that encrypts the home folder is your user’s password. This is technically separate from the root password, BUT whenever you use sudo or make changes that require root access, it actually asks for your standard user password and NOT the root password (because, depending on how a Linux system is configured, some non-root users can use their password to access root privileges).
You would be able to check simply by running sudo [any text]. It will either ask for password for root or password for [your user].
All of this is to say, on Linux Mint, you can change the password of the root user, but you probably cannot change the password that is asked for when running sudo on your user account, without having to separately decrypt your home folder.