Discover debian forgot user password, include the articles, news, trends, analysis and practical advice about debian forgot user password on alibabacloud.com
This article comes from Chinaunix blog, if you look at the original point: http://blog.chinaunix.net/u/22713/showart_166207.html
Today, I installed Debian to do Linux system programming, and then forgot the root password after loading it.
For a long time not using Ubuntu, come in to play today, the result even the root user password of the MySQL forgot. On the internet to find a bit, found the following solutions, try a bit, feasible! It is important to note that environmental issues
This is from somewhere else, but I have forgotten where it is.
Many people often ask this question in the forum, and some people do not give much answers.
Take it out and use it as your notes.
Debian Root Password forgot Solution
For
MySQL forgot the root password in Windows
Mysqld-nt -- skip-grant-tables
Mysqladmin-u root flush-privileges password "newpassword"
----------------------------------------
Tip: 1045 access denied for user 'root' @ 'localhost' using password yesI
Http://www.cnblogs.com/yuxc/archive/2012/07/25/2607587.html1. End the currently running MySQL process.#/etc/init.d/mysql Stop2. Run in MySQL Safe mode and skip permission verification.#/usr/bin/mysqld_safe--skip-grant-tables3. Re-open a terminal to
Client connection times wrong MySQL database appears: Error1045 Errors, indicates that the user name or password entered is denied access. The solution can be divided into the following steps:1. Modify the MySQL configuration file so that you can
Debian, Debian Linux
Why should I change the operating system suddenly?PreviouslyLubuntuThe hardware is very bad.What's worse is that Lubuntu is broken and many programs cannot run normally.So I want to changeDebian+XFCE.
You can easily record the
We often encounter the forgotten root password situation, the following is the solution,This method uses the vast majority of Linux distributions:1. First Enter GRUB2. At the entrance to edit, press E to add after quiteInit=/bin/bash, press Ctrl+x
Linux forgot root PasswordWe often encounter a situation where we forget the root password. Here is the solution,This method uses the vast majority of Linux releases:1. First go to grub2. At the entrance to be edited, press e and addInit =/bin/bash,
Log in as root, execute:
Copy Code code as follows:
# passwd username (change password)
# Useradd User name (add user)
The specific examples are as follows:
Copy Code code as follows:
[Root@bogon ~]# passwd
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.