0

So, how can I recover password of root account using only terminal? I have only terminal (not sudo), and no GUI acces

6
  • Sounds like you need to reinstall the OS, or restore it from a backup. How did you get into that mess?
    – benwiggy
    Jul 20, 2020 at 7:15
  • Eh, I made new password that is 8 characters long with @# symbols because I thought my old password is not enough secure, than I made everything wrong, and now I have only terminal... Jul 20, 2020 at 7:22
  • When you say 'root' account, do you mean the root user, or just an admin account? Normally root shouldn't be enabled.
    – benwiggy
    Jul 20, 2020 at 7:24
  • I am new at mac, I thought if I get root access, I can go to passwords file and know my password like in Linux Jul 20, 2020 at 7:25
  • 1
    In general you cannot "recover" the password (as in knowing what the password originally were)... however you can set a new password. Is that what you want?
    – jksoegaard
    Jul 20, 2020 at 8:08

0

Browse other questions tagged .