kuser + root passwd lost

V13 v13 at priest.com
Sun Jul 28 10:27:00 EEST 2002


On Friday 26 July 2002 19:05, Alex Papadopoulos wrote:

> ...kai ayto htan! Ektote, den exw root password! Dokimasa to password
> tou xrhsth pou ebala, mpas kai mperdeythke ekei, tipota. Keno, mpas kai
> to esbhse me tis allages sto /etc/shadow, tipota. Pali kala pou ekana
> dokimastika setuid root ton pppd prin apo deka lepta alliws 8a eixa ena
> axrhsto mhxanhma!
>
> Kammia idea? (ektos apo hacking :-) )

Kaneis boot me otidipote mporeis na kaneis mount to / toy linux soy.
An px to'xeis kanei mount sto /mnt, tote kaneis edit /mnt/etc/shadow
(h an den yparxei ayto, to /mnt/etc/passwd) kai stni proti grammi 
tha leei kati san:
root:C1iEGYOlRC5oq:11758:0:::::

to alazeis se:
root::11758:0:::::
(sbineis diladi oti exei anamesa sta 2 prota ':' )

kai kaneis boot me to linux soy kanonika.. tora den tha soy zitisei password 
gia na mpeis san root.

allh lysi einai na alakseis to uid kapoioy xristi poy ksereis to password, sto 
/etc/passwd.. px:

v13:x:1000:0::/home/v13:/bin/bash

na to kaneis:

v13:x:0:0::/home/v13:/bin/bash

kai na mpeis san ayton ton xristi, opote tha'sai kai pali root.

> - -A
<<V13>>




More information about the Linux-greek-users mailing list