Hackia, eeeeeeee?

Christos Ricudis ricudis at komodino.itc.auth.gr
Mon Feb 28 09:31:57 EET 2005


Briskeste a8eatos mesa sto IT ths CTU, opoy kataferate na trypwsete 
(klassika) apo ton eksaerismo. O Jack kynhgaei kati Kogkolezous 
tromokrates pou prospa8oun na apokthsoun ton katastrofiko io ths gripphs 
twn skylwn, o Tony tsakwnetai me ton Chapel gia tis prosmetrhseis twn 
epidomatwn stis syntakseis ths CTU, h Kim einai sto krebbati me kapoio 
roufiano, kai kanenas den prosexei esas poy prospa8eite na klepsete to 
pio shmantiko resource tou data center :  Ena lesbiako video ths Nina me 
thn Kim.

Dystyxws ta dedomena briskontai se ena SUN Netra T1 me kleidwmeno 
firmware. To solaris einai gnwsto gia thn apro8ymia tou na sas afhsei na 
prosperasete to boot sequence tou, kai den gnwrizete oute to root oute 
to firmware password wste na kanete boot apo alternate medium. Exete 
mono to laptop sas.

Eytyxws kapoios exei ksexasei to "net" sto boot devices list, opote 
bgazete to disko tou systhmatos kai prospa8eite na kanete netboot to 
mhxanhma gia na allaksete to firmware password. To pio eykolo 
leitourgiko gia na kanete netboot einai kapoio apo ta BSD.  Dokimazete 
loipon ena OpenBSD. Ry8mizete swsta to bootparams kai to ethers arxeio, 
kai prospa8eite na taisete sto mhxanhma ton secondary boot loader tou 
OpenBSD. Meta apo 30 lepta ta katafernete, exontas kanei 2 fores la8os 
sto NFS root path tou bootp. Dystyxws o GENERIC kernel tou OpenBSD ta 
paizei molis prospa8ei na kanei mount to root device apo NFS. Tzifos.

Apofasizete na epanalabete thn idia diadikasia xrhsimopoiwntas NetBSD. O 
secondary boot loader tou NetBSD exei ligotera bugs apo tou OpenBSD ton 
opoio exoun na kanoyn sync kati aiwnes, kai h diadikasia proxwraei 
kanonika. Katafernete na kanete boot enan INSTALL kernel, na 
egkatasthsete ena base system, kai epitelous briskeste sto polypo8hto # 
prompt.

Dokimazete na allaksete thn openboot parametro "security-mode" 
xrhsimopoiwntas thn entolh /usr/sbin/eeprom. Tzifos : "parameter 
security-mode is not yet supported". Sas katebainei h idea na koitaksete 
to source ths eeprom mhpws kai sas dwsei kapoia hints gia to /dev/eeprom 
format. Psaxouleyontas anakalyptete sto ophandlers.c to parakatw :

/*
 * There are several known fields that I either don't know how to
 * deal with or require special treatment.
 */
static  struct extabent opextab[] = {
        { "security-password",          op_notsupp },
        { "security-mode",              op_notsupp },
        { "oem-logo",                   op_notsupp },
        { NULL,                         op_notsupp },
};

"Re mpas kai..." skefteste, kai kanete comment out thn deyterh grammh 
tou array. Recompile thn eeprom, kai :

# eeprom security-mode
security-mode=command
#

Wpa, thn ekane parse kanonika. Mhpws mporei arage kai na thn allaksei?

# eeprom security-mode=none

...............

02:59:57
02:59:58
02:59:59
03:00:00

-- 
Christos Ricudis				ricudis at itc.auth.gr
Systems Administrator				+30-2310-998656
IT Support Center
Aristotle University of Thessaloniki, GREECE




More information about the Linux-greek-users mailing list