2

I mounted a guest centos system and changed inittab file to single user mode. Then I unmounted it and used virsh console to access the guest system in single user mode. However I got 'unknown user name' message as following:

[root@guest34 /]# passwd root

passwd: Unknown user name 'root'.

Purres
  • 1,271
  • 2
  • 11
  • 12

1 Answers1

0

Try using just passwd without the username.

user1403360
  • 931
  • 1
  • 12
  • 17