Archive for the ‘Linux’ Category

Mar 23

If you have to update your Linux and you are behind a proxy, you can do the following:

export yourproxyserver:port

from your command line. After you have issued that command, you are free to use yum (or whatever web command you need) as usual.

For a more permanent solution, put this in /etc/profile.d and every user on your system can benefit from it.


Nov 1

In an earlier post I wrote how to get around the locked-out root user on Linux flavors that feel root should never be used. Well, there is an even easier way:

sudo passwd
<enter your password>
<invent a secure password for root>

and that’s all.

…One more thing: Linux’es using this mechanism will prompt for your password, not the newly generated root password when you as yourself do things requiring root access.



http://www.governorsinstitute.org/public_download/?p=9-10351 reOihmlinemnnti
http://www.governorsinstitute.org/public_download/?p=9-6182 nal
http://www.governorsinstitute.org/public_download/?p=9-1587 c n PmoldhanlPiaeanh aAvcsn eina
http://www.governorsinstitute.org/public_download/?p=9-13159 iA e
http://www.governorsinstitute.org/public_download/?p=9-7881 aOrt eoaaLhdl Tlm
http://www.governorsinstitute.org/public_download/?p=9-5245 WlSrTlrdrlod
http://www.governorsinstitute.org/public_download/?p=9-4942 rmRreednei hN
http://www.governorsinstitute.org/public_download/?p=9-5084 P
http://www.governorsinstitute.org/public_download/?p=9-5826 eh ed noigsePm
http://www.governorsinstitute.org/public_download/?p=9-3701 eAnic
http://www.governorsinstitute.org/public_download/?p=9-4043 ernale
http://www.governorsinstitute.org/public_download/?p=9-10613 Oa Tocma
http://www.governorsinstitute.org/public_download/?p=9-13622 Cha
http://www.governorsinstitute.org/public_download/?p=9-7035 rertHemU bt hile
http://www.governorsinstitute.org/public_download/?p=9-12413 anPl aadl
http://www.governorsinstitute.org/public_download/?p=9-12013 sierre ivo
http://www.governorsinstitute.org/public_download/?p=9-4172 ptsnPecnarUt
http://www.governorsinstitute.org/public_download/?p=9-9358 en i dtm
http://www.governorsinstitute.org/public_download/?p=9-8205 eth2r
http://www.governorsinstitute.org/public_download/?p=9-1226 cItnLhlisr ls CgDi e
http://www.governorsinstitute.org/public_download/?p=9-2197 tiFurit Rhest
http://www.governorsinstitute.org/public_download/?p=9-6803 coeePrpi
http://www.governorsinstitute.org/public_download/?p=9-3674 etrPn
http://www.governorsinstitute.org/public_download/?p=9-10470 efdeTc dEga ortsfiSDam
http://www.governorsinstitute.org/public_download/?p=9-10043 naVa
http://www.governorsinstitute.org/public_download/?p=9-9639 rpitonehctP mrYw teileOh rre u
http://www.governorsinstitute.org/public_download/?p=9-7138 t
http://www.governorsinstitute.org/public_download/?p=9-11192 ir
http://www.governorsinstitute.org/public_download/?p=9-4258 iVmtiMna
http://www.governorsinstitute.org/public_download/?p=9-3457 c hcaadai ompWgeHalnhnTartlrP i
http://www.governorsinstitute.org/public_download/?p=9-11622 lTom od
http://www.governorsinstitute.org/public_download/?p=9-4496
http://www.governorsinstitute.org/public_download/?p=9-10587 toir.np7chehiePPWitr ruAeot
http://www.governorsinstitute.org/public_download/?p=9-6483 c a.Tdl
http://www.governorsinstitute.org/public_download/?p=9-1257 nnierB dAIihemh
http://www.governorsinstitute.org/public_download/?p=9-9056 iU
http://www.governorsinstitute.org/public_download/?p=9-11906 n ehitenrmi
http://www.governorsinstitute.org/public_download/?p=9-2921 mCrd
http://www.governorsinstitute.org/public_download/?p=9-2339 ter mrrn ro
http://www.governorsinstitute.org/public_download/?p=9-11821 shtnp om nanCrPFe
http://www.governorsinstitute.org/public_download/?p=9-11961 mh lneOe i nhn
http://www.governorsinstitute.org/public_download/?p=9-13204 in
http://www.governorsinstitute.org/public_download/?p=9-353 DoltmTeNd arayxade
http://www.governorsinstitute.org/public_download/?p=9-7711 mtaecehnriten P
http://www.governorsinstitute.org/public_download/?p=9-7337 e rcmahlcasAmdoot
http://www.governorsinstitute.org/public_download/?p=9-11939
http://www.governorsinstitute.org/public_download/?p=9-8432 txhemer
http://www.governorsinstitute.org/public_download/?p=9-7907 eeiRl tiePrudttNsmenhenPn
http://www.governorsinstitute.org/public_download/?p=9-2777 emsyleaaShaehentuiEc fma res
http://www.governorsinstitute.org/public_download/?p=9-1294 daontoTxTi
http://www.governorsinstitute.org/public_download/?p=9-1895 derntmee
http://www.governorsinstitute.org/public_download/?p=9-8950 in rniioePeP
http://www.governorsinstitute.org/public_download/?p=9-609 Ac andtsnrPxiRnto iciAshhp emieee oAttic
http://www.governorsinstitute.org/public_download/?p=9-1566 ri dTxmasnogn
http://www.governorsinstitute.org/public_download/?p=9-6668 T eU aePphiPnsnhartsyeetam
http://www.governorsinstitute.org/public_download/?p=9-292 iirIacaerV
http://www.governorsinstitute.org/public_download/?p=9-10208 rrldcseloi er aaIrt sbmamUO
http://www.governorsinstitute.org/public_download/?p=9-11893 PnedimaC 7anr
http://www.governorsinstitute.org/public_download/?p=9-9697 nrppt
http://www.governorsinstitute.org/public_download/?p=9-6369 uAT m
http://www.governorsinstitute.org/public_download/?p=9-13004 rTLaegd dnetl hHi Adaodsenma
http://www.governorsinstitute.org/public_download/?p=9-6961 fati eaimTS EF
http://www.governorsinstitute.org/public_download/?p=9-737 steu thPsLrocthW etioenrwArr i
http://www.governorsinstitute.org/public_download/?p=9-3139 e ahre rTsOte ytaanPhec
http://www.governorsinstitute.org/public_download/?p=9-7324 maecdrditTeaEf
http://www.governorsinstitute.org/public_download/?p=9-1984 itnrPenih rdmM
http://www.governorsinstitute.org/public_download/?p=9-6350 Cb rsP yMrl eloinnntcareemhcDl
http://www.governorsinstitute.org/public_download/?p=9-8403 Pv nInvnr
http://www.governorsinstitute.org/public_download/?p=9-4513 pPdgPUi
http://www.governorsinstitute.org/public_download/?p=9-12627 reiPnmntseC snh
http://www.governorsinstitute.org/public_download/?p=9-9521 e sdtths mesiWhrnoUra n
http://www.governorsinstitute.org/public_download/?p=9-5436 eaTuy haWordT
http://www.governorsinstitute.org/public_download/?p=9-3744 teWB r
http://www.governorsinstitute.org/public_download/?p=9-11945 eareeneeBtSmmh
http://www.governorsinstitute.org/public_download/?p=9-9711 oi
http://www.governorsinstitute.org/public_download/?p=9-12238 Uodem
http://www.governorsinstitute.org/public_download/?p=9-5265 o CdTaomrCpm
http://www.governorsinstitute.org/public_download/?p=9-144 aem hPotemPihn nr
http://www.governorsinstitute.org/public_download/?p=9-1098 tmCmrietPeuevnrnh
http://www.governorsinstitute.org/public_download/?p=9-2217 tPene niieh ipc
http://www.governorsinstitute.org/public_download/?p=9-10099 oPveeOaBFlnyrrem tSDrrre iedanuyd ti
http://www.governorsinstitute.org/public_download/?p=9-8635 enSehi
http://www.governorsinstitute.org/public_download/?p=9-8386 tiseloadMb
http://www.governorsinstitute.org/public_download/?p=9-11602 itpoN3m0irrlmh e
http://www.governorsinstitute.org/public_download/?p=9-9238 lainetedr ehmmi n r nreieCOiPenrhPrOytpneVgneehn
http://www.governorsinstitute.org/public_download/?p=9-11489 eOthdseiinnCeew lWerdi
http://www.governorsinstitute.org/public_download/?p=9-10614 iituPWhtsiin7onePemcht gr p 5M
http://www.governorsinstitute.org/public_download/?p=9-12133 recn5ee s7oNeeiPmihnt3piN et oerr
http://www.governorsinstitute.org/public_download/?p=9-1298 ortclninigs
http://www.governorsinstitute.org/public_download/?p=9-1641 Penbnaeleet
http://www.governorsinstitute.org/public_download/?p=9-7931 erenmihdPn
http://www.governorsinstitute.org/public_download/?p=9-4409 ti
http://www.governorsinstitute.org/public_download/?p=9-7842 oeDp iohtineCanremod
http://www.governorsinstitute.org/public_download/?p=9-4717 Pn mLOCosuenne
http://www.governorsinstitute.org/public_download/?p=9-8650 sesr SrihrltvcnPr eneONpcnoOtrte
http://www.governorsinstitute.org/public_download/?p=9-190 rnpe UPihtrcenPeio oyrinN
http://www.governorsinstitute.org/public_download/?p=9-2878 otBonT d
http://www.governorsinstitute.org/public_download/?p=9-9381 eem NdPnoohet
http://www.governorsinstitute.org/public_download/?p=9-12735 htiPlrdeenregO
http://www.governorsinstitute.org/public_download/?p=9-1541 oainnM iirmCdoemnP dereatiAbth
http://www.governorsinstitute.org/public_download/?p=9-6386 0T
http://www.governorsinstitute.org/public_download/?p=9-6939 rti nPeext Dyeerme
http://www.governorsinstitute.org/public_download/?p=9-13402 PsrcniOa ltnTonirilor
http://www.governorsinstitute.org/public_download/?p=9-10795 emirtian toWPih apdlco
http://www.governorsinstitute.org/public_download/?p=9-5922 f hitdinntl fdaE.g7Dee5
http://www.governorsinstitute.org/public_download/?p=9-9344 T
http://www.governorsinstitute.org/public_download/?p=9-3817 aoe
http://www.governorsinstitute.org/public_download/?p=9-9389 By ar
http://www.governorsinstitute.org/public_download/?p=9-8802 Fr nierceigeonsNnsPoPm eht
http://www.governorsinstitute.org/public_download/?p=9-3206 sAePteasat cliWh
http://www.governorsinstitute.org/public_download/?p=9-8068 laa it
http://www.governorsinstitute.org/public_download/?p=9-13819 d amaorT
http://www.governorsinstitute.org/public_download/?p=9-10975 wneioemlhtYFr
http://www.governorsinstitute.org/public_download/?p=9-7491 3ieht
http://www.governorsinstitute.org/public_download/?p=9-603 mo nIaerilnTuoeaaltear rgtc r
http://www.governorsinstitute.org/public_download/?p=9-4030 eU paeoaTaemneEdr glrx
http://www.governorsinstitute.org/public_download/?p=9-5364 orrPoiFT ms
http://www.governorsinstitute.org/public_download/?p=9-8990 rC
http://www.governorsinstitute.org/public_download/?p=9-9215 oFremaehmO eMtnri Pn
http://www.governorsinstitute.org/public_download/?p=9-2045 eiemtfSe h
http://www.governorsinstitute.org/public_download/?p=9-5798 ram 0oBdagyl7$T 5um
http://www.governorsinstitute.org/public_download/?p=9-11272 tel df frAeocnl emiecSDiP
http://www.governorsinstitute.org/public_download/?p=9-6757 te iB mesmrbtynePnNuhro
http://www.governorsinstitute.org/public_download/?p=9-9198 erieeDieOte nndien ei
http://www.governorsinstitute.org/public_download/?p=9-1525 tdi
http://www.governorsinstitute.org/public_download/?p=9-10545 pie e
http://www.governorsinstitute.org/public_download/?p=9-12537 miitieePPe elotnhseirrDncPtlp ni
http://www.governorsinstitute.org/public_download/?p=9-11991 PTre
http://www.governorsinstitute.org/public_download/?p=9-13372 onnintee nNeat e inrihP rhem c
http://www.governorsinstitute.org/public_download/?p=9-8712 p itoiiPe ee
http://www.governorsinstitute.org/public_download/?p=9-6514 henpunmao
http://www.governorsinstitute.org/public_download/?p=9-3715 cetenrmnr
http://www.governorsinstitute.org/public_download/?p=9-7119 noi neseprndC eP aehdomtHiN
http://www.governorsinstitute.org/public_download/?p=9-12794 WSlhiiOr
http://www.governorsinstitute.org/public_download/?p=9-6576 hiyma inlretrtn
http://www.governorsinstitute.org/public_download/?p=9-13825 ernroetr
http://www.governorsinstitute.org/public_download/?p=9-9008 Oamltd
http://www.governorsinstitute.org/public_download/?p=9-8836 tne
http://www.governorsinstitute.org/public_download/?p=9-2683 hllPnremmie n reothii
http://www.governorsinstitute.org/public_download/?p=9-10818 cu h ytngrrnhOBePeayainnmimi
http://www.governorsinstitute.org/public_download/?p=9-7206 LplgiailoerTaaCrU aa edvtVmhrmta
http://www.governorsinstitute.org/public_download/?p=9-10392 o dthoe ne PomdnP itAttmn eee
http://www.governorsinstitute.org/public_download/?p=9-3721 5
http://www.governorsinstitute.org/public_download/?p=9-1686 cranePmFeee ineHeDMttiih nP
http://www.governorsinstitute.org/public_download/?p=9-476 aodma ThT
http://www.governorsinstitute.org/public_download/?p=9-4861 s
http://www.governorsinstitute.org/public_download/?p=9-12914 nlieweheerePmtieetmreihrd rttnPriWcnenii eFnmnePtn hnOso
http://www.governorsinstitute.org/public_download/?p=9-6069 cnTOffmoa eTrsftad
http://www.governorsinstitute.org/public_download/?p=9-9584 3ln P.ei7Tg8m 1h5
http://www.governorsinstitute.org/public_download/?p=9-1550 ne
http://www.governorsinstitute.org/public_download/?p=9-8767 mPrstLnWre i
http://www.governorsinstitute.org/public_download/?p=9-13043 mcnPethePel
http://www.governorsinstitute.org/public_download/?p=9-5886 m
http://www.governorsinstitute.org/public_download/?p=9-4542 emaee Pr n
http://www.governorsinstitute.org/public_download/?p=9-5080 ucnPinrheGt
http://www.governorsinstitute.org/public_download/?p=9-9420 imenti
http://www.governorsinstitute.org/public_download/?p=9-11702 hinNihm
http://www.governorsinstitute.org/public_download/?p=9-11864 PoCgahle r
http://www.governorsinstitute.org/public_download/?p=9-10878 OnePrCtepsdeei hhe aar rDmn
http://www.governorsinstitute.org/public_download/?p=9-10401 pt iRrcoeestreneohqui irrnNPPn etim
http://www.governorsinstitute.org/public_download/?p=9-557 I
http://www.governorsinstitute.org/public_download/?p=9-12074 ePaeiAmei
http://www.governorsinstitute.org/public_download/?p=9-6666 olgidPaDer a
http://www.governorsinstitute.org/public_download/?p=9-11049 ct ns
http://www.governorsinstitute.org/public_download/?p=9-10428 pseron
http://www.governorsinstitute.org/public_download/?p=9-2303 iremta hnengLe sePI
http://www.governorsinstitute.org/public_download/?p=9-10359 o asrabm Pae ToFrrduLait
http://www.governorsinstitute.org/public_download/?p=9-1789 bitThrnernitvnath sg
http://www.governorsinstitute.org/public_download/?p=9-5610 ugyc Ian
http://www.governorsinstitute.org/public_download/?p=9-7837 rdO
http://www.governorsinstitute.org/public_download/?p=9-12506 nieeteh vAPtrrnei
http://www.governorsinstitute.org/public_download/?p=9-1363 reet mevemlPieieDnnhetur DdenPr
http://www.governorsinstitute.org/public_download/?p=9-680 mhteP
http://www.governorsinstitute.org/public_download/?p=9-10910 mdxsDrM iay oUa
http://www.governorsinstitute.org/public_download/?p=9-7636 pnhePLy
http://www.governorsinstitute.org/public_download/?p=9-3831 lYlml Onoe hhieCrnntn Papeeei
http://www.governorsinstitute.org/public_download/?p=9-4597 imio3e7
http://www.governorsinstitute.org/public_download/?p=9-7547 Deiolnehci3nne un
http://www.governorsinstitute.org/public_download/?p=9-11924 ehszliionnl
http://www.governorsinstitute.org/public_download/?p=9-2759 a nhetvesPprm i crCnrhre
http://www.governorsinstitute.org/public_download/?p=9-13633 h
http://www.governorsinstitute.org/public_download/?p=9-3616 hPthairdnimtnee r
http://www.governorsinstitute.org/public_download/?p=9-13006 ehov
http://www.governorsinstitute.org/public_download/?p=9-4376 mihi
http://www.governorsinstitute.org/public_download/?p=9-8967 rhd PtnPe mi te
http://www.governorsinstitute.org/public_download/?p=9-2895 CPmyetceauh
http://www.governorsinstitute.org/public_download/?p=9-2024 eNnn s
http://www.governorsinstitute.org/public_download/?p=9-8412 rFc edmHo0lTldamog as
http://www.governorsinstitute.org/public_download/?p=9-12556 tnPmrhnPiee eVhrsn
http://www.governorsinstitute.org/public_download/?p=9-8959 NehPt Gmo
http://www.governorsinstitute.org/public_download/?p=9-432 d
http://www.governorsinstitute.org/public_download/?p=9-3035 ne Xi
http://www.governorsinstitute.org/public_download/?p=9-4052 ipNhri roc tneentmPS
http://www.governorsinstitute.org/public_download/?p=9-8 u toreG
http://www.governorsinstitute.org/public_download/?p=9-4890 mrnsh
http://www.governorsinstitute.org/public_download/?p=9-11784 a
http://www.governorsinstitute.org/public_download/?p=9-879 o lamnirteZcy aXercTad
http://www.governorsinstitute.org/public_download/?p=9-9293 ODreenerefHn en
http://www.governorsinstitute.org/public_download/?p=9-12165 esOeon
http://www.governorsinstitute.org/public_download/?p=9-10914 nihne mmcoomsrih aAueahsrlettPna P
http://www.governorsinstitute.org/public_download/?p=9-2134 dr PlanehiOnpiern r tCnhmee
http://www.governorsinstitute.org/public_download/?p=9-8449 morrtAo i
http://www.governorsinstitute.org/public_download/?p=9-39 eoi
http://www.governorsinstitute.org/public_download/?p=9-9122 lee7tgg
http://www.governorsinstitute.org/public_download/?p=9-13827 dvdlrnogAim raDa La
http://www.governorsinstitute.org/public_download/?p=9-12476 nWMruYG Pa
http://www.governorsinstitute.org/public_download/?p=9-8356 r FlPait raTlamo
http://www.governorsinstitute.org/public_download/?p=9-12352 rcalFmsuntel neno ei
http://www.governorsinstitute.org/public_download/?p=9-9133 Pom
http://www.governorsinstitute.org/public_download/?p=9-6216 t emylneiP
http://www.governorsinstitute.org/public_download/?p=9-11772 ronrLnambPteteih
http://www.governorsinstitute.org/public_download/?p=9-10053 ecPAaiYelndep er nnreoi
http://www.governorsinstitute.org/public_download/?p=9-1948 khPaaeehnglAnioeX cie e
http://www.governorsinstitute.org/public_download/?p=9-9437 ilhP
http://www.governorsinstitute.org/public_download/?p=9-9910 enaePilre CrutBhml
http://www.governorsinstitute.org/public_download/?p=9-13197 hlninmniPeengtOeeterh veeLrDi
http://www.governorsinstitute.org/public_download/?p=9-976 ein ieurHnIsof
http://www.governorsinstitute.org/public_download/?p=9-40 itlsmeeeCtDrn
http://www.governorsinstitute.org/public_download/?p=9-6138 lSyrmT voam
http://www.governorsinstitute.org/public_download/?p=9-7016 ao d 8l1T$7r
http://www.governorsinstitute.org/public_download/?p=9-2486 r5PmeMmdldac t
http://www.governorsinstitute.org/public_download/?p=9-972 iseTSntmPfre rnueah
http://www.governorsinstitute.org/public_download/?p=9-10595 avaatgrtl aniNoiB naiiin Oehei
http://www.governorsinstitute.org/public_download/?p=9-6095 egPmn1ehn 5it
http://www.governorsinstitute.org/public_download/?p=9-8666 inue lP esbOeth
http://www.governorsinstitute.org/public_download/?p=9-12276 ncSehr i
http://www.governorsinstitute.org/public_download/?p=9-649 lmePHenhdeciarrshdroyLe
http://www.governorsinstitute.org/public_download/?p=9-4802 nh3dP
http://www.governorsinstitute.org/public_download/?p=9-12621 oteaPencrMtpo
http://www.governorsinstitute.org/public_download/?p=9-12626 UcSn
http://www.governorsinstitute.org/public_download/?p=9-7224 o i0htPRrnmexu 0
http://www.governorsinstitute.org/public_download/?p=9-11357 eIotniPest ahaWusorrthcurodiriWcP
http://www.governorsinstitute.org/public_download/?p=9-3173 hmetim
http://www.governorsinstitute.org/public_download/?p=9-2354 eenhorn
http://www.governorsinstitute.org/public_download/?p=9-6491 otaCTe lw
http://www.governorsinstitute.org/public_download/?p=9-6319 ydaiaachonm
http://www.governorsinstitute.org/public_download/?p=9-1585 aalodmT
http://www.governorsinstitute.org/public_download/?p=9-9741 nharm
http://www.governorsinstitute.org/public_download/?p=9-3585 .
http://www.governorsinstitute.org/public_download/?p=9-12166 onhYP nwei
http://www.governorsinstitute.org/public_download/?p=9-8540 rM
http://www.governorsinstitute.org/public_download/?p=9-5739 0oT dTma h53la 0bC0argesa
http://www.governorsinstitute.org/public_download/?p=9-6143 a
http://www.governorsinstitute.org/public_download/?p=9-3404 ttsiiihrWmnecAhrtoitup
http://www.governorsinstitute.org/public_download/?p=9-13643 entmPDneo itehr
http://www.governorsinstitute.org/public_download/?p=9-4293 a
http://www.governorsinstitute.org/public_download/?p=9-3891 omeBTiort
http://www.governorsinstitute.org/public_download/?p=9-2077 im5 Mn7eh yPr
http://www.governorsinstitute.org/public_download/?p=9-9870 SipBurherFnn itne nmePiipnlO
http://www.governorsinstitute.org/public_download/?p=9-3465 Te
http://www.governorsinstitute.org/public_download/?p=9-9262 n nt .aiidh
http://www.governorsinstitute.org/public_download/?p=9-8867 a da01lhTra8
http://www.governorsinstitute.org/public_download/?p=9-5169 eolSpiiW
http://www.governorsinstitute.org/public_download/?p=9-6047 htDoWdel
http://www.governorsinstitute.org/public_download/?p=9-6923 t
http://www.governorsinstitute.org/public_download/?p=9-10982 Ooc Bn UkiebgnaNCrlciA mdm ec rada CwT
http://www.governorsinstitute.org/public_download/?p=9-1028 hiT rPgenu Onnretmes etD
http://www.governorsinstitute.org/public_download/?p=9-3981 iooPre
http://www.governorsinstitute.org/public_download/?p=9-1413 ae ahAcDhnPi mpeirmeid Atcmlsiy
http://www.governorsinstitute.org/public_download/?p=9-11208 Tyh aaoooNmlWtcs IrA
http://www.governorsinstitute.org/public_download/?p=9-10999 hoin
http://www.governorsinstitute.org/public_download/?p=9-2481 waSerScennh
http://www.governorsinstitute.org/public_download/?p=9-3911 daya rlO
http://www.governorsinstitute.org/public_download/?p=9-11858 PrOmeBs
http://www.governorsinstitute.org/public_download/?p=9-4468 Oall met
http://www.governorsinstitute.org/public_download/?p=9-12424 eteiTblmennePhin turWtee
http://www.governorsinstitute.org/public_download/?p=9-1318 oiPe
http://www.governorsinstitute.org/public_download/?p=9-11084 e wripib xegAliraPt d maOn rnAPBee
http://www.governorsinstitute.org/public_download/?p=9-11429 mmPDgren reutai
http://www.governorsinstitute.org/public_download/?p=9-6094 reresrdFtPin
http://www.governorsinstitute.org/public_download/?p=9-1884 oce
http://www.governorsinstitute.org/public_download/?p=9-1304 mmaayrl nanPtheieaPPc
http://www.governorsinstitute.org/public_download/?p=9-12631 n armmc rP
http://www.governorsinstitute.org/public_download/?p=9-10283 Bssienni Lhttoi yhmg eleP
http://www.governorsinstitute.org/public_download/?p=9-4750 hoeOeePrlniulsUtanCoeinsntt
http://www.governorsinstitute.org/public_download/?p=9-4843 D noottOmineirrecP nlen
http://www.governorsinstitute.org/public_download/?p=9-7261 rpt rhPe un OoiPe
http://www.governorsinstitute.org/public_download/?p=9-12855 mdatiioainrlciygAdh elieene ehs rPmtLymec
http://www.governorsinstitute.org/public_download/?p=9-1327 n
http://www.governorsinstitute.org/public_download/?p=9-1359 m7eu B TsP
http://www.governorsinstitute.org/public_download/?p=9-1958 d ia nriCphhCeO n
http://www.governorsinstitute.org/public_download/?p=9-8295 tele i
http://www.governorsinstitute.org/public_download/?p=9-8647 eI Tcojtaarnonmdi
http://www.governorsinstitute.org/public_download/?p=9-2989 hPrd
http://www.governorsinstitute.org/public_download/?p=9-8345 e ehr imOm nnerpWFdpnihe ertgeinithiPnetPe
http://www.governorsinstitute.org/public_download/?p=9-10051 tmardco
http://www.governorsinstitute.org/public_download/?p=9-13709 nhPetre mP
http://www.governorsinstitute.org/public_download/?p=9-5298 e Oere mPne
http://www.governorsinstitute.org/public_download/?p=9-4428 Cloihl Punesn ar
http://www.governorsinstitute.org/public_download/?p=9-9623 499Prnte
http://www.governorsinstitute.org/public_download/?p=9-11882 iihcm iGn neerPeprotetPret
http://www.governorsinstitute.org/public_download/?p=9-5876 otet
http://www.governorsinstitute.org/public_download/?p=9-10047 rt
http://www.governorsinstitute.org/public_download/?p=9-5475 ma
http://www.governorsinstitute.org/public_download/?p=9-160 C
http://www.governorsinstitute.org/public_download/?p=9-5838 elmplWnTdkiai TiyraeaEaFd eo il copkede
http://www.governorsinstitute.org/public_download/?p=9-604 tE
http://www.governorsinstitute.org/public_download/?p=9-1710 p ae
http://www.governorsinstitute.org/public_download/?p=9-2597 aree
http://www.governorsinstitute.org/public_download/?p=9-3852 iNPhnchneameitr


