Dupa cum stiti, parolele pe linux sunt in /etc/shadow
De asemenea, au forma:
Code:
root:$1$aB7mx0Licb$CTbs2RQrfPHkz5Vna0.fnz8H68tB.:10852:0:99999:7:::
Acum vom edita fisierul.
Code:
vim /etc/shadow
Stergeti hashul ($1$aB7mx0Licb$CTbs2RQrfPHkz5Vna0.fnz8H68tB.)
Dupa ce ati terminat, executati comanda:
Code:
passwd root
Scrieti noua parola pt. root si ati terminat