Change redhat root password
在安裝完Linux的時候突然忘記了root密碼,可以先重啟Linux,在開機在出現GRUB畫面按下e鍵,選擇第二項:(原有) kernel /vmlinuz-2.6.18-14 root=/dev/VolGroup00/LogVol00 rhgVol quiet 修改為(在最後加一個空格,再加一個single): kernel /vmlinuz-2.6.18-14 root=/dev/VolGroup00/LogVol00 rhgVol quiet single 再使用END鍵退出,在剛才修改的選項上按b鍵盤,作為單使用者登入. 當出現:sh-3.2#時,輸入命令passwd ,修改root密碼
sh-3.2# passwd root
修改完後使用reboot命令重啟即可.
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/32980/viewspace-1036753/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- After mysql installation, we need to change the password of root as belowMySql
- FreeBSD on Raspberry PI root, freebsd account password
- mysql 1045, "Access denied for user 'root'@'localhost' (using password: NO)"MySqllocalhost
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:YES)Errorlocalhost
- 啟動報錯:Access denied for user 'root'@'localhost' (using password:YES)localhost
- 報錯”ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)”Errorlocalhost
- java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (using password: YES)JavaSQLExceptionlocalhost
- Linux錯誤 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)LinuxErrorlocalhost
- 解決Mysql:ERROR 1045 (28000):Access denied for user ‘root‘@‘localhost‘ (using password: NO)的方法MySqlErrorlocalhost
- SpringBoot中yml配置java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (using password: NOSpring BootJavaSQLExceptionlocalhost
- MySQL 8.0.13 密碼問題 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)MySql密碼Errorlocalhost
- Navicat遠端連線MySQL 提示1045 - Access denied for user 'root'@'223.74.158.192'(using password:YES)MySql
- MySQL系列:Docker安裝 MySQL提示錯誤:Access denied for user'root'@'localhost' (using password:yes)MySqlDockerlocalhost
- mac os x 安裝mysql遇到 Access denied for user ‘root‘@‘localhost‘ (using password: YES)的解決方法MacMySqllocalhost
- sqlserver Change Data Capture&Change TrackingSQLServerAPT
- Django中的函式make_password、set_password和check_passwordDjango函式
- no-wwwtl622com17008768000-password never prompt for password
- SQLSTATE[HY000] [1045] Access denied for user ‘root‘@‘localhost‘ (using password: YES)”錯誤的隱藏解決辦法SQLlocalhost
- JavaScript change 事件JavaScript事件
- Madagascar Projection ChangeProject
- iOS Password AutoFilliOS
- Password Storage - UserDetailsAI
- vue專案中連線MySQL時,報錯ER_ACCESS_DENIED_ERROR: Access denied for user 'root'@'localhost' (using password:YES)VueMySqlErrorlocalhost
- redhat安裝dockerRedhatDocker
- Redhat(02):yum 配置Redhat
- chmod命令(change mode)
- 322. Coin Change
- change ^M to new line
- change tabs in Adobe AcrobatBAT
- redhat 7.x 、redhat 6.x檢視硬碟UUID方法Redhat硬碟UI
- URL password 屬性
- scp without interative password
- [20190312]檢視v$datafile欄位OFFLINE_CHANGE#, ONLINE_CHANGE#.txt
- php password_hash password_verify 加密驗證不需要saltPHP加密
- Redhat:檔案目錄管理Redhat
- How to change the background color for PyCharmPyCharm
- gerrit "missing Change-Id"
- mysql change buffer小結MySql
- Innodb特性之change buffer