Hello I am just starting with linux and I am going through the hardening process, I have set up a password for my sudo account and changed the root default password.
The problem is that when I access ssh with my sudo account, the only password that accepts is the default root password.
I tried changing the password after accessing with the default root one but it tells me that the new password is the current password.
How can I fix this? :(
Thanks in advance <3
sudo
account"?sudo
is just a tool for running a command as a different user (root
, by default). If a password is required by thesudo
configuration, it's just your login password.