ubuntu進入恢復模式

默認ubuntu是沒有root用戶的,若是此時你不當心執行了usermod -G groupname username,則username丟失其餘原來的組,包括原來的sudo組,只屬於groupname組,這樣ubuntu將徹底丟失root權限shell 解決方法:ubuntu 一、進入ubuntu的恢復模式:rem 在開機時,按住shift鍵,進入恢復模式file 二、進入root shell界
相關文章
相關標籤/搜索