Home > OS >  How to solve the problem of root can't login!!!!!!
How to solve the problem of root can't login!!!!!!

Time:10-12


Because need rectification problem (above) and then when the root is also written in the wheel (usernod - G root), lead to can't logged in the root, now want to error modification back then need root privileges to modify (no feeling ah, infinite loop), request the bosses to give directions ah urgent

CodePudding user response:

You can log on to other accounts
Entered in the switch to the root

CodePudding user response:

Restart the system, find a system image to hang into, from the mirror boot into recovery mode, in order to mount the system tray for both reading and writing, to modify the/etc/group, the root removed from the wheel group, or ever have sudo permissions ordinary users, through the sudo command will root from the wheel group, delete or modify group file

CodePudding user response:

Using ordinary users cut root can cut again, try the under mount the mirror image method etc., thank you for the two bosses
  • Related