Hey guys,

I'm trying to change this password, because I don't know the password to login to my VPS (I've never had to set one as far as I know).
Antway... I'm following the steps from these tut https://www.liberiangeek.net/2014/09/reset-forgotten-root-password-centos-7-servers/

After the last step passwd root I get the message: Can't open /dev/null: No such file ot directory.

Now, I know what it says but have no clue what to do about it.
Also if you look between my console output and the one from the tut after I changed ro to rw init=/sysroot/bin/sh abd hitted Ctrl + X. I do miss all these OK messages at the top. I don't know why I didn't get those checks.

passwd_root.jpg

Recommended Answers

All 2 Replies

Thanks, rprofitt!

I did a google too with that message and saw also some pages that siad it could be a bug.

I will definately contact the provider about this first thing in my morning which is around 12.00 am. I'm a nighthawk too!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.