I want to change the password I assigned to root on my Debian webserver to something longer and more secure.
How do I do that? I haven’t forgotten/lost the current password, I just want to change it.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
You have to boot in Recovery Mode before using Paul D. Waite's suggestion:
Right after booting into "Recovery Mode" right at the command prompt simply type:
sudo password root
then the system will ask for the new Root's password once and twice to verify and you ARE done.