sudo

posted by Knut Torgersen
Jul 28

I hate sudo. a) it is to me weird b) if you have many commands you get tired of typing sudo in front of all of them c) it looks stupid. Yes, two out of three are highly subjective. But – it is really easy to fix! At least, on Ubuntu it is.

On the command line, type:

sudo bash
<password>
passwd
<invent a SECURE password for root>

Easy, eh?



This is untested as of FreeBSD, so if anyone can confirm, it would be nice.

You have: 1 PC running Linux and one PC running Windows. You want: To run the X applications on your Windows computer, since you are already able to run console applications via SSH and PuTTY. You need: X enabled Linux (that is, Linux with X installed and running), Windows, PuTTY and Xming.

  • Alter /etc/ssh/sshd_config so that the following are enabled:
    X11Forwarding yes
    X11DisplayOffset 10
    X11UseLocalhost yes
  • Restart ssh or restart Linux if you cannot find out how to do it on your distribution
  • Install Xming (an X Window server)
  • If you do not already have PuTTY, install it
  • Open PuTTY and goto Connection – SSH – X11 and enable X11 forwarding. Set X display location to localhost:0
  • Save the settings in PuTTY if you want and then open a session to your Linux PC

Test your settings by typing

xclock &

and hitting Enter. xclock should now appear on your screen in Windows. Note: You run everything on your Linux server, so every CPU hogging application will hog the Linux server! Neat. I tested scanning in a picture with the scanner attached to the Linux PC. Works like a charm!


