You can mount the root on a default CentOS installation and run the above with:
mount /dev/mapper/*lv_root /mnt
Yes, the filesystem will be changed to update the password, since you can't otherwise authenticate.
Update: You can update any account password this way. For example: