+ 11
Ubuntu Server Password Recovery
I will immediately say that I know perfectly how to do it. I bought a server computer cheaply. working, but with a password. The problem is that on ubuntu in the command line I can not change the RO (read only) parameters to RW (read & write). Through recovery mode - root: the command line does not exit, but writes Enter the password or say "control-D". Conclusion: the right to Change Password is blocked. How to fix it?
13 Answers
+ 2
Usually you don't need a password to log in to the root command line through recovery mode. Have you tried pressing Ctr + D ? Otherwise I'd recommend you to install a Ubuntu (or an other Linux server distribution) freshly. If you want to backup your data copy /etc and maybe /home to an other HDD
+ 9
I appreciate your answers. Yes. I pressed ctrl D, after that the system drops me on the resume line in recovery mode.
and yes, I probably have no choice, I will reinstall the system.
+ 8
It can not be done that way on this PC
+ 7
ok. Live CD , Ubuntu ISO, SUDO SU is not working too.
system wrote the same thing...
+ 7
Aaron Eberhardt. I did it.
Recoveru Mode is not help too. because: Root - enter. System is wrote: enter the password or Control D. (no Command line)
I suspect that the system has somehow installed write protection/block.
I can't change RO mode to RW mode.
+ 7
Any ideas about Blocking RO/RW mode.???
+ 6
Ok, if not difficult to explain. how to change it.
what are the commands and where to enter.
because I entered the "E" ubuntu. wrote in the linux line "rw init = / bin / bash (or sh)" + f10.
And then
"mount | grep -w/"
"passwd root (or user)"
entering new password,
but nothing happen.
how to change sudo settings, where to enter?
+ 6
Ok. For more additional information I'll put screenshots soon... in here..
+ 6
Yes I want to change the password
+ 6
I told to You. Ubuntu - E - init=/bin/bash F10. Goes to Command line.
I write : passwd "username" and nothing happend. I can't even write full username, system blocked me.
+ 2
have you tried:
passwd username
?
Btw. root has all privileges, so he can read write nearly everything
+ 2
you need to get to the root command line in recovery mode first, if you are there you will notice a # after the username instead of $. Just asking, you want to change the password, right?
+ 1
you need to boot in recovery mode and then select root console