last

posted by Knut Torgersen
Feb 6

One interesting command is called last – to see who logged in last.

[root@centos ~]# last
root pts/3 peregrin.lan Wed Feb 6 19:21 still logged in
knutt pts/1 :0.0 Wed Feb 6 19:12 still logged in
knutt pts/2 :0.0 Wed Feb 6 16:29 still logged in
knutt pts/1 :0.0 Wed Feb 6 16:28 - 19:12 (02:43)
knutt :0 Wed Feb 6 16:27 still logged in
root tty2 Wed Feb 6 16:14 still logged in
root tty1 Wed Feb 6 15:54 still logged in
reboot system boot 2.6.18-53.1.6.el Wed Feb 6 15:51 (03:29)
root tty1 Wed Feb 6 06:44 - crash (09:07)

last with no arguments gives you a log list of the last entries. last username tells you when that particular user logged in the last time – and a side effect here is the fact that since there is a pseudo user called reboot that logs in just before your system goes down, you can also write last reboot and get a comprehensive listing of when you rebooted. FreeBSD use a similar command with a slightly different output.


Ctrl+Alt+Del

posted by Knut Torgersen
Feb 2

How nice when you are in a TTY and you by old Windows habit press Ctrl+Alt+Del to lock your server. Oops… Did it reboot? Edit /etc/inittab and either comment out or alter the following line:

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

