Im trying to reset my root password but when i used the passwd command the following error occurr:
Can't open /dev/null: no such file or folder found.
I check directory and file and it exists. How can i work with this problem.
thanks
Cant Open /dev/null: no such file or folder when using passwd in rescue mode
-
- Posts: 3
- Joined: 2018/01/11 23:08:40
Re: Cant Open /dev/null: no such file or folder when using passwd in rescue mode
Did you follow the instructions on https://access.redhat.com/documentation ... t_Password
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 3
- Joined: 2018/01/11 23:08:40
Re: Cant Open /dev/null: no such file or folder when using passwd in rescue mode
Thanks for your reply.
Yes, i did it yesterday and try again using your link but with the same result.
When i type passwd, instead of ask for username, the error Cant Open /dev/null: no such file or folder occur.
Yes, i did it yesterday and try again using your link but with the same result.
When i type passwd, instead of ask for username, the error Cant Open /dev/null: no such file or folder occur.
-
- Posts: 3
- Joined: 2018/01/11 23:08:40
Re: Cant Open /dev/null: no such file or folder when using passwd in rescue mode
Finally i solve the problem.
After the mount -o remount;rw /sysroot command...
I have to use this one...
mknod /dev/null/ c 1 3 and hit enter.
Then i used the passwd command without problems.
Thanks for your help.
After the mount -o remount;rw /sysroot command...
I have to use this one...
mknod /dev/null/ c 1 3 and hit enter.
Then i used the passwd command without problems.
Thanks for your help.