重置Linux root密碼

平時⽇日常練習過程中如果不小心將 Linux 系統的密碼忘記了並不用慌,只需簡單幾步就可以完成密碼的重置工作。 要先確定是否爲 RHEL/CentOS 7 系統。如果是,然後再進行下面的操作。 [[email protected] ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.4.1708 (Core)
相關文章
相關標籤/搜索