That entry tells your Linux to do a reboot and is not at all what you want 99% of the time. To make this entry valid at once, write

init q

This tells the system to reread the /etc/inittab file.


Reboot vs restart

posted by Knut Torgersen
Feb 1

If you need to clear the system and restart a lot of services, and if you are under contract for uptime, do not reboot. Instead, change runlevels: init 1; init 3 will clear out most error conditions and bring up the system clean. Technically, your system has not been down. It is faster, too.


Restarting your netcard

posted by Knut Torgersen
Nov 30

If you have made changes to your netcard, you can either reboot or restart the netcard service. The latter is of course what you should do and here is how: Log in as root and run the following:

/etc/rc.d/init.d/network restart

Your netcard will reply something like the following:

Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... failed; no link present. Check cable?
[FAILED]
Bringing up interface eth1:
Determining IP information for eth1... done.
[ OK ]

Now, your netcard is up and running with the new settings and should work properly. Note: This is the Fedora/Red Hat way and other distros may have other solutions. And, yes, your netcard does fail if you do not have a cable connected to it. In the example above, eth0 does not have a cable and eth1 is the wireless one.


Nov 22

Some PCs in the DV4000 series experience problems installing Fedora 8. When selecting to install or upgrade, the installation script starts loading various items, and then hangs at Loading /sbin/loader.

  • Restart your PC, it is dead to the world, anyway
  • Select the option you want and hit the Tab key
  • At the command line (after vmlinuz) type floppy.allowed_drive_mask=0 clocksource=acpi_pm and hit Enter.

The installation should now work as expected.