17 AnswersNew Answer
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?
5/10/2018 5:39:59 AMアルゴリズム X
17 AnswersNew Answer
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
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.
It can not be done that way on this PC
ok. Live CD , Ubuntu ISO, SUDO SU is not working too. system wrote the same thing...
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.
Any ideas about Blocking RO/RW mode.???
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?
Ok. For more additional information I'll put screenshots soon... in here..
Yes I want to change the password
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.
You need to change the .bashrc Or sudo su....if I'm understanding you correctly
have you tried: passwd username ? Btw. root has all privileges, so he can read write nearly everything
That works too...
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?
It's not hard passwd username
you need to boot in recovery mode and then select root console
Sololearn Inc.4 Embarcadero Center, Suite 1455
Send us a message