Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Ubuntu 14.04 forget solution root password     - ELKstack log analysis platform (Server)

- Install NetBeans IDE 8.0 on Ubuntu, Linux Mint, Elementary OS, and Debian (Linux)

- Linux with Windows Explorer as a security system (Linux)

- Installation and Configuration OpenVPN server and client on Ubuntu 15.04 (Server)

- Text editing and viewing text Linux command (Linux)

- Linux kernel compilation, the configuration of the motor drive (Programming)

- Java code JIT compiler-friendly Mody (Programming)

- Configuration OpenOCD + FT2232 under Ubuntu (Linux)

- Scala REPL Shell call (Programming)

- How to interactively create a Docker container (Server)

- Linux and Unix systems really do network more secure (Linux)

- The PostgreSQL database pg_dump command line does not enter a password method (Database)

- Java precision four operations (Programming)

- CentOS 6.5 opens the Xmanager Remote Desktop login (Linux)

- count (*) function in MySQL optimization of InnoDB storage engine (Database)

- PXE install CentOS 6.4 (Linux)

- Linux Routine Task Scheduler (Linux)

- How to install Bugzilla 4.4 on Ubuntu / CentOS 6.x (Linux)

- Ubuntu 12.04 installation instructions under GAMIT10.40 (Linux)

- libnet list of functions (Programming)

 
         
  Ubuntu 14.04 forget solution root password
     
  Add Date : 2018-11-21      
         
         
         
  Computer useless over 20 days, forget Ubuntu 14.04 root password, here is the Internet to find a solution, and the other probably also the same. Because some of the gaps, did not give me solve the problem. By analyzing the final problem is solved, the solution is now recorded at key points. Hoping to facilitate others.

1. Power (not installed virtual machine, cell phone shot this picture improvise to see):

2. At this time there will be an option: Advanced Options for Ubuntu, select Enter directly


3. When you see there are a lot of options, check back with the recovery mode option (Do not Enter!), Press the letter e

Pick any one behind the recovery mode on it, but the best choice for high version of that. In fact, you can also direct the transport, description will be given later.

4. The critical moment arrived, fourth from the bottom line, you'll see a line linux /boot/vm.......ro recovery \ nomodeset,

step 1: Remove recovery \ nomodeset

step 2: add this line at the end of the quiet splash rw init = / bin / bash

These settings are not necessary, if we want to change here, put into the ro rw it. If mounted usr is a separate partition, but may be given after this modification. Because the recovery mode is only mount the root partition.

5. Press F10, to start.

6. If you will not accidentally enter the system, enter: passwd, the system will prompt you to enter a new password, end.

This practice law so that it is possible, but on my machine is so bad. According to my instructions marked red engage, step 6 should be another way in.

6. Select the root drop to root shell prompt in the recovery menu, and then press Enter

7. enter the shell interface, use the passwd command to set a new password: passwd

passwd command may also be found. This is because the passwd command in the / usr / bin, if mounted usr is a separate partition, as this partition is not mounted carrier recovery mode command can not find the cause passwd. The solution is to re-mount the usr partition. We can all partitions are mounted together, or use the cat command to view the / etc / fstab [and / etc / mstab (this should not need to see)] to find the mount point for the usr partition, and then use the mount command to mount. You can then execute the passwd command.

8. Enter the new password, enter the new password again, see password updated successfully is successful

If step 4, did not change ro rw, where there will be authentication token manipulation error, it is because the disk is mounted read-only, you need to use the command "mount -o rw, remount /" to remount the root partition upload a read-write mode.
     
         
         
         
  More:      
 
- VMware Workstation virtual machine startup error: Could not open / dev / vmmon in CentOS 6 (Linux)
- Ubuntu 15.10 under Python + Apache + CGI fully configured (Server)
- Automated Password Generator: Linux under a special password generator (Linux)
- Java Builder mode (Programming)
- Install Ubuntu text editor KKEdit 0.2.10 (Linux)
- Zypper command for SUSE Linux package management (Linux)
- Virtual Judge environment to build and configure under Ubuntu (Server)
- Delegate in C # (Programming)
- CentOS 6.4 of cron scheduled task configuration (Linux)
- MySQL view (Database)
- The OpenGL ES GLFW window structures (Programming)
- Introduction to Linux Shell (Programming)
- cat command uses the Linux redirection merge files (Linux)
- Hadoop 2.0 Detailed Configuration Tutorial (Server)
- Help you to see Linux system architecture type 5 Common Commands (Linux)
- Proper use Core Data multithreaded 3 ways (Programming)
- Build RPM package uses Docker mirror (Linux)
- Storm how to ensure that at least once semantics (Programming)
- Binary Tree Traversal (Linux)
- GitLab Installation Guide -Ubuntu 14.04 LTS (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.