Relative Content

Tag Archive for centos

How to reset root password in Centos7

Linux – CentOS 7
1.Forgotten the root password.
2.with Pressing e at grub menu added rd.break enforcing=0.
3.mounted sysroot as rw.
4.tried to change password but error came “Authentication Token Manupulation Error”.
5.observed that lsattr /etc/passwd /etc/shadow shows following output-
———— /etc/shadow
———— /etc/passwd
6.Disk space is not full, however , how to check disk space from Emergency mode?