ChangeLog-CVS 175 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099
  1. 2011-10-26 Dmitry V. Levin <ldv@altlinux.org>
  2. NB: ChangeLog file is no longer manually maintained.
  3. See README-hacking for details.
  4. 2011-10-25 Thorsten Kukuk <kukuk@thkukuk.de>
  5. * release version 1.1.5
  6. * configure.in: Bump version number.
  7. * modules/pam_tally2/pam_tally2.8.xml: Remove never used option
  8. "no_lock_time".
  9. 2011-10-14 Kees Cook <kees@debian.org>
  10. * modules/pam_env/pam_env.c (_expand_arg): Abort when encountering an
  11. overflowed environment variable expansion.
  12. Fixes CVE-2011-3149.
  13. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/874565
  14. * modules/pam_env/pam_env.c (_assemble_line): Correctly count leading
  15. whitespace.
  16. Fixes CVE-2011-3148.
  17. Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/pam/+bug/874469
  18. 2011-10-10 Tomas Mraz <tm@t8m.info>
  19. * modules/pam_access/pam_access.c: Add hostname resolution
  20. cache.
  21. (user_match): Clear the cache in fake_item.
  22. (from_match): If from is not hostname, do not try to resolve it.
  23. Cache the getaddrinfo() result.
  24. (network_netmask_match): Cache the getaddrinfo() result.
  25. (pam_sm_authenticate): Free the getaddrinfo() result.
  26. * modules/pam_access/pam_access.c (netgroup_match): If getdomainname()
  27. fails or domainname not set use NULL as domain in innetgr().
  28. 2011-09-30 Tomas Mraz <tm@t8m.info>
  29. * doc/man/pam.conf-syntax.xml: Improve documentation of the
  30. sufficient and requisite control values. (Red Hat Bug #742413)
  31. 2011-08-25 Tomas Mraz <tm@t8m.info>
  32. * modules/pam_access/pam_access.c (user_match): Fix the split
  33. on @ in the user field. (Red Hat Bug #732081)
  34. * modules/pam_loginuid/pam_loginuid.c: Correct the FSF address.
  35. 2011-08-23 Tomas Mraz <tm@t8m.info>
  36. * modules/pam_env/pam_env.c (_pam_parse): Fix missing dereference.
  37. 2011-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
  38. * release version 1.1.4
  39. * configure.in: Bump version number.
  40. * NEWS: Document changes since 1.1.3
  41. * libpam/Makefile.am: Bump release number of shared library
  42. * po/de.po: Translate new string.
  43. * modules/pam_unix/Makefile.am (pam_unix_la_LIBADD): Reorder
  44. Libraries.
  45. 2011-06-21 Thorsten Kukuk <kukuk@thkukuk.de>
  46. * modules/pam_limits/pam_limits.c: Add set_all option,
  47. read limits from PID one if no limit is specified and set_all
  48. is set.
  49. * modules/pam_limits/pam_limits.8.xml: Document set_all option.
  50. Based on Patch by Kees Cook.
  51. 2011-06-15 Tomas Mraz <tm@t8m.info>
  52. * modules/pam_sepermit/pam_sepermit.c (check_running): Avoid
  53. leaking memory and dir handle on realloc failure.
  54. (sepermit_unlock): Cast fcntl() and close() calls to void.
  55. * modules/pam_pwhistory/opasswd.c (check_old_password): Do not
  56. needlessly call strdupa().
  57. (save_old_password): Avoid memleaks in error paths. Avoid memleak of
  58. buf. Make the opasswd entry parsing more robust.
  59. * modules/pam_pwhistory/pam_pwhistory.8.xml: Document the
  60. special meaning of remember=0.
  61. * modules/pam_unix/support.c (_set_ctrl): Do not crash when remember,
  62. minlen, or rounds options are used with wrong module type.
  63. * modules/pam_timestamp/pam_timestamp.c (pam_sm_authenticate): Avoid
  64. memleak in error path.
  65. (pam_sm_open_session): Avoid memleak and fd leak in error path.
  66. * modules/pam_access/pam_access.c (user_match): Initialize the
  67. fake_item from item.
  68. 2011-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
  69. * configure.in: Check for libtirpc by default.
  70. * libpam/Makefile.am: Add support for libtirpc.
  71. * modules/pam_access/Makefile.am: Likewise.
  72. * modules/pam_unix/Makefile.am: Likewise.
  73. * modules/pam_unix/pam_unix_passwd.c: Change ifdefs for
  74. new libtirpc support.
  75. * modules/pam_unix/yppasswd_xdr.c: Only compile if we have rpc/rpc.h.
  76. 2011-06-13 Tomas Mraz <tm@t8m.info>
  77. * modules/pam_securetty/pam_securetty.c (securetty_perform_check): Test
  78. also whether the tty is in the /sys/class/tty/console/active file.
  79. * modules/pam_securetty/pam_securetty.8.xml: Document the new check of
  80. /sys/class/tty/console/active/file.
  81. 2011-06-07 Tomas Mraz <tm@t8m.info>
  82. * modules/pam_namespace/pam_namespace.c (root_shared): New
  83. function to detect shared / mount.
  84. (pam_sm_open_session): Call the root_shared() and enable
  85. private mounts based on that.
  86. * modules/pam_namespace/pam_namespace.8.xml: Document the
  87. automatic detection of shared / mount.
  88. 2011-06-06 Tomas Mraz <tm@t8m.info>
  89. * modules/pam_group/pam_group.c (shift_bytes): Removed.
  90. (shift_buf, trim_spaces): Added new functions.
  91. (read_field): Thorough rewrite of the parsing.
  92. (check_account): read_field() now uses state information. No
  93. extra read_field() call at the end of configuration line.
  94. * modules/pam_time/pam_time.c (shift_bytes): Removed.
  95. (shift_buf, trim_spaces): Added new functions.
  96. (read_field): Thorough rewrite of the parsing.
  97. (check_account): read_field() now uses state information. No
  98. extra read_field() call at the end of configuration line.
  99. * modules/pam_namespace/pam_namespace.h: Define the MS_PRIVATE and
  100. MS_REC flags if they are not in sys/mount.h.
  101. 2011-06-06 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
  102. * po/LINGUAS: Add vietnamese.
  103. * po/vi.po: Add vietnamese translation.
  104. 2011-06-02 Tomas Mraz <tm@t8m.info>
  105. * modules/pam_namespace/pam_namespace.c (protect_dir): Add parameter
  106. to always do protect mount the last directory in the path.
  107. (check_inst_parent, create_polydir): Update the protect_dir() call.
  108. (ns_setup): Likewise and add the MS_PRIVATE mount() call.
  109. (pam_sm_open_session): Check the mount_private option.
  110. * modules/pam_namespace/pam_namespace.h: Add the PAMNS_MOUNT_PRIVATE.
  111. * modules/pam_namespace/pam_namespace.8.xml: Document the mount_private
  112. option.
  113. * modules/pam_cracklib/pam_cracklib.c (str_lower): Make it no-op
  114. on NULL strings.
  115. (password_check): Guard for NULLs returned from memory allocation.
  116. * modules/pam_filter/pam_filter.c (process_args): Guard for error return
  117. from pam_get_user().
  118. * modules/pam_echo/pam_echo.c (replace_and_print): Guard for error return
  119. from pam_get_item().
  120. 2011-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
  121. * modules/pam_timestamp/pam_timestamp.c (main): Remove unsused
  122. variable pretval.
  123. * modules/pam_stress/pam_stress.c (converse): **message is const.
  124. (stress_get_password): pmsg is const.
  125. (pam_sm_chauthtok): Likewise.
  126. * libpam/pam_item.c (pam_get_user): Make pmsg const and remove
  127. casts.
  128. 2011-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
  129. * modules/pam_env/pam_env.c (_pam_parse): Implement debug option.
  130. Based on patch by Tomas Mraz.
  131. 2011-05-24 Thorsten Kukuk <kukuk@thkukuk.de>
  132. * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate): quiet
  133. option has no argument, print no missing file if quiet is set
  134. [sf#3194930].
  135. 2011-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
  136. * modules/pam_lastlog/pam_lastlog.c (last_login_failed): Don't
  137. abort with error if btmp file does not exist.
  138. 2011-03-21 Tomas Mraz <tm@t8m.info>
  139. * modules/pam_unix/md5.c (MD5Final): Clear the whole ctx.
  140. 2011-03-18 Tomas Mraz <tm@t8m.info>
  141. * modules/pam_namespace/md5.c (MD5Final): Clear the whole ctx.
  142. * modules/pam_namespace/pam_namespace.c (del_polydir): Guard for NULL poly.
  143. (protect_dir): Guard for -1 passing to close().
  144. (ns_setup): Likewise.
  145. (pam_sm_open_session): Correctly test for SELinux enabled flag.
  146. 2011-03-17 Tomas Mraz <tm@t8m.info>
  147. * modules/pam_selinux/pam_selinux.c (config_context): Fix leak of type.
  148. (manual_context): Likewise.
  149. (context_from_env): Remove extraneous auditing in success case.
  150. * modules/pam_unix/support.c (_unix_run_helper_binary): Remove extra
  151. close() call.
  152. 2011-02-22 Tomas Mraz <tm@t8m.info>
  153. * modules/pam_nologin/pam_nologin.8.xml: Add missing space.
  154. * modules/pam_limits/limits.conf.5.xml: Fix typo.
  155. 2010-12-21 Tomas Mraz <tm@t8m.info>
  156. * modules/pam_selinux/pam_selinux.c (mls_range_allowed): Unhardcode
  157. values for security class and av permission bit.
  158. 2010-12-14 Tomas Mraz <tm@t8m.info>
  159. * modules/pam_limits/pam_limits.c (parse_uid_range): New function
  160. to parse the range of uids or gids.
  161. (parse_config_file): Call parse_uid_range() and if uid/gid range
  162. is identified, setup the limits if the range matches. New parameters
  163. containing user's uid and primary gid.
  164. (pam_sm_open_session): Pass the user's uid and primary gid to
  165. parse_config_file().
  166. * modules/pam_limits/limits.conf.5.xml: Document the uid/gid ranges.
  167. 2010-12-14 Bahadır Kandemir <bahadir@pardus.org.tr>
  168. * po/tr.po: Updated translations.
  169. 2010-11-25 Tomas Mraz <tm@t8m.info>
  170. * modules/pam_securetty/pam_securetty.8.xml: Improve documentation
  171. of the kernel console feature and the noconsole option.
  172. 2010-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
  173. * modules/pam_securetty/pam_securetty.c: Parse console= kernel
  174. option, add noconsole option.
  175. * modules/pam_securetty/pam_securetty.8.xml: Document new behavior
  176. for serial console.
  177. Patch from Lennart Poettering.
  178. 2010-11-24 Tomas Mraz <tm@t8m.info>
  179. * modules/pam_limits/limits.conf.5.xml: Document the %group syntax.
  180. 2010-11-18 Tomas Mraz <tm@t8m.info>
  181. * modules/pam_limits/pam_limits.c (pam_parse,pam_sm_open_session):
  182. Drop obsolete and broken option change_uid.
  183. * modules/pam_limits/pam_limits.8.xml: Likewise.
  184. 2010-11-16 Tomas Mraz <tm@t8m.info>
  185. * modules/pam_pwhistory/pam_pwhistory.c (pam_sm_chauthtok): Remove
  186. dead and duplicate code. Return PAM_INCOMPLETE instead of
  187. PAM_CONV_AGAIN.
  188. 2010-11-11 Tomas Mraz <tm@t8m.info>
  189. * modules/pam_selinux/pam_selinux.c (pam_sm_open_session): Fix
  190. potential use after free in case SELinux is misconfigured.
  191. * modules/pam_namespace/pam_namespace.c (process_line): Fix memory
  192. leak when parsing empty config file lines.
  193. 2010-10-28 Thorsten Kukuk <kukuk@thkukuk.de>
  194. * release version 1.1.3
  195. * configure.in: Increase version to 1.1.3
  196. * NEWS: document visible changes
  197. * libpam/Makefile.am (libpam_la_LDFLAGS): Bump version number.
  198. 2010-10-27 Thorsten Kukuk <kukuk@thkukuk.de>
  199. * doc/adg/Makefile.am: Use UTF-8 for html docu.
  200. * doc/mwg/Makefile.am: Likewise.
  201. * doc/sag/Makefile.am: Likewise.
  202. 2010-10-22 Tomas Mraz <tm@t8m.info>
  203. * modules/pam_namespace/pam_namespace.c (inst_init): Use execle()
  204. to execute the init script with clean environment. (CVE-2010-3853)
  205. (cleanup_tmpdirs): Likewise for executing rm.
  206. 2010-10-21 Dmitry V. Levin <ldv@altlinux.org>
  207. * modules/pam_mkhomedir/mkhomedir_helper.c (rec_mkdir): Remove.
  208. (create_homedir): Use mkdir() instead of rec_mkdir().
  209. (make_parent_dirs): New function.
  210. (main): Use make_parent_dirs() to create parent directories only
  211. for the home directory itself.
  212. 2010-10-21 Thorsten Kukuk <kukuk@thkukuk.de>
  213. * modules/pam_unix/support.c (_unix_getpwnam): Don't allocate
  214. unneeded buffer for uid/gid [sf#3059572].
  215. 2010-10-20 Thorsten Kukuk <kukuk@thkukuk.de>
  216. * doc/man/pam_get_authtok.3.xml: Fix xml code.
  217. * doc/man/Makefile.am: Fix build dependencys of pam_get_authtok.3.
  218. * xtests/Makefile.am: Only build xtests if we run xtests.
  219. * configure.in: Check for libdb with symbol versions, too.
  220. Patch from Diego Elio Pettenò.
  221. * modules/pam_mkhomedir/mkhomedir_helper.c (rec_mkdir): Create
  222. parent directories always with mode 0755.
  223. (create_homedir): Create main directory with mode 0700 at first.
  224. 2010-10-19 Dmitry V. Levin <ldv@altlinux.org>
  225. * modules/pam_selinux/Makefile.am (pam_selinux_la_LIBADD): Add
  226. @LIBAUDIT@.
  227. * m4/ld-O1.m4 (PAM_LD_O1): Fix typo.
  228. * m4/ld-no-undefined.m4: New file.
  229. * configure.in: Use PAM_LD_NO_UNDEFINED.
  230. * Makefile.am (M4_FILES): Add m4/ld-no-undefined.m4.
  231. * modules/pam_selinux/pam_selinux.c (verbose_message): Remove.
  232. (pam_sm_open_session): Call send_text() instead of verbose_message().
  233. 2010-10-19 Thorsten Kukuk <kukuk@thkukuk.de>
  234. * modules/pam_env/pam_env.8.xml: Document side effects of
  235. environment variables in the stack.
  236. * modules/pam_exec/pam_exec.8.xml: Document that user can
  237. have controll over the environment.
  238. 2010-10-07 Dmitry V. Levin <ldv@altlinux.org>
  239. * modules/pam_selinux/pam_selinux.c (verbose_message): Fix format
  240. string.
  241. 2010-10-04 Dmitry V. Levin <ldv@altlinux.org>
  242. * libpam/pam_modutil_priv.c: New file.
  243. * libpam/Makefile.am (libpam_la_SOURCES): Add it.
  244. * libpam/include/security/pam_modutil.h (struct pam_modutil_privs,
  245. PAM_MODUTIL_DEF_PRIVS, pam_modutil_drop_priv,
  246. pam_modutil_regain_priv): New declarations.
  247. * libpam/libpam.map (LIBPAM_MODUTIL_1.1.3): New interface.
  248. * modules/pam_env/pam_env.c (handle_env): Use new pam_modutil interface.
  249. * modules/pam_mail/pam_mail.c (_do_mail): Likewise.
  250. * modules/pam_xauth/pam_xauth.c (check_acl, pam_sm_open_session,
  251. pam_sm_close_session): Likewise.
  252. (pam_sm_open_session): Remove redundant fchown call.
  253. Fixes CVE-2010-3430, CVE-2010-3431.
  254. 2010-10-01 Thorsten Kukuk <kukuk@thkukuk.de>
  255. * configure.in: Extend cross compiling check.
  256. * doc/specs/Makefile.am: Set CFLAGS and LDFLAGS to BUILD_CFLAGS
  257. and BUILD_LDFLAGS.
  258. Bug #3078936 / gentoo #339174
  259. 2010-09-30 Thorsten Kukuk <kukuk@thkukuk.de>
  260. * modules/pam_xauth/pam_xauth.c (pam_sm_close_session): Warn if
  261. unlink() fails.
  262. 2010-09-27 Dmitry V. Levin <ldv@altlinux.org>
  263. * modules/pam_xauth/pam_xauth.c (pam_sm_close_session): Return
  264. PAM_SUCCESS immediately if no cookie file is defined. Return
  265. PAM_SESSION_ERR if cookie file is defined but target uid cannot be
  266. determined. Do not modify cookiefile string returned by pam_get_data.
  267. * modules/pam_xauth/pam_xauth.c (check_acl): Ensure that the given
  268. access control file is a regular file.
  269. 2010-09-16 Dmitry V. Levin <ldv@altlinux.org>
  270. * modules/pam_env/pam_env.c (handle_env): Use setfsuid() return code.
  271. * modules/pam_mail/pam_mail.c (_do_mail): Likewise.
  272. * modules/pam_xauth/pam_xauth.c (check_acl, pam_sm_open_session,
  273. pam_sm_close_session): Likewise.
  274. 2010-08-31 Thorsten Kukuk <kukuk@thkukuk.de>
  275. * release version 1.1.2
  276. * configure.in: Bump version number.
  277. * NEWS: Document changes since 1.1.1.
  278. * doc/adg/Linux-PAM_ADG.xml: Bump version number.
  279. * doc/mwg/Linux-PAM_MWG.xml: Likewise.
  280. * doc/sag/Linux-PAM_SAG.xml: Likewise.
  281. * libpam/Makefile.am: Bump revision of shared library.
  282. * po/*.po: Regenerate.
  283. 2010-08-26 Tomas Mraz <t8m@centrum.cz>
  284. * modules/pam_nologin/pam_nologin.c (perform_check): Try first
  285. /var/run/nologin if the nologin file is not explicitly specified.
  286. * modules/pam_nologin/pam_nologin.8.xml: Document that /var/run/nologin
  287. is tried first.
  288. 2010-08-26 Sweta Kothari <swkothar@redhat.com>
  289. * po/gu.po: Updated translations.
  290. 2010-08-26 Geert Warrink <geert.warrink@onsnet.nu>
  291. * po/nl.po: Updated translations.
  292. 2010-08-26 Thorsten Kukuk <kukuk@thkukuk.de>
  293. * doc/specs/Makefile.am: Use CC_FOR_BUILD as compiler (cross
  294. compile support).
  295. * configure.in: Check for host compiler if cross compiling.
  296. Bug #2315432, debian#284854#42.
  297. 2010-08-17 Thorsten Kukuk <kukuk@thkukuk.de>
  298. * modules/pam_unix/pam_unix_passwd.c: Implement minlen option.
  299. * modules/pam_unix/support.c: Likewise.
  300. * modules/pam_unix/support.h: Likewise.
  301. * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Adjust
  302. arguments for _set_ctrl call.
  303. * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Likewise.
  304. * modules/pam_unix/pam_unix_session.c: Likewise.
  305. * modules/pam_unix/pam_unix.8.xml: Document minlen option.
  306. Based on patch by Steve Langasek.
  307. 2010-08-12 Thorsten Kukuk <kukuk@thkukuk.de>
  308. * modules/pam_mail/pam_mail.c: Check for mail only with user
  309. privilegs.
  310. * modules/pam_xauth/pam_xauth.c (run_coprocess): Check return
  311. value of setgid, setgroups and setuid.
  312. * modules/pam_xauth/pam_xauth.c (check_acl): Save errno for
  313. later usage.
  314. * modules/pam_env/pam_env.c (handle_env): Check if user exists,
  315. read local user config only with user privilegs.`
  316. 2010-08-09 Thorsten Kukuk <kukuk@thkukuk.de>
  317. * modules/pam_tally/pam_tally.8.xml: Document that pam_tally is
  318. deprecated.
  319. * modules/pam_tty_audit/Makefile.am (EXTRA_DIST): Fix make dist.
  320. * modules/pam_unix/passverify.c (check_shadow_expiry): Correct
  321. check for expired date.
  322. * modules/pam_unix/pam_unix_passwd.c (_pam_unix_approve_pass): Remove
  323. check for password length. Bug #2923437.
  324. 2010-08-04 Thorsten Kukuk <kukuk@thkukuk.de>
  325. * modules/pam_tally2/pam_tally2.c (get_tally): Create file
  326. with correct permissions. Patch by Diego Elio “Flameeyes” Pettenò.
  327. * modules/pam_unix/passverify.c (PAMH_ARG_DECL): Don't request
  328. password change if time is not yet set (1.1.1970). Bug #2730965.
  329. * modules/pam_access/pam_access.c (user_match): Make sure
  330. that user@host will not match @@netgroup. Bug #3035919.
  331. * modules/pam_group/pam_group.c (check_account): Add '%' for
  332. UNIX groups.
  333. * modules/pam_group/group.conf: Add example for '%'.
  334. * modules/pam_group/group.conf.5.xml: Document '%' syntax.
  335. Bug #3002340, #3037155.
  336. 2010-08-02 Steve Langasek <vorlon@debian.org>
  337. * modules/pam_mkhomedir/Makefile.am: don't pass --version-script
  338. options when linking executables, only when linking libraries
  339. Patch from Julien Cristau <jcristau@debian.org>
  340. 2010-07-12 Thorsten Kukuk <kukuk@thkukuk.de>
  341. * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate): Add
  342. audit flag to enable logging about unknown user (#2917257).
  343. * modules/pam_succeed_if/pam_succeed_if.8.xml: Document audit.
  344. * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
  345. * modules/pam_succeed_if/README: Regenerated from xml.
  346. 2010-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
  347. * modules/pam_umask/pam_umask.8.xml: Remove comparisation of
  348. gid and uid for usergroups.
  349. * modules/pam_umask/pam_umask.c (setup_limits_from_gecos): Likewise.
  350. Bug #3004656
  351. * configure.in: Don't check for libxcrypt if no xcrypt.h exists,
  352. fix typo introduced with 1.1.1.
  353. Reported by Diego Elio “Flameeyes” Pettenò.
  354. 2010-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
  355. * modules/pam_xauth/pam_xauth.c (pam_sm_close_session): Call
  356. setfsuid to be allowed to remove temporary files (#3010705).
  357. (pam_sm_open_session): Call fchown with correct permissions.
  358. 2010-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
  359. * modules/pam_tty_audit/Makefile.am (TESTS): Add tst-pam_tty_audit.
  360. * modules/pam_tty_audit/tst-pam_tty_audit: New.
  361. 2010-06-07 Steve Langasek <vorlon@debian.org>
  362. * modules/pam_tty_audit/Makefile.am: If we don't have the libraries
  363. required for building pam_tty_audit, we shouldn't install the manpage
  364. either.
  365. 2010-05-27 Thorsten Kukuk <kukuk@thkukuk.de>
  366. * modules/pam_userdb/pam_userdb.c: Define HAVE_DBM
  367. for BerkDB 5.0 support. Patch by Diego Elio Pettenò.
  368. 2010-04-15 Thorsten Kukuk <kukuk@thkukuk.de>
  369. * modules/pam_exec/pam_exec.8.xml: Fix example.
  370. 2010-04-13 Thorsten Kukuk <kukuk@thkukuk.de>
  371. * modules/pam_pwhistory/opasswd.c: Fix compilation if
  372. cyprt_r() is not available.
  373. * configure.in: check for getutent_r.
  374. * modules/pam_timestamp/pam_timestamp.c: Use getutent()
  375. if getutent_r() does not exist.
  376. Patch from Diego Elio “Flameeyes” Pettenò.
  377. 2010-04-12 Thorsten Kukuk <kukuk@thkukuk.de>
  378. * doc/man/pam.conf-syntax.xml: Better documentation of
  379. "actionN". Patch from Michal Soltys <soltys@ziu.info>.
  380. 2010-04-06 Thorsten Kukuk <kukuk@thkukuk.de>
  381. * modules/pam_rootok/pam_rootok.c: Add support for acct_mgmt
  382. and chauthtok.
  383. * modules/pam_rootok/pam_rootok.8.xml: Document new module
  384. types.
  385. 2010-03-29 Thorsten Kukuk <kukuk@thkukuk.de>
  386. * po/ar.po: Add missing Plural-Forms entry to header.
  387. 2010-03-25 Daniel Nylander <po@danielnylander.se>
  388. * po/sv.po: Updated translations.
  389. 2010-03-24 Ani Peter <anipeter@fedoraproject.org>
  390. * po/ml.po: Updated translations.
  391. 2010-03-08 Yuri Chornoivan <yurchor@ukr.net>
  392. * po/uk.po: Updated translations.
  393. 2010-02-09 Tomas Mraz <t8m@centrum.cz>
  394. * libpam/pam_get_authtok.c (pam_get_authtok_internal): Fix
  395. regression in the new password prompt.
  396. 2010-01-04 Elad <el.il@doom.co.il>
  397. * po/he.po: New translation to Hebrew.
  398. * po/LINGUAS: Add Hebrew to the list.
  399. 2009-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
  400. * release version 1.1.1
  401. * NEWS: Adjust for 1.1.1
  402. * configure.in: Likewise.
  403. * doc/adg/Linux-PAM_ADG.xml: Likewise.
  404. * doc/mwg/Linux-PAM_MWG.xml: Likewise.
  405. * doc/sag/Linux-PAM_SAG.xml: Likewise.
  406. * po/*.po: Regenerated.
  407. 2009-12-08 Thorsten Kukuk <kukuk@thkukuk.de>
  408. * configure.in: Rename DEBUG to PAM_DEBUG.
  409. * libpam/pam_env.c: Likewise
  410. * libpam/pam_handlers.c: Likewise
  411. * libpam/pam_miscc.c: Likewise
  412. * libpam/pam_password.c: Likewise
  413. * libpam/include/security/_pam_macros.h: Likewise
  414. * libpamc/test/modules/pam_secret.c: Likewise
  415. * modules/pam_group/pam_group.c: Likewise
  416. * modules/pam_listfile/pam_listfile.c: Likewise
  417. * modules/pam_unix/pam_unix_auth.c: Likewise
  418. * modules/pam_unix/pam_unix_passwd.c: Likewise
  419. 2009-12-08 Tomas Mraz <t8m@centrum.cz>
  420. * modules/pam_unix/passverify.c(unix_update_shadow): Create a shadow
  421. entry if not present in the file.
  422. * modules/pam_listfile/pam_listfile.c(pam_sm_authenticate): Remove
  423. unused function and variable.
  424. 2009-11-19 Tomas Mraz <t8m@centrum.cz>
  425. * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Return
  426. PAM_AUTH_ERR from the module if sepermit_lock() fails.
  427. 2009-11-18 Tomas Mraz <t8m@centrum.cz>
  428. * modules/pam_access/pam_access.c(user_match): Revert the netgroup
  429. match to the original behavior, add new syntax for adding the local
  430. hostname.
  431. * modules/pam_access/access.conf.5.xml: Document the new syntax
  432. for adding the local hostname to the netgroup match.
  433. 2009-11-10 Thorsten Kukuk <kukuk@suse.de>
  434. * doc/man/pam_get_authtok.3.xml: Document pam_get_authtok_noverify
  435. and pam_get_authtok_verify.
  436. * libpam/Makefile.am (libpam_la_LDFLAGS): Bump revesion of libpam.
  437. * libpam/pam_get_authtok.c (pam_get_authtok_internal): Renamed
  438. from pam_get_authtok, add flags argument, always check return
  439. values.
  440. * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Use
  441. pam_get_authtok_noverify and pam_get_authtok_verify.
  442. * libpam/include/security/pam_ext.h: Add prototypes for
  443. pam_get_authtok_noverify and pam_get_authtok_verify.
  444. * libpam/libpam.map: Add new pam_get_authtok_* functions.
  445. 2009-11-02 Ani Peter <anipeter@fedoraproject.org>
  446. * po/ml.po: Updated translations.
  447. 2009-11-02 Tomas Mraz <t8m@centrum.cz>
  448. * modules/pam_sepermit/Makefile.am: Add sepermit.conf(5) manual page.
  449. * modules/pam_sepermit/pam_sepermit.8.xml: Add reference to
  450. sepermit.conf(5). Drop some redundant text.
  451. * modules/pam_sepermit/sepermit.conf.5.xml: New file.
  452. * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Implement the ignore
  453. option in sepermit.conf.
  454. 2009-10-29 Tomas Mraz <t8m@centrum.cz>
  455. * modules/pam_xauth/Makefile.am: Link with libselinux.
  456. * modules/pam_xauth/pam_xauth.c(pam_sm_open_session): Call
  457. setfscreatecon() if selinux is enabled to create the .xauth file
  458. with the right label. Original idea by Dan Walsh.
  459. 2009-10-08 Tomas Mraz <t8m@centrum.cz>
  460. * modules/pam_tty_audit/pam_tty_audit.8.xml: Add notice about aureport
  461. add SEE ALSO section.
  462. 2009-10-06 Tomas Mraz <t8m@centrum.cz>
  463. * modules/pam_listfile/pam_listfile.c(pam_sm_authenticate): Just
  464. call pam_modutil_user_in_group_nam_nam() instead of reimplementation
  465. of group matching.
  466. 2009-10-05 Kris Thomsen <lakristho@gmail.com>
  467. * po/da.po: Updated translations.
  468. 2009-09-29 Piotr Drąg <piotrdrag@gmail.com>
  469. * po/pl.po: Updated translations.
  470. 2009-09-21 Yulia Poyarkova <yulia.poyarkova@redhat.com>
  471. * po/ru.po: Updated translations.
  472. 2009-09-17 Kiyoto Hashida <khashida@redhat.com>
  473. * po/ja.po: Updated translations.
  474. 2009-09-17 Eunju Kim <eukim@redhat.com>
  475. * po/ko.po: Updated translations.
  476. 2009-09-17 Yulia Poyarkova <yulia.poyarkova@redhat.com>
  477. * po/ru.po: Updated translations.
  478. 2009-09-10 Steve Langasek <vorlon@debian.org>
  479. * modules/pam_securetty/pam_securetty.c: pam_securetty should not
  480. return PAM_USER_UNKNOWN when the tty is secure, regardless of what
  481. was entered as a username.
  482. Patch from Nicolas François <nicolas.francois@centraliens.net>.
  483. 2009-08-31 Steve Langasek <vorlon@debian.org>
  484. * modules/pam_namespace/namespace.init: make this portable to POSIX
  485. awk, instead of using GNU awk extensions.
  486. 2009-08-25 Steve Langasek <vorlon@debian.org>
  487. * modules/pam_sepermit/pam_sepermit.8.xml: fix up one reference
  488. to pam.d(8) left behind because I've forgotten how CVS works
  489. * po/es.po: fix missing whitespace in password prompts.
  490. 2009-08-24 Steve Langasek <vorlon@debian.org>
  491. * doc/pam_get_authtok.3.xml: grammar fix.
  492. * doc/adg/Linux-PAM-ADG.xml: Likewise.
  493. * doc/mwg/Linux-PAM_MWG.xml: Likewise.
  494. * doc/man/pam_setcred.3.xml: fix a typo.
  495. 2009-07-21 Thorsten Kukuk <kukuk@thkukuk.de>
  496. * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Delete
  497. new token if it does not match strength criteria.
  498. 2009-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
  499. * modules/pam_unix/yppasswd_xdr.c: Remove unnecessary header files.
  500. * modules/pam_unix/support.c (_unix_getpwnam): Only compile in NIS
  501. support if all necessary functions exist.
  502. * modules/pam_unix/pam_unix_passwd.c (getNISserver): Add debug
  503. option, handle correct if OS has no NIS support.
  504. * modules/pam_access/pam_access.c (netgroup_match): Check if
  505. yp_get_default_domain and innetgr are available at compile time.
  506. * configure.in: Check for functions: innetgr, getdomainname
  507. check for headers: rpcsvc/ypclnt.h, rpcsvc/yp_prot.h.
  508. 2009-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
  509. * modules/pam_unix/pam_unix.8.xml: Fix blowfish description.
  510. Reported by Diego E. “Flameeyes” Pettenò.
  511. 2009-06-26 Thorsten Kukuk <kukuk@thkukuk.de>
  512. * modules/pam_namespace/Makefile.am: Fix make maintainer-clean,
  513. fix docu dependencies.
  514. * modules/pam_xauth/Makefile.am: Fix make maintainer-clean.
  515. * modules/pam_access/Makefile.am: Likewise.
  516. * modules/pam_debug/Makefile.am: Likewise.
  517. * modules/pam_deny/Makefile.am: Likewise.
  518. * modules/pam_echo/Makefile.am: Likewise.
  519. * modules/pam_env/Makefile.am: Likewise.
  520. * modules/pam_faildelay/Makefile.am: Likewise.
  521. * modules/pam_ftp/Makefile.am: Likewise.
  522. * modules/pam_group/Makefile.am: Likewise.
  523. * modules/pam_issue/Makefile.am: Likewise.
  524. * modules/pam_keyinit/Makefile.am: Likewise.
  525. * modules/pam_lastlog/Makefile.am: Likewise.
  526. * modules/pam_limits/Makefile.am: Likewise.
  527. * modules/pam_listfile/Makefile.am: Likewise.
  528. * modules/pam_localuser/Makefile.am: Likewise.
  529. * modules/pam_loginuid/Makefile.am: Likewise.
  530. * modules/pam_mail/Makefile.am: Likewise.
  531. * modules/pam_mkhomedir/Makefile.am: Likewise.
  532. * modules/pam_motd/Makefile.am: Likewise.
  533. * modules/pam_nologin/Makefile.am: Likewise.
  534. * modules/pam_pwhistory/Makefile.am: Likewise.
  535. * modules/pam_rhosts/Makefile.am: Likewise.
  536. * modules/pam_rootok/Makefile.am: Likewise.
  537. * modules/pam_securetty/Makefile.am: Likewise.
  538. * modules/pam_shells/Makefile.am: Likewise.
  539. * modules/pam_succeed_if/Makefile.am: Likewise.
  540. * modules/pam_tally2/Makefile.am: Likewise.
  541. * modules/pam_tally/Makefile.am: Likewise.
  542. * modules/pam_time/Makefile.am: Likewise.
  543. * modules/pam_timestamp/Makefile.am: Likewise.
  544. * modules/pam_tty_audit/Makefile.am: Likewise.
  545. * modules/pam_umask/Makefile.am: Likewise.
  546. * modules/pam_unix/Makefile.am: Likewise.
  547. * modules/pam_warn/Makefile.am: Likewise.
  548. * modules/pam_wheel/Makefile.am: Likewise.
  549. * modules/pam_filter/Makefile.am: Likewise.
  550. * configure.in: Make regeneration of docu configureable,
  551. rename enable_man to enable_docu.
  552. * modules/pam_env/pam_env.c (_pam_parse): Fix typo in debug
  553. code.
  554. * modules/pam_cracklib/Makefile.am: Don't install docu if
  555. module is disabled for building.
  556. * modules/pam_userdb/Makefile.am: Likewise.
  557. * modules/pam_unix/pam_unix_passwd.c: Remove dead SELinux
  558. code.
  559. * modules/pam_lastlog/pam_lastlog.c (last_login_failed): Fix
  560. usage of wrong variable [bug#2809661].
  561. 2009-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
  562. * configure.in: Rename crypt_gensalt_rn to crypt_gensalt_r
  563. * modules/pam_unix/passverify.c: Likewise.
  564. 2009-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
  565. * release version 1.1.0
  566. 2009-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
  567. * doc/sag/Linux-PAM_SAG.xml: Fix typos.
  568. * doc/adg/Linux-PAM_ADG.xml: Likewise.
  569. * doc/mwg/Linux-PAM_MWG.xml: Likewise.
  570. 2009-06-08 Rajesh Ranjan <rajesh672@gmail.com>
  571. * po/hi.po: Updated translations.
  572. 2009-06-01 Jaswinder Singh <jsingh@redhat.com>
  573. * po/pa.po: Updated translations.
  574. 2009-06-01 Tomáš Mráz <t8m@centrum.cz>
  575. * modules/pam_pwhistory/opasswd.c (save_old_password): Don't
  576. call fclose() on NULL descriptor. Found by Steve Grubb.
  577. 2009-06-01 Ville Skyttä <ville.skytta@iki.fi>
  578. * modules/pam_limits/pam_limits.8.xml: Only *.conf
  579. files are parsed. Spelling fixes.
  580. * modules/pam_access/pam_access.8.xml: Spelling fixes.
  581. * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
  582. * modules/pam_echo/pam_echo.8.xml: Likewise.
  583. * modules/pam_env/pam_env.8.xml: Likewise.
  584. * modules/pam_exec/pam_exec.8.xml: Likewise.
  585. * modules/pam_filter/pam_filter.8.xml: Likewise.
  586. * modules/pam_ftp/pam_ftp.8.xml: Likewise.
  587. * modules/pam_group/pam_group.8.xml: Likewise.
  588. * modules/pam_issue/pam_issue.8.xml: Likewise.
  589. * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
  590. * modules/pam_listfile/pam_listfile.8.xml: Likewise.
  591. * modules/pam_localuser/pam_localuser.8.xml: Likewise.
  592. * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
  593. * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
  594. * modules/pam_motd/pam_motd.8.xml: Likewise.
  595. * modules/pam_namespace/pam_namespace.8.xml: Likewise.
  596. * modules/pam_pwhistory/pam_pwhistory.8.xml: Likewise.
  597. * modules/pam_selinux/pam_selinux.8.xml: Likewise.
  598. * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
  599. * modules/pam_tally/pam_tally.8.xml: Likewise.
  600. * modules/pam_tally2/pam_tally2.8.xml: Likewise.
  601. * modules/pam_time/pam_time.8.xml: Likewise.
  602. * modules/pam_timestamp/pam_timestamp.8.xml: Likewise.
  603. * modules/pam_timestamp/pam_timestamp_check.8.xml: Likewise.
  604. * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
  605. * modules/pam_umask/pam_umask.8.xml: Likewise.
  606. * modules/pam_unix/pam_unix.8.xml: Likewise.
  607. * modules/pam_xauth/pam_xauth.8.xml: Likewise.
  608. 2009-05-28 Jaswinder Singh <jsingh@redhat.com>
  609. * po/pa.po: Updated translations.
  610. 2009-05-21 Albert Carabasa Giribet <albertc@asic.udl.cat>
  611. * po/ca.po: Updated translations.
  612. 2009-05-11 Ani Peter <anipeter@fedoraproject.org>
  613. * po/ml.po: Updated translations.
  614. 2009-05-11 Charles-Antoine Couret <cacouret@wanadoo.fr>
  615. * po/fr.po: Updated translations.
  616. 2009-05-11 Tomáš Mráz <t8m@centrum.cz>
  617. * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary): Remove
  618. unnecessary setuid() call.
  619. 2009-05-05 Thorsten Kukuk <kukuk@thkukuk.de>
  620. * release version 1.0.92
  621. * libpamc/Makefile.am (libpamc_la_LDFLAGS): Increase revesion.
  622. * configure.in: Increase version to 1.0.92.
  623. 2009-04-20 Mario Santagiuliana <mario@marionline.it>
  624. * po/it.po: Updated translations.
  625. 2009-04-17 Fabian Affolter <fab@fedoraproject.org>
  626. * po/de.po: Updated translations.
  627. 2009-04-16 Tomáš Mráz <t8m@centrum.cz>
  628. * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Add user
  629. parameter. Use user instead of pwd->pw_name in comparsions.
  630. (pam_sm_authenticate): Pass the original user to evaluate().
  631. 2009-04-14 Amitakhya Phukan <aphukan@fedoraproject.org>
  632. * po/as.po: Updated translations.
  633. 2009-04-14 Runa Bhattacharjee <runab@fedoraproject.org>
  634. * po/bn_IN.po: Updated translations.
  635. 2009-04-14 Sweta Kothari <swkothar@redhat.com>
  636. * po/gu.po: Updated translations.
  637. 2009-04-14 Sandeep Shedmake <sandeep.shedmake@gmail.com>
  638. * po/mr.po: Updated translations.
  639. 2009-04-14 Rui Gouveia <rui.gouveia@globaltek.pt>
  640. * po/pt.po: Updated translations.
  641. 2009-04-14 I. Felix <ifelix@redhat.com>
  642. * po/ta.po: Updated translations.
  643. 2009-04-14 Krishna Babu K <kkrothap@redhat.com>
  644. * po/te.po: Updated translations.
  645. 2009-04-09 Thorsten Kukuk <kukuk@thkukuk.de>
  646. * modules/pam_unix/yppasswd.h: Update license to GPLv2 or later
  647. on request of Olaf Kirch (Author).
  648. * modules/pam_unix/yppasswd_xdr.c: Likewise.
  649. 2009-04-06 R.E. van der Luit <nippur@fedoraproject.org>
  650. * po/nl.po: Updated translations.
  651. 2009-04-06 Terry Chuang <tchuang@redhat.com>
  652. * po/zh_TW.po: Updated translations.
  653. 2009-04-03 Shankar Prasad <svenkate@redhat.com>
  654. * po/kn.po: Updated translations.
  655. 2009-04-03 Manoj Kumar Giri <mgiri@redhat.com>
  656. * po/or.po: Updated translations.
  657. 2009-04-03 Miloš Komarčević <kmilos@gmail.com>
  658. * po/sr.po: Updated translations.
  659. * po/sr@latin.po: Updated translations.
  660. 2009-04-03 Leah Liu <lliu@redhat.com>
  661. * po/zh_CN.po: Updated translations.
  662. 2009-04-03 Dmitry V. Levin <ldv@altlinux.org>
  663. * libpamc/pamc_load.c (__pamc_exec_agent): Replace call to exit(3)
  664. in child process with call to _exit(2).
  665. * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Likewise.
  666. * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
  667. Likewise.
  668. * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
  669. Likewise.
  670. * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
  671. * modules/pam_xauth/pam_xauth.c (run_coprocess): Likewise.
  672. * modules/pam_exec/pam_exec.c (call_exec): Replace all calls to
  673. exit(3) in child process with calls to _exit(2).
  674. * modules/pam_filter/pam_filter.c (set_filter): Likewise.
  675. * modules/pam_namespace/pam_namespace.c (inst_init,
  676. cleanup_tmpdirs): Likewise.
  677. 2009-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
  678. * modules/pam_unix/support.c (_unix_run_helper_binary): Don't
  679. ignore return value of write().
  680. * libpamc/include/security/pam_client.h (PAM_BP_ASSERT): Honour
  681. NDEBUG.
  682. * modules/pam_timestamp/pam_timestamp.c: don't ignore return
  683. values of lchown and fchown.
  684. 2009-03-25 Thorsten Kukuk <kukuk@thkukuk.de>
  685. * modules/pam_mkhomedir/pam_mkhomedir.c: Make option handling
  686. reentrant (#2487654)
  687. (_pam_parse): Fix umask option.
  688. * modules/pam_unix/passverify.c: Fix typo.
  689. * modules/pam_issue/pam_issue.c: Fix compiler warning.
  690. * modules/pam_ftp/pam_ftp.c: Likewise.
  691. 2009-03-25 Pavol Šimo <palo.simo@gmail.com>
  692. * po/sk.po: Updated translations.
  693. 2009-03-24 Sulyok Péter <peti@sulyok.hu>
  694. * po/hu.po: Updated translations.
  695. 2009-03-24 Domingo Becker <domingobecker@gmail.com>
  696. * po/es.po: Updated translations.
  697. 2009-03-24 Diego Búrigo Zacarão <diegobz@projetofedora.org>
  698. * po/pt_BR.po: Updated translations.
  699. 2009-03-24 Piotr Drąg <piotrdrag@gmail.com>
  700. * po/pl.po: Updated translations.
  701. 2009-03-24 Tomas Mraz <t8m@centrum.cz>
  702. * modules/pam_unix/passverify.c(save_old_password): Call fflush() and
  703. fsync().
  704. (unix_update_passwd, unix_update_shadow): Likewise.
  705. * modules/pam_pwhistory/opasswd.c(save_old_password): Likewise.
  706. * po/cs.po: Updated translations.
  707. 2009-03-09 Thorsten Kukuk <kukuk@thkukuk.de>
  708. * release version 1.0.91
  709. * libpam/Makefile.am (libpam_la_LDFLAGS): Bump version number.
  710. * xtests/Makefile.am: Add tst-pam_unix4.pamd, tst-pam_unix4.sh
  711. and time.conf.
  712. 2009-03-03 Dmitry V. Levin <ldv@altlinux.org>
  713. * tests/tst-pam_mkargv.c (main): Fix for non-64bit architectures.
  714. 2009-03-03 Tomas Mraz <t8m@centrum.cz>
  715. * modules/pam_unix/pam_unix_acct.c(_unix_run_verify_binary): Test
  716. for abnormal exit of the helper binary.
  717. * modules/pam_unix/pam_unix_passwd.c(_unix_run_update_binary): Likewise.
  718. * modules/pam_unix/support.c(_unix_run_helper_binary): Likewise.
  719. * modules/pam_mkhomedir/pam_mkhomedir.c(create_homedir): Likewise.
  720. 2009-02-27 Tomas Mraz <t8m@centrum.cz>
  721. * modules/pam_mkhomedir/pam_mkhomedir.c(create_homedir): Replace
  722. signal() with sigaction().
  723. * modules/pam_namespace/pam_namespace.c(inst_init, cleanup_tmpdirs):
  724. Likewise.
  725. * modules/pam_unix/pam_unix_acct.c(_unix_run_verify_binary): Likewise.
  726. * modules/pam_unix/pam_unix_passwd.c(_unix_run_update_binary):
  727. Likewise.
  728. * modules/pam_unix/passverify.c(su_sighandler): Likewise.
  729. * modules/pam_unix/support.c(_unix_run_helper_binary): Likewise.
  730. * modules/pam_tally2/Makefile.am: Link the pam_tally2 app to libpam
  731. for auxiliary functions.
  732. * modules/pam_tally2/pam_tally2.8.xml: Drop non-existing no_reset
  733. option. Document new serialize option.
  734. * modules/pam_tally2/pam_tally2.c: Add support for the new serialize
  735. option.
  736. (_cleanup, tally_set_data, tally_get_data): Add tally file handle to
  737. tally PAM data. Needed for fcntl() locking.
  738. (get_tally): Use low level file access instead of stdio buffered FILE.
  739. If serialize option is used lock the tally file access.
  740. (set_tally, tally_bump, tally_reset): Use low level file access instead
  741. of stdio buffered FILE. Close the file handle only when it is not owned
  742. by PAM data.
  743. (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt): Pass the tally
  744. file handle to tally_set_data(). Get it from tally_get_data().
  745. (main): Use low level file access instead of stdio buffered FILE.
  746. 2009-02-26 Tomas Mraz <t8m@centrum.cz>
  747. * xtests/Makefile.am: Add tst-pam_unix4.
  748. * xtests/tst-pam_unix4.c: New test for password change
  749. and shadow min days limit.
  750. * xtests/tst-pam_unix4.pamd: Likewise.
  751. * xtests/tst-pam_unix4.sh: Likewise.
  752. * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Ignore
  753. PAM_AUTHTOK_ERR on shadow verification.
  754. * modules/pam_unix/passverify.c (check_shadow_expiry): Return
  755. PAM_AUTHTOK_ERR if sp_min limit for password change is defied.
  756. 2009-02-26 Timur Birsh <taem@linukz.org>
  757. * po/LINGUAS: New Kazakh translation.
  758. * po/kk.po: New Kazakh translation.
  759. 2009-02-25 Thorsten Kukuk <kukuk@thkukuk.de>
  760. * libpam/pam_misc.c (_pam_StrTok): Use unsigned char
  761. instead of int. Reported by Marcus Granado.
  762. * tests/Makefile.am (TESTS): Add tst-pam_mkargv.
  763. * tests/tst-pam_mkargv.c (main): Test case for
  764. _pam_mkargv.
  765. * po/de.po: Update fuzzy translations.
  766. 2009-02-25 Tomas Mraz <t8m@centrum.cz>
  767. * xtests/access.conf: Add a line for name resolution test case.
  768. * xtests/tst-pam_access4.c (main): Set PAM_RHOST for testing the LOCAL
  769. keyword. Add a test case for name resolution.
  770. * modules/pam_access/pam_access.c (from_match): Move name resolution
  771. to network_netmask_match().
  772. (network_netmask_match): Do a name resolution of the origin only if
  773. matching against a real network/netmask.
  774. 2009-02-25 Fabian Affolter <fabian@bernewireless.net>
  775. * po/de.po: Updated translations.
  776. 2009-02-25 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
  777. * po/pt_BR.po: Updated translations.
  778. 2009-02-25 Domingo Becker <domingobecker@gmail.com>
  779. * po/es.po: Updated translations.
  780. 2009-02-20 Thorsten Kukuk <kukuk@thkukuk.de>
  781. * modules/pam_limits/limits.conf.5.xml: Document that the kernel
  782. can refuse values out of range for the local system.
  783. * modules/pam_limits/pam_limits.c (setup_limits): Log if setrlimit
  784. fails.
  785. 2009-02-18 Thorsten Kukuk <kukuk@thkukuk.de>
  786. * libpam/pam_password.c (pam_chauthtok): Make sure applications
  787. don't set internal flags.
  788. 2009-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
  789. * doc/man/pam_sm_chauthtok.3.xml: Document that sufficient
  790. can break the PRELIM_CHECK chain.
  791. * libpam/pam_dispatch.c: Don't freeze chain for chauthtok
  792. [bugzilla.novell.com#470337]
  793. 2009-02-11 Daniel Nylander <po@danielnylander.se>
  794. * po/sv.po: Updated translations.
  795. 2009-01-29 Thorsten Kukuk <kukuk@thkukuk.de>
  796. * doc/man/pam_sm_setcred.3.xml: Document PAM_ESTABLISH_CRED.
  797. 2009-01-19 Tomas Mraz <t8m@centrum.cz>
  798. * modules/pam_mkhomedir/Makefile.am: Add mkhomedir_helper.
  799. * modules/pam_mkhomedir/mkhomedir_helper.8.xml: New file. Manual page
  800. for mkhomedir_helper.
  801. * modules/pam_mkhomedir/mkhomedir_helper.c: New file. Source
  802. for mkhomedir_helper. Most of the code moved from pam_mkhomedir.c.
  803. * modules/pam_mkhomedir/pam_mkhomedir.c (_pam_parse): Do not convert umask
  804. to integer.
  805. (rec_mkdir): Moved to mkhomedir_helper.c.
  806. (create_homedir): Just exec the helper.
  807. (pam_sm_open_session): Improve logging.
  808. 2009-01-19 Daniel Cabrera <h.daniel.cabrera@gmail.com>
  809. * po/es.po: Updated translations.
  810. 2009-01-14 Thorsten Kukuk <kukuk@thkukuk.de>
  811. * po/de.po: Updated translations.
  812. 2009-01-07 Piotr Drąg <piotrdrag@gmail.com>
  813. * po/pl.po: Updated translations.
  814. 2008-12-23 Piotr Drąg <piotrdrag@gmail.com>
  815. * po/pl.po: Updated translations.
  816. 2008-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
  817. * modules/pam_pwhistory/pam_pwhistory.c (parse_option): Rename
  818. type= option to authtok_type= (because of pam_get_authtok).
  819. * modules/pam_pwhistory/pam_pwhistory.8.xml: Likewise.
  820. 2008-12-17 Tomas Mraz <t8m@centrum.cz>
  821. * modules/pam_tty_audit/pam_tty_audit.c (pam_sm_open_session): Do
  822. not abort on unknown option. Avoid double free of old_status.
  823. (pam_sm_close_session): Use LOG_DEBUG for restored status message.
  824. * configure.in: Test for getseuser().
  825. * modules/pam_selinux/pam_selinux.c (pam_sm_open_session): Call getseuser()
  826. instead of getseuserbyname() if the function is available.
  827. 2008-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
  828. * release version 1.0.90
  829. * libpam_misc/Makefile.am: Increase version number of shared library.
  830. * libpamc/Makefile.am: Likewise.
  831. 2008-12-12 Tomas Mraz <t8m@centrum.cz>
  832. * modules/pam_tally2/pam_tally2.c (get_tally): Test for EACCES
  833. instead of EPERM.
  834. * modules/pam_tally2/pam_tally2.8.xml: Fix documentation.
  835. 2008-12-10 Thorsten Kukuk <kukuk@thkukuk.de>
  836. * doc/man/pam_item_types_ext.inc.xml: Document PAM_AUTHTOK_TYPE.
  837. * libpam/pam_end.c (pam_end): Free authtok_type.
  838. * tests/tst-pam_get_item.c: Add PAM_AUTHTOK_TYPE
  839. as test case.
  840. * tests/tst-pam_set_item.c: Likewise.
  841. * libpam/pam_start.c (pam_start): Initialize xdisplay,
  842. xauth and authtok_type.
  843. * libpam/pam_get_authtok.c (pam_get_authtok): Rename "type"
  844. to "authtok_type".
  845. * modules/pam_cracklib/pam_cracklib.8.xml: Replace "type=" with
  846. "authtok_type=".
  847. * doc/man/pam_get_authtok.3.xml: Document authtok_type argument.
  848. * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Set
  849. type= argument as PAM_AUTHTOK_TYPE item.
  850. * libpam/pam_get_authtok.c (pam_get_authtok): If no type
  851. argument given, use PAM_AUTHTOK_TYPE item.
  852. * libpam/pam_item.c (pam_get_item): Fetch PAM_AUTHTOK_TYPE item.
  853. (pam_set_item): Store PAM_AUTHTOK_TYPE item.
  854. * libpam/pam_private.h: Add authtok_type to pam_handle.
  855. * libpam/include/security/_pam_types.h (PAM_AUTHTOK_TYPE): New.
  856. 2008-12-03 Thorsten Kukuk <kukuk@thkukuk.de>
  857. * modules/pam_access/access.conf.5.xml: Replace
  858. 2001:4ca0 with 2001:db8:: [bug#2356400].
  859. * doc/man/Makefile.am: Add pam_get_authtok.3.xml.
  860. * doc/man/pam_get_authtok.3.xml: New.
  861. * libpam/Makefile.am: Add pam_get_authtok.c.
  862. * libpam/libpam.map: Export pam_get_authtok.
  863. * libpam/pam_get_authtok.c: New.
  864. * libpam/pam_private.h: Add mod_argc and mod_argv to pam_handle.
  865. * libpam_include/security/pam_ext.h: Add pam_get_authtok
  866. prototype.
  867. * modules/pam_cracklib/pam_cracklib.c: Use pam_get_authtok.
  868. * modules/pam_pwhistory/pam_pwhistory.c: Likewise.
  869. * po/POTFILES.in: Add libpam/pam_get_authtok.c.
  870. * xtests/tst-pam_cracklib1.c: Adjust error codes.
  871. * modules/pam_timestamp/Makefile.am: Remove hmactest.c from
  872. EXTRA_DIST.
  873. * po/*.po: Regenerated.
  874. 2008-12-02 Michael Calmer <mc@suse.de>
  875. * modules/pam_limits/limits.conf.5.xml: Document valid values
  876. for limits (bnc#448314).
  877. 2008-12-02 Thorsten Kukuk <kukuk@thkukuk.de>
  878. * modules/pam_env/pam_env.c: Add support for user specific
  879. environment file. Based on a patch from Ubuntu.
  880. * modules/pam_env/pam_env.8.xml: Document new options.
  881. 2008-12-02 Olivier Fourdan <ofourdan@redhat.com>
  882. * modules/pam_filter/pam_filter.c (master): Use /dev/ptmx
  883. instead of the old BSD pseudoterminal API.
  884. (set_filter): Call grantpt(), unlockpt() and ptsname(). Do not
  885. close pseudoterminal handle in filter child.
  886. * modules/pam_filter/upperLOWER/upperLOWER.c (main): Use
  887. regular read() instead of pam_modutil_read() to allow for
  888. short reads.
  889. 2008-12-02 Tomas Mraz <t8m@centrum.cz>
  890. * modules/pam_timestamp/Makefile.am: Add hmacfile to tests.
  891. * modules/pam_timestamp/hmacfile.c: Do not try the short key
  892. testvector.
  893. 2008-12-01 Tomas Mraz <t8m@centrum.cz>
  894. * modules/pam_unix/support.h: Fix masks for cipher algorithm
  895. flags.
  896. 2008-12-01 Thorsten Kukuk <kukuk@thkukuk.de>
  897. * modules/pam_unix/pam_unix.8.xml: Document blowfish option.
  898. * configure.in: Check for crypt_gensalt_rn.
  899. * modules/pam_unix/pam_unix_passwd.c: Pass pamh to
  900. create_password_hash function.
  901. * modules/pam_unix/passverify.c (create_password_hash): Add
  902. blowfish support.
  903. * modules/pam_unix/passverify.h: Adjust create_password_hash
  904. prototype.
  905. * modules/pam_unix/support.c: Add support for blowfish option.
  906. * modules/pam_unix/support.h: Add defines for blowfish option.
  907. Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
  908. 2008-12-01 Tomas Mraz <t8m@centrum.cz>
  909. * modules/pam_access/pam_access.8.xml: Fix description of nodefgroup
  910. option.
  911. * modules/pam_group/pam_group.c (is_same): Fix check for correct
  912. string length.
  913. 2008-11-29 Thorsten Kukuk <kukuk@thkukuk.de>
  914. * configure.in: Check for xcrypt.h, fix typo in libaudit check.
  915. * modules/pam_cracklib/pam_cracklib.c: Include xcrypt.h if
  916. available.
  917. * modules/pam_unix/bigcrypt.c: Likewise.
  918. * modules/pam_unix/passverify.c: Likewise.
  919. * modules/pam_userdb/pam_userdb.c: Likewise.
  920. Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
  921. * doc/man/pam_getenv.3.xml: Document that application should
  922. not free return value.
  923. * doc/man/pam.3.xml: Add Note about thread-safeness of libpam
  924. functions.
  925. 2008-11-28 Tomas Mraz <t8m@centrum.cz>
  926. * modules/pam_unix/unix_update.c (set_password): Allow root to change
  927. passwords without verification of the old ones.
  928. * modules/pam_tally2/pam_tally2.c (tally_check): Fix info format
  929. to be the same as in pam_tally.
  930. * configure.in: Add modules/pam_timestamp/Makefile.
  931. * doc/sag/Linux-PAM_SAG.xml: Include pam_timestamp.xml.
  932. * doc/sag/pam_timestamp.xml: New.
  933. * libpam/pam_static_modules.h: Add pam_timestamp static struct.
  934. * modules/Makefile.am: Add pam_timestamp directory.
  935. * modules/pam_timestamp/Makefile.am: New.
  936. * modules/pam_timestamp/README.xml: New.
  937. * modules/pam_timestamp/hmacsha1.h: New.
  938. * modules/pam_timestamp/sha1.h: New.
  939. * modules/pam_timestamp/pam_timestamp.8.xml: New.
  940. * modules/pam_timestamp/pam_timestamp_check.8.xml: New.
  941. * modules/pam_timestamp/pam_timestamp.c: New.
  942. * modules/pam_timestamp/pam_timestamp_check.c: New.
  943. * modules/pam_timestamp/hmacfile.c: New.
  944. * modules/pam_timestamp/hmacsha1.c: New.
  945. * modules/pam_timestamp/sha1.c: New.
  946. * modules/pam_timestamp/tst-pam_timestamp: New.
  947. * po/POTFILES.in: Add pam_timestamp sources.
  948. * po/*.po: Regenerate.
  949. * po/cs.po: Updated translations.
  950. 2008-11-25 Thorsten Kukuk <kukuk@thkukuk.de>
  951. * modules/pam_pwhistory/opasswd.c (save_old_password): Fix typo.
  952. * modules/pam_time/pam_time.c (is_same): Fix check
  953. of correct string length (debian bug #326407).
  954. 2008-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
  955. * xtests/Makefile.am: Add pam_time1 tests.
  956. * xtests/tst-pam_time1.c: New test case.
  957. * xtests/tst-pam_time1.pamd: New.
  958. * xtests/time.conf: New.
  959. * xtests/run-xtests.sh: Copy time.conf.
  960. 2008-11-24 Tomas Mraz <t8m@centrum.cz>
  961. * libpam/pam_handlers.c (_pam_parse_conf_file): '-' at
  962. beginning of type token marks silent module.
  963. (_pam_load_module): Add handler_type parameter. Do not log
  964. module load error if module is silent.
  965. (_pam_add_handler): Pass handler_type to _pam_load_module().
  966. * libpam/pam_private.h: Add PAM_HT_SILENT_MODULE.
  967. * doc/man/pam.conf-syntax.xml: Document the '-' at beginning
  968. of type.
  969. * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Fix leaks
  970. in error path.
  971. * modules/pam_env/pam_env.c (_parse_env_file): Remove superfluous
  972. condition.
  973. * modules/pam_group/pam_group.c (check_account): Fix leak
  974. in error path.
  975. * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate): Fix leak
  976. in error path.
  977. * modules/pam_securetty/pam_securetty.c (securetty_perform_check): Remove
  978. superfluous condition.
  979. * modules/pam_stress/pam_stress.c (stress_get_password,pam_sm_authenticate):
  980. Remove superfluous conditions.
  981. (pam_sm_chauthtok): Fix mistaken && for &.
  982. * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Remove
  983. superfluous condition.
  984. All the problems fixed in this commit were found by Steve Grubb.
  985. 2008-11-20 Tomas Mraz <t8m@centrum.cz>
  986. * modules/pam_sepermit/pam_sepermit.c (sepermit_match): Do not
  987. call sepermit_lock() if sense is deny. Do not crash on NULL seuser
  988. match.
  989. (pam_sm_authenticate): Try to call getseuserbyname() even if
  990. SELinux is disabled.
  991. 2008-11-19 Thorsten Kukuk <kukuk@thkukuk.de>
  992. * modules/pam_xauth/pam_xauth.c (pam_sm_open_session):
  993. Preserve XAUTHLOCALHOSTNAME environment variable.
  994. * modules/pam_pwhistory/pam_pwhistory.c (pam_sm_chauthtok): Finish
  995. implementation of type=STRING option.
  996. * modules/pam_pwhistory/pam_pwhistory.8.xml: Document
  997. "type=STRING" option.
  998. 2008-10-27 Thorsten Kukuk <kukuk@thkukuk.de>
  999. * doc/man/pam_setcred.3.xml: Document when credentials
  1000. should be deleted.
  1001. * po/ja.po: Fix syntax error.
  1002. * po/de.po: Update translations.
  1003. * po/*.po: Regenerate with pam_tally2 added.
  1004. 2008-10-23 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
  1005. * po/pt_BR.po: Updated translations.
  1006. 2008-10-23 Krishna Babu K <kkrothap@redhat.com>
  1007. * po/LINGUAS: New language.
  1008. * po/te.po: New translation to Telugu.
  1009. 2008-10-23 Manoj Kumar Giri <mgiri@redhat.com>
  1010. * po/or.po: Updated translations.
  1011. 2008-10-21 Amitakhya Phukan <aphukan@redhat.com>
  1012. * po/as.po: Updated translations.
  1013. 2008-10-21 Ondrej Sulek <feonsu@gmail.com>
  1014. * po/sk.po: Updated translations.
  1015. 2008-10-21 Terry Chuang <tchuang@redhat.com>
  1016. * po/zh_TW.po: Updated translations.
  1017. 2008-10-21 Kiyoto Hashida <khashida@redhat.com>
  1018. * po/ja.po: Updated translations.
  1019. 2008-10-21 Francesco Valente <fvalen@redhat.com>
  1020. * po/it.po: Updated translations.
  1021. 2008-10-21 Peter van Egdom <p.van.egdom@gmail.com>
  1022. * po/nl.po: Updated translations.
  1023. 2008-10-20 Ani Peter <apeter@redhat.com>
  1024. * po/ml.po: Updated translations.
  1025. 2008-10-20 Pablo Martin-Gomez <pablo.martin-gomez@laposte.net>
  1026. * po/fr.po: Updated translations.
  1027. 2008-10-20 Runa Bhattacharjee <runab@redhat.com>
  1028. * po/bn_IN.po: Updated translations.
  1029. 2008-10-20 Shankar Prasad <svenkate@redhat.com>
  1030. * po/kn.po: Updated translations.
  1031. 2008-10-20 Leah Liu <lliu@redhat.com>
  1032. * po/zh_CN.po: Updated translations.
  1033. 2008-10-20 Ondrej Sulek <feonsu@gmail.com>
  1034. * po/LINGUAS: New language.
  1035. * po/sk.po: New translation to Slovak.
  1036. 2008-10-17 Tomas Mraz <t8m@centrum.cz>
  1037. * configure.in: Add modules/pam_tally2/Makefile.
  1038. * doc/sag/Linux-PAM_SAG.xml: Include pam_tally2.xml.
  1039. * doc/sag/pam_tally2.xml: New.
  1040. * libpam/pam_static_modules.h: Add pam_tally2 static struct.
  1041. * modules/Makefile.am: Add pam_tally2 directory.
  1042. * modules/pam_tally2/Makefile.am: New.
  1043. * modules/pam_tally2/README.xml: New.
  1044. * modules/pam_tally2/tallylog.h: New.
  1045. * modules/pam_tally2/pam_tally2.8.xml: New.
  1046. * modules/pam_tally2/pam_tally2.c: New.
  1047. * modules/pam_tally2/pam_tally2_app.c: New.
  1048. * modules/pam_tally2/tst-pam_tally2: New.
  1049. * po/POTFILES.in: Add pam_tally2 sources.
  1050. 2008-10-17 Xavier Queralt Mateu <xqueralt@gmail.com>
  1051. * po/ca.po: Updated translations.
  1052. 2008-10-15 Tomas Mraz <t8m@centrum.cz>
  1053. * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Save the old
  1054. euid to suid to be able to restore it.
  1055. 2008-10-15 Piotr Drąg <piotrdrag@gmail.com>
  1056. * po/pl.po: Updated translations.
  1057. 2008-10-13 Tomas Mraz <t8m@centrum.cz>
  1058. * po/LINGUAS: New languages.
  1059. * po/cs.po: Updated translations.
  1060. 2008-10-13 Amitakhya Phukan <aphukan@redhat.com>
  1061. * po/as.po: Updated translations.
  1062. 2008-10-13 Shankar Prasad <svenkate@redhat.com>
  1063. * po/kn.po: Updated translations.
  1064. 2008-10-13 Sandeep Sheshrao Shedmake <sshedmak@redhat.com>
  1065. * po/mr.po: New translation to Marathi.
  1066. 2008-10-13 Runa Bhattacharjee <runab@redhat.com>
  1067. * po/bn_IN.po: Updated translations.
  1068. 2008-10-13 Sharuzzaman Ahmat Raslan <sharuzzaman@gmail.com>
  1069. * po/ms.po: New translation to Malay.
  1070. 2008-10-10 Thorsten Kukuk <kukuk@thkukuk.de>
  1071. * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass):
  1072. Remove check for re-used passwords.
  1073. * modules/pam_cracklib/pam_cracklib.8.xml: Remove documentation
  1074. of re-used password check.
  1075. * configure.in: add modules/pam_pwhistory/Makefile.
  1076. * doc/sag/Linux-PAM_SAG.xml: Include pam_pwhistory.xml.
  1077. * doc/sag/pam_pwhistory.xml: New.
  1078. * libpam/pam_static_modules.h: Add pam_pwhistory data.
  1079. * modules/Makefile.am: Add pam_pwhistory directory.
  1080. * modules/pam_pwhistory/Makefile.am: New.
  1081. * modules/pam_pwhistory/README.xml: New.
  1082. * modules/pam_pwhistory/opasswd.c: New.
  1083. * modules/pam_pwhistory/opasswd.h: New.
  1084. * modules/pam_pwhistory/pam_pwhistory.8.xml: New.
  1085. * modules/pam_pwhistory/pam_pwhistory.c: New.
  1086. * modules/pam_pwhistory/tst-pam_pwhistory: New.
  1087. * xtests/Makefile.am: New.
  1088. * xtests/run-xtests.sh: New.
  1089. * xtests/tst-pam_pwhistory1.c: New.
  1090. * xtests/tst-pam_pwhistory1.pamd: New.
  1091. * xtests/tst-pam_pwhistory1.sh: New.
  1092. * po/POTFILES.in: Add modules/pam_pwhistory/.
  1093. * po/de.po: Update translations.
  1094. 2008-10-02 Thorsten Kukuk <kukuk@thkukuk.de>
  1095. * po/de.po: Update translations.
  1096. 2008-09-30 Manoj Kumar Giri <mgiri@redhat.com>
  1097. * po/or.po: Updated translations.
  1098. 2008-09-30 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
  1099. * po/pt_BR.po: Updated translations.
  1100. 2008-09-30 Tomas Mraz <t8m@centrum.cz>
  1101. * modules/pam_lastlog/pam_lastlog.8.xml: Document new options
  1102. noupdate and showfailed.
  1103. * modules/pam_lastlog/pam_lastlog.c(pam_parse): Recognize the new
  1104. options.
  1105. (last_login_read): New output parameter lltime. Do not display
  1106. the last login message if it would be empty.
  1107. (last_login_date): New output parameter lltime. Do not write the
  1108. last login info when LASTLOG_UPDATE is not set.
  1109. (last_login_failed): New function to display the last bad login
  1110. attempt from btmp.
  1111. (pam_sm_open_session): Obtain lltime from last_login_date() and
  1112. call last_login_failed() when appropriate.
  1113. * po/Linux-pam.pot: Updated strings to translate.
  1114. * po/*.po: Likewise.
  1115. 2008-09-29 Thorsten Kukuk <kukuk@thkukuk.de>
  1116. * modules/pam_echo/pam_echo.8.xml: Fix format error.
  1117. 2008-09-25 Tomas Mraz <t8m@centrum.cz>
  1118. * modules/pam_tally/pam_tally.c(get_tally): Fix syslog message.
  1119. (tally_check): Open faillog read only. Close file descriptor.
  1120. Fix typos in messages.
  1121. 2008-09-25 Thorsten Kukuk <kukuk@thkukuk.de>
  1122. * modules/pam_mail/pam_mail.c (report_mail): Fix logic of
  1123. "quiet" option (Patch from Andreas Henriksson <andreas@fatal.se>)
  1124. * modules/pam_mail/pam_mail.8.xml: Fix typo.
  1125. 2008-09-23 Tomas Mraz <t8m@centrum.cz>
  1126. * modules/pam_limits/limits.conf.5.xml: Comment that rss limit is
  1127. ignored.
  1128. 2008-09-19 Tomas Mraz <t8m@centrum.cz>
  1129. * modules/pam_cracklib/pam_cracklib.8.xml: Fix description
  1130. of the palindrome test. Document new options maxrepeat and
  1131. reject_username.
  1132. * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Parse
  1133. the maxrepeat and reject_username options.
  1134. (password_check): Call the new tests usercheck() and
  1135. consecutive().
  1136. (_pam_unix_approve_pass): Pass user name to the password_check().
  1137. 2008-09-16 Thorsten Kukuk <kukuk@thkukuk.de>
  1138. * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo.
  1139. * modules/pam_unix/pam_unix.8.xml: Fix typo.
  1140. 2008-09-03 Thorsten Kukuk <kukuk@thkukuk.de>
  1141. * modules/pam_exec/pam_exec.c: Expose authtok if requested,
  1142. provide environment variable containing service type.
  1143. * modules/pam_exec/pam_exec.8.xml: Document new option.
  1144. 2008-08-29 Tomas Mraz <t8m@centrum.cz>
  1145. * modules/pam_loginuid/pam_loginuid.c(set_loginuid): Uids
  1146. are unsigned.
  1147. 2008-08-18 Thorsten Kukuk <kukuk@thkukuk.de>
  1148. * Makefile.am (M4_FILES): Adjust list.
  1149. * modules/pam_access/pam_access.8.xml: Fix module service
  1150. vs. module type.
  1151. * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
  1152. * modules/pam_debug/pam_debug.8.xml: Likewise.
  1153. * modules/pam_deny/pam_deny.8.xml: Likewise.
  1154. * modules/pam_echo/pam_echo.8.xml: Likewise.
  1155. * modules/pam_env/pam_env.8.xml: Likewise.
  1156. * modules/pam_exec/pam_exec.8.xml: Likewise.
  1157. * modules/pam_faildelay/pam_faildelay.8.xml: Likewise.
  1158. * modules/pam_filter/pam_filter.8.xml: Likewise.
  1159. * modules/pam_ftp/pam_ftp.8.xml: Likewise.
  1160. * modules/pam_group/pam_group.8.xml: Likewise.
  1161. * modules/pam_issue/pam_issue.8.xml: Likewise.
  1162. * modules/pam_keyinit/pam_keyinit.8.xml: Likewise.
  1163. * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
  1164. * modules/pam_limits/pam_limits.8.xml: Likewise.
  1165. * modules/pam_listfile/pam_listfile.8.xml: Likewise.
  1166. * modules/pam_localuser/pam_localuser.8.xml: Likewise.
  1167. * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
  1168. * modules/pam_mail/pam_mail.8.xml: Likewise.
  1169. * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
  1170. * modules/pam_motd/pam_motd.8.xml: Likewise.
  1171. * modules/pam_namespace/pam_namespace.8.xml: Likewise.
  1172. * modules/pam_nologin/pam_nologin.8.xml: Likewise.
  1173. * modules/pam_permit/pam_permit.8.xml: Likewise.
  1174. * modules/pam_rhosts/pam_rhosts.8.xml: Likewise.
  1175. * modules/pam_rootok/pam_rootok.8.xml: Likewise.
  1176. * modules/pam_securetty/pam_securetty.8.xml: Likewise.
  1177. * modules/pam_selinux/pam_selinux.8.xml: Likewise.
  1178. * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
  1179. * modules/pam_shells/pam_shells.8.xml: Likewise.
  1180. * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
  1181. * modules/pam_tally/pam_tally.8.xml: Likewise.
  1182. * modules/pam_time/pam_time.8.xml: Likewise.
  1183. * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
  1184. * modules/pam_umask/pam_umask.8.xml: Likewise.
  1185. * modules/pam_unix/pam_unix.8.xml: Likewise.
  1186. * modules/pam_userdb/pam_userdb.8.xml: Likewise.
  1187. * modules/pam_warn/pam_warn.8.xml: Likewise.
  1188. * modules/pam_wheel/pam_wheel.8.xml: Likewise.
  1189. * modules/pam_xauth/pam_xauth.8.xml: Likewise.
  1190. 2008-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
  1191. * configure.in: Add version for gettext, add search path
  1192. for m4 directory, fix handling of --disable-* options.
  1193. Patches from Diego Pettenò <flameeyes@gmail.com>.
  1194. * configure.in: Run autoupdate on it.
  1195. * acincludde.m4: Rename to ...
  1196. * m4/jh_path_xml_catalog.m4: ... this.
  1197. * m4/*.m4: Remove all autoconf m4 files.
  1198. 2008-07-29 Steve Langasek <vorlon@debian.org>
  1199. * modules/pam_cracklib/pam_cracklib.8.xml: correct a typo,
  1200. "Only he" -> "Only the"
  1201. 2008-07-28 Steve Langasek <vorlon@debian.org>
  1202. * libpamc/test/regress/test.libpamc.c: use standard u_int8_t
  1203. type instead of __u8, as elsewhere.
  1204. Patch from Roger Leigh <rleigh@debian.org>.
  1205. * modules/pam_unix/passverify.c: make save_old_password()
  1206. thread-safe by using pam_modutil_getpwnam() instead of getpwnam()
  1207. * modules/pam_unix/passverify.c, modules/pam_unix/passverify.h,
  1208. modules/pam_unix/pam_unix_passwd.c: add pamh argument to
  1209. save_old_password()
  1210. 2008-07-27 Steve Langasek <vorlon@debian.org>
  1211. * modules/pam_*/pam_*.8.xml: fix up the references to pam.d,
  1212. which is in manpage section 5, not 8.
  1213. * modules/pam_env/environment, modules/pam_env/pam_env.8.xml:
  1214. spelling fix, seperate -> separate
  1215. 2008-07-26 Steve Langasek <vorlon@debian.org>
  1216. * modules/pam_env/pam_env.c: Fix module to skip over
  1217. non-alphanumeric variable names, and to handle the case when
  1218. asked to delete a non-existent variable.
  1219. 2008-07-13 Tomas Mraz <t8m@centrum.cz>
  1220. * modules/pam_mail/pam_mail.8.xml: Module supports session and
  1221. not account service (#1980773).
  1222. 2008-07-11 Tomas Mraz <t8m@centrum.cz>
  1223. * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Do
  1224. not close the pipe descriptor in borderline case (#2009766).
  1225. * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
  1226. Likewise.
  1227. * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
  1228. * modules/pam_unix/support.h: Define upper limit of fds we will
  1229. attempt to close.
  1230. * modules/pam_selinux/pam_selinux.c (config_context): Do not
  1231. ask for the level if use_current_range is set.
  1232. (context_from_env): New function to obtain the context from
  1233. PAM environment variables.
  1234. (pam_sm_open_session): Call context_from_env() if env_params option
  1235. is present. use_current_range now modifies behavior of the
  1236. context_from_env and config_context options.
  1237. * modules/pam_selinux/pam_selinux.8.xml: Describe the env_params
  1238. option. Adjust description of use_current_range option.
  1239. 2008-07-09 Thorsten Kukuk <kukuk@thkukuk.de>
  1240. * modules/pam_exec/pam_exec.c (call_exec): Move all variable
  1241. declaration to begin of a block (#1976310).
  1242. * xtests/tst-pam_group1.c (run_test): Move no_grps declaration
  1243. to begin of function (#1976310).
  1244. * modules/pam_securetty/pam_securetty.8.xml: Replace
  1245. PAM_IGNORE with PAM_USER_UNKNOWN (#1994330).
  1246. * modules/pam_tally/pam_tally.c: Add support for silent and
  1247. no_log_info options.
  1248. * modules/pam_tally/pam_tally.8.xml: Document silent and
  1249. no_log_info options.
  1250. 2008-07-08 Thorsten Kukuk <kukuk@thkukuk.de>
  1251. * modules/pam_unix/passverify.c (verify_pwd_hash): Adjust debug
  1252. statement.
  1253. 2008-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
  1254. * modules/pam_unix/unix_chkpwd.c (main): Fix compiling without
  1255. audit support.
  1256. * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo in ucredit
  1257. description (reported by Wayne Pollock <pollock@acm.org>)
  1258. 2008-06-19 Tomas Mraz <t8m@centrum.cz>
  1259. * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
  1260. Detect configuration errors. Fail on incomplete condition.
  1261. 2008-05-20 Tomas Mraz <t8m@centrum.cz>
  1262. * configure.in: Work correctly with autoconf-2.62.
  1263. 2008-05-19 Tomas Mraz <t8m@centrum.cz>
  1264. * doc/man/pam_getenv.3.xml: Correct the pam_getenv documentation.
  1265. * doc/man/pam_prompt.3.xml: Add missing description.
  1266. 2008-05-14 Kjartan Maraas <kmaraas@gnome.org>
  1267. * po/nb.po: Updated translation.
  1268. 2008-05-14 Sulyok Péter <peti@sulyok.hu>
  1269. * po/hu.po: Updated translation.
  1270. 2008-05-14 Tomas Mraz <t8m@centrum.cz>
  1271. * libpam/pam_modutil_getgrgid.c: Replace hardcoded constant with
  1272. define PWD_LENGTH_SHIFT.
  1273. * libpam/pam_modutil_getgrnam.c: Likewise.
  1274. * libpam/pam_modutil_getpwnam.c: Likewise.
  1275. * libpam/pam_modutil_getpwuid.c: Likewise.
  1276. * libpam/pam_modutil_getspnam.c: Likewise.
  1277. * libpam/pam_modutil_private.h: Adjust values for PWD_ constants.
  1278. * modules/pam_unix/pam_unix_passwd.c(pam_sm_chauthtok): Unset authtok
  1279. item when password is not approved.
  1280. * modules/pam_unix/support.c(_unix_read_password): UNIX_USE_FIRST_PASS
  1281. is always set when UNIX_AUTHTOK is set, change order of conditions.
  1282. 2008-05-02 Tomas Mraz <t8m@centrum.cz>
  1283. * modules/pam_selinux/pam_selinux.c(query_response): Add handling
  1284. for NULL response.
  1285. (manual_context): Handle failed query_response() properly. Rename
  1286. variable responses to response which is more correct name.
  1287. (config_context): Likewise.
  1288. (pam_sm_open_session): Do not base decision on whether there is a tty.
  1289. 2008-04-22 Tomas Mraz <t8m@centrum.cz>
  1290. * modules/pam_selinux/pam_selinux.c(pam_sm_close_sesion): Fix
  1291. regression from the change from 2008-03-20. setexeccon() must be
  1292. called also with NULL prev_context.
  1293. 2008-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
  1294. * modules/pam_access/access.conf.5.xml: Document changed behavior
  1295. of LOCAL keyword.
  1296. * modules/pam_access/pam_access.c: Add from_remote_host to
  1297. struct login_info to change behavior of LOCAL keyword: if
  1298. PAM_RHOST is not set, LOCAL will be true.
  1299. 2008-04-18 Tomas Mraz <t8m@centrum.cz>
  1300. * modules/pam_namespace/pam_namespace.c: New functions
  1301. unprotect_dirs(), cleanup_protect_data(), protect_mount(),
  1302. protect_dir() to protect directory by bind mount.
  1303. (cleanup_data): Renamed to cleanup_polydir_data().
  1304. (parse_create_params): Allow missing specification of mode
  1305. or owner.
  1306. (check_inst_parent): Call protect_dir() on the instance parent
  1307. directory. The directory is created when it doesn't exist.
  1308. (create_polydir): Protect and make the polydir by protect_dir(),
  1309. remove potential races.
  1310. (create_dirs): Renamed to create_instance(), remove call to
  1311. inst_init().
  1312. (ns_setup): Call protect_dir() on the polydir if it already exists.
  1313. Call inst_init() after the polydir is mounted.
  1314. (setup_namespace): Set the namespace protect data to be cleaned up
  1315. on pam_close_session()/pam_end().
  1316. (pam_sm_open_session): Initialize the protect_dirs.
  1317. (pam_sm_close_session): Cleanup namespace protect data.
  1318. * modules/pam_namespace/pam_namespace.h: Define struct for the
  1319. stack of protected dirs.
  1320. * modules/pam_namespace/pam_namespace.8.xml: Document when the
  1321. instance init script is called.
  1322. * modules/pam_namespace/namespace.conf.5.xml: Likewise.
  1323. 2008-04-17 Tomas Mraz <t8m@centrum.cz>
  1324. * modules/pam_access/pam_access.c(myhostname): Removed function.
  1325. (user_match): Supply hostname of the machine to the netgroup_match().
  1326. Use hostname from the loginfo instead of calling myhostname().
  1327. (pam_sm_authenticate): Call gethostname() to fill hostname in the
  1328. loginfo.
  1329. * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Do not try
  1330. to lock if euid != 0.
  1331. 2008-04-16 Tomas Mraz <t8m@centrum.cz>
  1332. * modules/pam_unix/Makefile.am: Link unix_chkpwd with libaudit.
  1333. * modules/pam_unix/unix_chkpwd.c(_audit_log): New function for audit.
  1334. (main): Call _audit_log() when appropriate.
  1335. * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Recognize also
  1336. try_first_pass and use_first_pass options.
  1337. (pam_sm_chauthtok): Implement the new options.
  1338. 2008-04-08 Tomas Mraz <t8m@centrum.cz>
  1339. * modules/pam_xauth/pam_xauth.c(run_coprocess): Avoid multiple
  1340. calls to sysconf() (based on patch by Sami Farin).
  1341. * libpam/pam_item.c (TRY_SET): Do not set when destination
  1342. is identical to source.
  1343. (pam_set_item): Do not overwrite destination when it
  1344. is identical to source.
  1345. 2008-04-07 Miloš Komarčević <kmilos@gmail.com>
  1346. * po/sr.po: New file with translation.
  1347. * po/sr@latin.po: Likewise.
  1348. * po/LINGUAS: Add sr and sr@latin.
  1349. 2008-04-03 Thorsten Kukuk <kukuk@thkukuk.de>
  1350. * release version 1.0.0
  1351. * configure.in: Set version number to 1.0.0.
  1352. * libpam/Makefile.am: Bump patchlevel of libpam.
  1353. * doc/adg/Linux-PAM_ADG.xml: Update version/date.
  1354. * doc/mwg/Linux-PAM_MWG.xml: Likewise.
  1355. * doc/sag/Linux-PAM_SAG.xml: Likewise.
  1356. 2008-03-31 Dan Walsh <dwalsh@redhat.com>
  1357. * modules/pam_sepermit/pam_sepermit.c(sepermit_lock): Mark lock fd to
  1358. be closed on exec.
  1359. 2008-03-25 Leah Liu <lliu@redhat.com>
  1360. * po/zh_CN.po: Updated translation.
  1361. 2008-03-20 Tomas Mraz <t8m@centrum.cz>
  1362. * modules/pam_namespace/pam_namespace.c(poly_name): Switch to USER
  1363. method only when appropriate.
  1364. (setup_namespace): Do not umount when not mounted with RUSER.
  1365. * modules/pam_selinux/pam_selinux.c(pam_sm_close_session): Call
  1366. freecontext() after the context is logged not before.
  1367. 2008-03-18 Canniot Thomas <thomas.canniot@mrtomlinux.org>
  1368. * po/fr.po: Updated translation.
  1369. 2008-03-13 Ankit Patel <ankit@redhat.com>
  1370. * po/gu.po: Updated translation.
  1371. 2008-03-05 Tomas Mraz <t8m@centrum.cz>
  1372. * modules/pam_cracklib/pam_cracklib.c(pam_sm_chauthtok): Avoid
  1373. unnecessary x_strdup() of resp.
  1374. * modules/pam_ftp/pam_ftp(pam_sm_authenticate): Call _pam_overwrite()
  1375. before dropping password resp.
  1376. 2008-03-03 Tomas Mraz <t8m@centrum.cz>
  1377. * modules/pam_selinux/pam_selinux.c: Do not translate syslog messages.
  1378. * po/Linux-PAM.pot: Update.
  1379. * libpam/pam_item.c(RESET): Rename to TRY_SET, handle strdup failure.
  1380. (pam_set_item): Use TRY_SET() also for PAM_AUTHTOK and PAM_OLDAUTHTOK.
  1381. Handle allocation failure for PAM_XAUTHDATA.
  1382. (pam_get_user): Return error when conversation returns NULL user.
  1383. Call pam_set_item() instead of RESET().
  1384. 2008-02-26 Tomas Mraz <t8m@centrum.cz>
  1385. * modules/pam_unix/Makefile.am: Do not link to cracklib.
  1386. * modules/pam_unix/pam_unix_passwd.c(_pam_unix_approve_pass):
  1387. Do not call FascistCheck() from cracklib.
  1388. 2008-02-29 Fabian Affolter <fab@fedoraproject.org>
  1389. * po/de.po: Updated translation.
  1390. 2008-02-28 Piotr Drąg <piotrdrag@gmail.com>
  1391. * po/pl.po: Updated translation.
  1392. 2008-02-26 Tomas Mraz <t8m@centrum.cz>
  1393. * po/LINUGAS: New languages added.
  1394. * po/es.po: Updated translations.
  1395. * po/fr.po: Likewise.
  1396. * po/it.po: Likewise.
  1397. * po/ja.po: Likewise.
  1398. * po/nl.po: Likewise.
  1399. * po/pl.po: Likewise.
  1400. * po/pt_BR.po: Likewise.
  1401. * po/ru.po: Likewise.
  1402. * po/zh_CN.po: Likewise.
  1403. * po/as.po: New file.
  1404. * po/gu.po: Likewise.
  1405. * po/hi.po: Likewise.
  1406. * po/kn.po: Likewise.
  1407. * po/ko.po: Likewise.
  1408. * po/ml.po: Likewise.
  1409. * po/or.po: Likewise.
  1410. * po/si.po: Likewise.
  1411. * po/ta.po: Likewise.
  1412. 2008-02-21 Tomas Mraz <t8m@centrum.cz>
  1413. * libpam/pam_audit.c (_pam_audit_writelog): Silence syslog
  1414. message on non-error return.
  1415. * modules/pam_unix/unix_chkpwd.c (main): Proceed as unprivileged
  1416. user when checking password of another user.
  1417. * modules/pam_unix/unix_update.c: Fix comment.
  1418. 2008-02-18 Dmitry V. Levin <ldv@altlinux.org>
  1419. * libpam/pam_handlers.c (_pam_assemble_line): Fix potential
  1420. buffer overflow.
  1421. * xtests/tst-pam_assemble_line1.pamd: New test for
  1422. _pam_assemble_line.
  1423. * xtests/tst-pam_assemble_line1.sh: New script for
  1424. tst-pam_assemble_line1.
  1425. * xtests/Makefile.am (NOSRCTESTS): Add tst-pam_assemble_line1.
  1426. (EXTRA_DIST): Add tst-pam_assemble_line1.pamd and
  1427. tst-pam_assemble_line1.sh
  1428. * modules/pam_exec/pam_exec.c (call_exec): Fix asprintf return
  1429. code check.
  1430. 2008-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
  1431. * release version 0.99.10.0
  1432. * configure.in: set version number.
  1433. * modules/pam_rhosts/Makefile.am: Remove pam_rhosts_auth.
  1434. * modules/pam_rhosts/pam_rhosts_auth.c: Removed.
  1435. * modules/pam_rhosts/tst-pam_rhosts_auth: Removed.
  1436. * modules/pam_namespace/Makefile.am (noinst_HEADERS): Add
  1437. pam_namespace.h.
  1438. 2008-02-13 Tomas Mraz <t8m@centrum.cz>
  1439. * modules/pam_namespace/Makefile.am: Add argv_parse files and namespace.d
  1440. dir.
  1441. * modules/pam_namespace/argv_parse.c: New file.
  1442. * modules/pam_namespace/argv_parse.h: New file.
  1443. * modules/pam_namespace/namespace.conf.5.xml: Document new features.
  1444. * modules/pam_namespace/pam_namespace.8.xml: Likewise.
  1445. * modules/pam_namespace/pam_namespace.h: Use SECURECONF_DIR define.
  1446. Define NAMESPACE_D_DIR and NAMESPACE_D_GLOB. Define new option flags
  1447. and polydir flags.
  1448. (polydir_s): Add rdir, replace exclusive with flags, add init_script,
  1449. owner, group, and mode.
  1450. (instance_data): Add ruser, gid, and ruid.
  1451. * modules/pam_namespace/pam_namespace.c: Remove now unused copy_ent().
  1452. (add_polydir_entry): Add the entry directly, no copy.
  1453. (del_polydir): New function.
  1454. (del_polydir_list): Call del_polydir().
  1455. (expand_variables, parse_create_params, parse_iscript_params,
  1456. parse_method): New functions.
  1457. (process_line): Call expand_variables() on polydir and instance prefix.
  1458. Call argv_parse() instead of strtok_r(). Allocate struct polydir_s on heap.
  1459. (parse_config_file): Parse .conf files from namespace.d dir after
  1460. namespace.conf.
  1461. (form_context): Call getcon() or get_default_context_with_level() when
  1462. appropriate flags are set.
  1463. (poly_name): Handle shared polydir flag.
  1464. (inst_init): Execute non-default init script when specified.
  1465. (create_polydir): New function.
  1466. (create_dirs): Remove the code which checks the polydir. Do not call
  1467. inst_init() when noinit flag is set.
  1468. (ns_setup): Check the polydir and eventually create it if the create flag
  1469. is set.
  1470. (setup_namespace): Use ruser uid from idata. Set the namespace polydir
  1471. pam data only when namespace was set up correctly. Unmount polydir
  1472. based on ruser.
  1473. (get_user_data): New function.
  1474. (pam_sm_open_session): Check for use_current_context and
  1475. use_default_context options. Call get_user_data().
  1476. (pam_sm_close_session): Call get_user_data().
  1477. 2008-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
  1478. * po/de.po: Translate some more strings.
  1479. 2008-02-05 Thorsten Kukuk <kukuk@thkukuk.de>
  1480. * modules/pam_unix/unix_update.c: Remove unused declarations.
  1481. 2008-02-04 Thorsten Kukuk <kukuk@thkukuk.de>
  1482. * libpam/pam_static_modules.h: Add _pam_sepermit_modstruct.
  1483. * modules/pam_sepermit/pam_sepermit.c: Fix typo.
  1484. * modules/pam_sepermit/Makefile.am: Install config file only
  1485. if we build the module.
  1486. * README: Add --disable-pie to configure options for static library.
  1487. * doc/man/Makefile.am: Fix building outside of src directory.
  1488. * libpam/Makefile.am: Bump version number of libpam.
  1489. * modules/Makefile.am: Add pam_sepermit.
  1490. * doc/Makefile.am: Fix build out of source directory.
  1491. * po/POTFILES.in: Add pam_sepermit.c.
  1492. * modules/pam_exec/pam_exec.c: Set PAM environment variables and
  1493. add 'quiet' option.
  1494. * modules/pam_exec/pam_exec.8.xml: Document new behavior.
  1495. Patch from Julien Lecomte <julien@lecomte.at>.
  1496. 2008-02-01 Tomas Mraz <t8m@centrum.cz>
  1497. * modules/pam_namespace/namespace.conf.5.xml: Add documentation for
  1498. tmpfs and tmpdir polyinst and for ~ user list modifier.
  1499. * modules/pam_namespace/namespace.init: Add documentation for the
  1500. new init parameter. Add home directory initialization script.
  1501. * modules/pam_namespace/pam_namespace.8.xml: Document the new
  1502. init parameter of the namespace.init script.
  1503. * modules/pam_namespace/pam_namespace.c(copy_ent): Copy exclusive flag.
  1504. (cleanup_data): New function.
  1505. (process_line): Set exclusive flag. Add tmpfs and tmpdir methods.
  1506. (ns_override): Change behavior on the exclusive flag.
  1507. (poly_name): Process tmpfs and tmpdir methods.
  1508. (inst_init): Add flag for new directory initialization.
  1509. (create_dirs): Process the tmpdir method, add the new directory
  1510. flag.
  1511. (ns_setup): Remove unused code. Process the tmpfs method.
  1512. (cleanup_tmpdirs): New function.
  1513. (setup_namespace): Set data for proper cleanup. Cleanup the tmpdirs
  1514. on failures.
  1515. (pam_sm_close_session): Instead of parsing the config file again use
  1516. the previously set data for cleanup.
  1517. * modules/pam_namespace/pam_namespace.h: Add TMPFS and TMPDIR methods
  1518. and exclusive flag.
  1519. 2008-01-29 Tomas Mraz <t8m@centrum.cz>
  1520. * configure.in: Test for setkeycreatecon needs libselinux.
  1521. Add new module pam_sepermit.
  1522. * modules/Makefile.am: Add new module pam_sepermit.
  1523. * modules/pam_sepermit/.cvsignore: New file.
  1524. * modules/pam_sepermit/Makefile.am: Likewise.
  1525. * modules/pam_sepermit/README.xml: Likewise.
  1526. * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
  1527. * modules/pam_sepermit/pam_sepermit.c: Likewise.
  1528. * modules/pam_sepermit/sepermit.conf: Likewise.
  1529. * modules/pam_sepermit/tst-pam_sepermit: Likewise.
  1530. * doc/sag/pam_sepermit.xml: Likewise.
  1531. * doc/sag/pam_tty_audit.xml: Add pam_tty_audit to SAG.
  1532. 2008-01-29 Miloslav Trmac <mitr@redhat.com>
  1533. * modules/pam_tty_audit/README.xml: Add notes section.
  1534. * modules/pam_tty_audit/pam_tty_audit.8.xml: Describe patterns
  1535. support and open_only option. Add notes.
  1536. * modules/pam_tty_audit/pam_tty_audit.c(pam_sm_open_session): Add
  1537. support for pattern matching and the open_only option.
  1538. 2008-01-28 Thorsten Kukuk <kukuk@thkukuk.de>
  1539. * libpam/pam_audit.c: Include pam_modutil_private.h.
  1540. * libpam/pam_item.c (pam_set_item): Fix compiler warning.
  1541. * libpam/pam_end.c (pam_end): Cast to correct pointer type.
  1542. * libpam/include/security/_pam_macros.h (_pam_overwrite_n): Use
  1543. unsigned int.
  1544. * modules/pam_unix/passverify.c: Fix compiling without SELinux
  1545. support.
  1546. 2008-01-24 Tomas Mraz <t8m@centrum.cz>
  1547. * modules/pam_unix/bigcrypt.c (bigcrypt): Use crypt_r() when
  1548. available.
  1549. * modules/pam_unix/passverify.c (strip_hpux_aging): New function
  1550. to strip HP/UX aging info from password hash.
  1551. (verify_pwd_hash): Call strip_hpux_aging(), use crypt_r() when
  1552. available.
  1553. 2008-01-23 Tomas Mraz <t8m@centrum.cz>
  1554. * configure.in: Add test for crypt_r(). Add setting/disabling random
  1555. device support.
  1556. * modules/pam_unix/Makefile.am: Add unix_update.8 manpage generated from
  1557. XML, generate also unix_chkpwd.8 from XML.
  1558. * modules/pam_unix/pam_unix_acct.c: Add rounds parameter to _set_ctrl().
  1559. * modules/pam_unix/pam_unix_auth.c: Likewise.
  1560. * modules/pam_unix/pam_unix_sess.c: Likewise.
  1561. * modules/pam_unix/pam_unix_passwd.c: Likewise.
  1562. * modules/pam_unix/support.c(_set_ctrl): Likewise.
  1563. * modules/pam_unix/support.h: Likewise. Add UNIX_SHA256_PASS,
  1564. UNIX_SHA512_PASS, and UNIX_ALGO_ROUNDS ctrls.
  1565. (pam_sm_chauthtok): Refactor out new password encryption.
  1566. * modules/pam_unix/passverify.c(crypt_make_salt): New function.
  1567. (crypt_md5_wrapper): Call crypt_make_salt().
  1568. (create_password_hash): New function refactored out of
  1569. pam_sm_chauthtok(). Support for new password hashes.
  1570. * modules/pam_unix/passverify.h: Drop ascii_to_bin() and bin_to_ascii()
  1571. macros. Add prototype for create_password_hash().
  1572. * modules/pam_unix/unix_update.8.xml: New file.
  1573. * modules/pam_unix/unix_chkpwd.8.xml: Likewise.
  1574. * modules/pam_unix/Makefile.am: Add unix_update helper.
  1575. * modules/pam_unix/pam_unix_passwd.c: Move functions i64c(),
  1576. crypt_md5_wrapper(), save_old_password(), _update_passwd() and
  1577. _update_shadow() to passverify.c file. Rename _unix_run_shadow_binary()
  1578. to _unix_run_update_binary(), which also verifies old password and
  1579. does all writing.
  1580. (_do_setpass, pam_sm_chauthtok): lckpwdf()->lock_pwdf(), the same for unlock.
  1581. Call _unix_run_update_binary() appropriately.
  1582. _update_passwd()->unix_update_passwd(), the same for shadow.
  1583. * modules/pam_unix/passverify.c: Add new functions moved from
  1584. pam_unix_passwd.c and unix_chkpwd.c.
  1585. * modules/pam_unix/passverify.h: Likewise.
  1586. * modules/pam_unix/unix_chkpwd.c: Remove SELinux checks. Move
  1587. su_sighandler(), setup_signals(), getuidname() to passverify.c.
  1588. (main): Remove 'shadow' option. Refactor out read_passwords() and
  1589. call it. More strict checking how the binary is called.
  1590. * modules/pam_unix/unix_update.c: New helper binary - non-setuid,
  1591. called from SELinux confined apps only.
  1592. * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Return
  1593. status and daysleft instead of fake shadow entry.
  1594. (pam_sm_acct_mgmt): Call _unix_run_verify_binary() appropriately.
  1595. * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Call
  1596. get_account_info() and check_shadow_expiry().
  1597. * modules/pam_unix/support.h: Adjust _unix_run_verify_binary()
  1598. prototype.
  1599. * modules/pam_unix/support.c (_unix_run_helper_binary): Remove check
  1600. on selinux enabled/disabled.
  1601. * modules/pam_unix/unix_chkpwd.c (_verify_account): Rename to
  1602. _check_expiry(), now checks shadow expiry info.
  1603. (main): Remove check on selinux enabled/disabled. Check shadow
  1604. expiry through _check_expiry().
  1605. * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Call
  1606. get_account_info() and check_shadow_expiry().
  1607. * modules/pam_unix/passverify.c: Add get_account_info() to
  1608. obtain shadow and passwd entry. Add check_shadow_expiry() to
  1609. for shadow password expiry check.
  1610. (get_pwd_hash): Call get_account_info().
  1611. * modules/pam_unix/passverify.h: Add prototypes for get_account_info()
  1612. and check_shadow_expiry().
  1613. 2008-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
  1614. * doc/man/Makefile.am: Fix manual page dependencies,
  1615. add hack for bug in xsl stylestheets.
  1616. 2008-01-07 Thorsten Kukuk <kukuk@thkukuk.de>
  1617. * po/it.po: Fix typos.
  1618. * po/de.po: Few new translations.
  1619. * po/POTFILES.in: Add pam_tty_audit.c and passverify.c.
  1620. * doc/man/pam_xauth_data.3.xml: Added to CVS.
  1621. * doc/man/pam_xauth_data.3: Likewise.
  1622. * modules/pam_tty_audit/README: Likewise.
  1623. * modules/pam_tty_audit/pam_tty_audit.8: Likewise.
  1624. * po/sv.po: Update swedish translation [#1857531].
  1625. * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix
  1626. cut & paste error [#1863490].
  1627. 2008-01-02 Petteri Räty <betelgeuse@gentoo.org>
  1628. * modules/pam_limits/limits.conf: document allowed values for
  1629. nice.
  1630. * modules/pam_limits/limits.conf.5.xml: Likewise.
  1631. 2007-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
  1632. * README: Document how to run make check with static modules
  1633. (SF#1822779).
  1634. 2007-12-18 Peter Breitenlohner <peb@mppmu.mpg.de>
  1635. * README: Document that "make check" requires a file
  1636. /etc/pam.d/other (SF#1822764).
  1637. 2007-12-12 Eamon Walsh <ewalsh@tycho.nsa.gov>
  1638. * doc/man/pam_item_types_ext.inc.xml: More appropriate wording
  1639. for PAM_XDISPLAY doc.
  1640. 2007-12-07 Tomas Mraz <t8m@centrum.cz>
  1641. * po/cs.po: Updated translations.
  1642. * libpam/libpam.map: Add LIBPAM_MODUTIL_1.1 version.
  1643. * libpam/pam_audit.c: Add _pam_audit_open() and
  1644. pam_modutil_audit_write().
  1645. (_pam_auditlog): Call _pam_audit_open().
  1646. * libpam/include/security/pam_modutil.h: Add pam_modutil_audit_write().
  1647. * modules/pam_access/pam_access.8.xml: Add noaudit option.
  1648. Document auditing.
  1649. * modules/pam_access/pam_access.c: Move fs, sep, pam_access_debug, and
  1650. only_new_group_syntax variables to struct login_info. Add noaudit
  1651. member.
  1652. (_parse_args): Adjust for the move of variables and add support for
  1653. noaudit option.
  1654. (group_match): Add debug parameter.
  1655. (string_match): Likewise.
  1656. (network_netmask_match): Likewise.
  1657. (login_access): Adjust for the move of variables. Add nonall_match.
  1658. Add call to pam_modutil_audit_write().
  1659. (list_match): Adjust for the move of variables.
  1660. (user_match): Likewise.
  1661. (from_match): Likewise.
  1662. (pam_sm_authenticate): Call _parse_args() earlier.
  1663. * modules/pam_limits/pam_limits.8.xml: Add noaudit option.
  1664. Document auditing.
  1665. * modules/pam_limits/pam_limits.c (_pam_parse): Add noaudit option.
  1666. (setup_limits): Call pam_modutil_audit_write().
  1667. * modules/pam_time/pam_time.8.xml: Add debug and noaudit options.
  1668. Document auditing.
  1669. * modules/pam_time/pam_time.c: Add option parsing (_pam_parse()).
  1670. (check_account): Call _pam_parse(). Call pam_modutil_audit_write()
  1671. and pam_syslog() on login denials.
  1672. 2007-12-07 Luca Bruno <luca.br@uno.it>
  1673. * po/it.po: Updated translations.
  1674. 2007-12-06 Eamon Walsh <ewalsh@tycho.nsa.gov>
  1675. * libpam/include/security/_pam_macros.h: Add _pam_overwrite_n()
  1676. macro.
  1677. * libpam/include/security/_pam_types.h: Add PAM_XDISPLAY,
  1678. PAM_XAUTHDATA items, pam_xauth_data struct.
  1679. * libpam/pam_item.c (pam_set_item, pam_get_item): Handle
  1680. PAM_XDISPLAY and PAM_XAUTHDATA items.
  1681. * libpam/pam_end.c (pam_end): Destroy the new items.
  1682. * libpam/pam_private.h (pam_handle): Add data members for new
  1683. items. Add prototype for _pam_memdup.
  1684. * libpam/pam_misc.c: Add _pam_memdup.
  1685. * doc/man/Makefile.am: Add pam_xauth_data.3. Replace
  1686. pam_item_types.inc.xml with pam_item_types_std.inc.xml and
  1687. pam_item_types_ext.inc.xml.
  1688. * doc/man/pam_get_item.3.xml: Replace pam_item_types.inc.xml
  1689. with pam_item_types_std.inc.xml and pam_item_types_ext.inc.xml.
  1690. * doc/man/pam_set_item.3.xml: Likewise.
  1691. * doc/man/pam_item_types.inc.xml: Removed file.
  1692. * doc/man/pam_item_types_ext.inc.xml: New file.
  1693. * doc/man/pam_item_types_std.inc.xml: New file.
  1694. 2007-12-06 Tomas Mraz <t8m@centrum.cz>
  1695. * modules/pam_tty_audit/pam_tty_audit.8.xml: Fix example.
  1696. 2007-12-05 Miloslav Trmac <mitr@redhat.com>
  1697. * configure.in: Add test for audit_tty_status struct. Add
  1698. pam_tty_audit module.
  1699. * libpam/pam_static_modules.h: Add pam_tty_audit module.
  1700. * modules/pam_tty_audit/Makefile.am: New file.
  1701. * modules/pam_tty_audit/README.xml: Likewise.
  1702. * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
  1703. * modules/pam_tty_audit/pam_tty_audit.c: Likewise.
  1704. 2007-12-05 Tomas Mraz <t8m@centrum.cz>
  1705. * modules/pam_unix/Makefile.am: Add passverify.h and passverify.c
  1706. as first part of pam_unix refactorization.
  1707. * modules/pam_unix/pam_unix/pam_unix_acct.c: Include passverify.h.
  1708. * modules/pam_unix/pam_unix_passwd.c: Likewise.
  1709. * modules/pam_unix/passverify.c: New file with common functions.
  1710. * modules/pam_unix/passverify.h: Prototypes for the common functions.
  1711. * modules/pam_unix/support.c: Include passverify.h, move
  1712. _unix_shadowed() to passverify.c.
  1713. (_unix_verify_password): Refactor out verify_pwd_hash() function.
  1714. * modules/pam_unix/support.h: Move _unix_shadowed() prototype to
  1715. passverify.h
  1716. * modules/pam_unix/unix_chkpwd.c: Use _unix_shadowed() and
  1717. verify_pwd_hash() from passverify.c.
  1718. 2007-11-20 Thorsten Kukuk <kukuk@thkukuk.de>
  1719. * modules/pam_unix/Makefile.am (unix_chkpwd_LDADD): Don't link
  1720. unix_chkpwd unnecessary against libpam (#1822779).
  1721. * modules/pam_tally/pam_tally.c (tally_log): Map
  1722. pam_modutil_getpwnam to getpwnam if we don't compile
  1723. as module.
  1724. * modules/pam_tally/Makefile.am: Don't link pam_tally_app
  1725. against libpam (#1822779).
  1726. 2007-11-06 Thorsten Kukuk <kukuk@thkukuk.de>
  1727. * xtests/tst-pam_group1.c: Include stdlib.h
  1728. * xtests/tst-pam_succeed_if1.c: Likewise.
  1729. * xtests/tst-pam_limits1.c: Likewise.
  1730. * xtests/tst-pam_access1.c: Likewise.
  1731. * xtests/tst-pam_access2.c: Likewise.
  1732. * xtests/tst-pam_access3.c: Likewise.
  1733. * xtests/tst-pam_access4.c: Likewise.
  1734. * xtests/tst-pam_unix1.c: Likewise.
  1735. * xtests/tst-pam_unix2.c: Likewise.
  1736. * xtests/tst-pam_unix3.c: Likewise.
  1737. * xtests/tst-pam_cracklib1.c: Likewise.
  1738. * xtests/tst-pam_cracklib2.c: Likewise.
  1739. * libpam/pam_static_modules.h: Fix name of pam_namespace variable.
  1740. 2007-11-01 Peter Breitenlohner <peb@mppmu.mpg.de>
  1741. * doc/man/pam_conv.3.xml: Correct typo.
  1742. 2007-10-30 Peter Breitenlohner <peb@mppmu.mpg.de>
  1743. * modules/pam_rhosts/pam_rhosts_auth.c (__icheckhost): Correct
  1744. misplaced parenthesis.
  1745. * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Prevent use of
  1746. dngettext() when NLS is disabled.
  1747. * modules/pam_exec/pam_exec.c (call_exec): Avoid gcc warning.
  1748. * doc/specs/parse_y.y (set_label, new_counter): Break trigraphs to
  1749. avoid gcc warning.
  1750. * modules/pam_wheel/pam_wheel.c: Remove excessive initializer
  1751. elements.
  1752. * modules/pam_cracklib/pam_cracklib.8.xml: Correct typo.
  1753. * modules/pam_limits/limits.conf.5.xml: Likewise.
  1754. * modules/pam_listfile/pam_listfile.8.xml: Likewise.
  1755. * modules/pam_xauth/pam_xauth.8.xml: Likewise.
  1756. * modules/pam_deny/pam_deny.8.xml: Correct spelling.
  1757. * modules/pam_group/pam_group.8.xml: Likewise.
  1758. * modules/pam_permit/pam_permit.8.xml: Likewise.
  1759. * modules/pam_shells/pam_shells.8.xml: Likewise.
  1760. * modules/pam_time/pam_time.8.xml: Likewise.
  1761. * modules/pam_warn/pam_warn.8.xml: Likewise.
  1762. * tests/tst-dlopen.c: Return 77 in case of static modules, such that
  1763. all modules/pam_*/tst-pam_* tests yield SKIP instead of FAIL.
  1764. * libpam/Makefile.am (libpam_la_LIBADD): Use "$(shell ls ...)" instead
  1765. of "`ls ...`", to allow for static modules.
  1766. * libpam/pam_static_modules.h: Make pam_keyinit module depend on
  1767. HAVE_KEY_MANAGEMENT; correct name of pam_faildelay pam_module struct.
  1768. * modules/pam_faildelay/pam_faildelay.c: Correct name of pam_module
  1769. struct.
  1770. 2007-10-25 Steve Langasek <vorlon@debian.org>
  1771. * modules/pam_tally/pam_tally.c: fix the definition of OPT_AUDIT
  1772. to be octal instead of decimal, so that it works properly in a
  1773. bit field instead of forcing the "even_deny_root_account" and
  1774. "no_reset" options to on.
  1775. Patch from Corey Wright <undefined@pobox.com>.
  1776. 2007-10-19 Tomas Mraz <t8m@centrum.cz>
  1777. * xtests/tst-pam_access1.c: Use different name for user and group.
  1778. * xtests/tst-pam_access1.sh: Likewise.
  1779. * xtests/tst-pam_access2.c: Likewise.
  1780. * xtests/tst-pam_access2.sh: Likewise.
  1781. * xtests/tst-pam_access4.c: Likewise.
  1782. * xtests/tst-pam_access4.sh: Likewise.
  1783. * xtests/group.conf: Likewise.
  1784. * xtests/tst-pam_group1.c: Likewise.
  1785. * xtests/tst-pam_group1.sh: Likewise.
  1786. * libpam/pam_dispatch.c (_pam_dispatch_aux): Save states for substacks,
  1787. record substack level, skip over virtual substack modules, implement
  1788. evaluation of done, die, reset and jumps in substacks. Also fixes
  1789. too far jumps in substacks.
  1790. * libpam/pam_end.c (pam_end): Drop substack evaluation states.
  1791. * libpam/pam_handlers.c (_pam_parse_conf_file): Add substack level
  1792. parameter, instead of must_fail use handler_type needed for virtual
  1793. substack modules.
  1794. (_pam_load_conf_file): Add substack level parameter.
  1795. (_pam_init_handlers): Substack level parameter added to
  1796. _pam_parse_conf_file() calls.
  1797. (_pam_load_module): New function.
  1798. (_pam_add_handler): Refactor code into the _pam_load_module(). Add
  1799. support for virtual substack modules.
  1800. * libpam/pam_private.h: Rename must_fail to handler_type, add stack_level
  1801. to struct handler. Define handler type constants. Add struct
  1802. for substack evaluation states. Define constant for maximum
  1803. substack level. Add substack states pointer to former state struct.
  1804. * libpam/pam_start.c (pam_start): Initialize pointer to substack states.
  1805. * doc/man/pam.conf-syntax.xml: Document substack control.
  1806. * xtests/Makefile.am: Add new tests for substack evaluation.
  1807. * xtests/run_xtests.sh: Support multiple .pamd files in a test.
  1808. * xtests/tst-pam_authfail.pamd: New tests for substack evaluation.
  1809. * xtests/tst-pam_authsucceed.pamd: Likewise.
  1810. * xtests/tst-pam_substack1.pamd: Likewise.
  1811. * xtests/tst-pam_substack1a.pamd: Likewise.
  1812. * xtests/tst-pam_substack1.sh: Likewise.
  1813. * xtests/tst-pam_substack2.pamd: Likewise.
  1814. * xtests/tst-pam_substack2a.pamd: Likewise.
  1815. * xtests/tst-pam_substack2.sh: Likewise.
  1816. * xtests/tst-pam_substack3.pamd: Likewise.
  1817. * xtests/tst-pam_substack3a.pamd: Likewise.
  1818. * xtests/tst-pam_substack3.sh: Likewise.
  1819. * xtests/tst-pam_substack4.pamd: Likewise.
  1820. * xtests/tst-pam_substack4a.pamd: Likewise.
  1821. * xtests/tst-pam_substack4.sh: Likewise.
  1822. * xtests/tst-pam_substack5.pamd: Likewise.
  1823. * xtests/tst-pam_substack5a.pamd: Likewise.
  1824. * xtests/tst-pam_substack5.sh: Likewise.
  1825. 2007-10-18 Tomas Mraz <t8m@centrum.cz>
  1826. * xtests/tst-pam_dispatch4.c: Fix comment about the test.
  1827. * xtests/tst-pam_dispatch4.pamd: Improve the testcase.
  1828. * xtests/tst-pam_cracklib2.c: Make the testcase more robust.
  1829. 2007-10-12 Thorsten Kukuk <kukuk@thkukuk.de>
  1830. * xtests/Makefile.am: Add tst-pam_dispatch5 sources
  1831. * xtests/tst-pam_dispatch5.c: New test for jump too far.
  1832. * xtests/tst-pam_dispatch5.pamd: New test configuration.
  1833. 2007-10-09 Tomas Mraz <t8m@centrum.cz>
  1834. * modules/pam_tally/pam_tally.8.xml: Document audit option
  1835. correctly.
  1836. 2007-10-09 Thorsten Kukuk <kukuk@thkukuk.de>
  1837. * release version 0.99.9.0
  1838. * configure.in: Increase vesion number.
  1839. * libpam/Makefile.am: Increase release number.
  1840. * libpam_misc/Makefile.am: Increase release number.
  1841. * po/*.po: Regenerate.
  1842. 2007-10-08 Thorsten Kukuk <kukuk@thkukuk.de>
  1843. * modules/pam_time/pam_time.c (is_same): Length of strings without
  1844. wildcard needs to be the same.
  1845. * modules/pam_group/pam_group.c (is_same): Likewise.
  1846. 2007-10-01 Thorsten Kukuk <kukuk@thkukuk.de>
  1847. * xtests/tst-pam_group1.c: New test case for user compare in pam_group.
  1848. * xtests/tst-pam_group1.sh: Script to run test case.
  1849. * xtests/tst-pam_group1.pamd: Config for test case.
  1850. * xtests/Makefile.am: Add tst-pam_group1 test case.
  1851. * xtests/run-xtests.sh: Save/restore group.conf.
  1852. * xtests/group.conf: New.
  1853. * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Don't
  1854. free arguments used for putenv().
  1855. * doc/man/pam_putenv.3.xml: Document that application has to free
  1856. the memory.
  1857. 2007-09-27 Tomas Mraz <t8m@centrum.cz>
  1858. * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist): Fix in
  1859. operator rhbz #295151.
  1860. * modules/pam_namespace/pam_namespace.c (poly_name): Do not try to
  1861. get context when SELinux is disabled.
  1862. 2007-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
  1863. * xtests/tst-pam_succeed_if1.c: New test case for
  1864. https://bugzilla.redhat.com/show_bug.cgi?id=295151
  1865. * xtests/tst-pam_succeed_if1.sh: Script to run test case.
  1866. * xtests/tst-pam_succeed_if1.pamd: Config for test case.
  1867. * xtests/Makefile.am: Add tst-pam_succeed_if1 test case.
  1868. * xtests/run-xtests.sh: Add support to skip tests.
  1869. * xtests/tst-pam_limits1.c: Skip test if RLIMIT_NICE is not
  1870. defined.
  1871. 2007-09-03 Steve Langasek <vorlon@debian.org>
  1872. * modules/pam_limits/pam_limits.c: remove a number of unnecessary
  1873. string manipulations, including a strncpy() that was acting on
  1874. overlapping memory.
  1875. * libpam_misc/misc_conv.c: don't block SIGINT in misc_conv; it's
  1876. perfectly valid to allow the user to interrupt at a prompt. If
  1877. an application wants prompts to not be interruptable, the
  1878. application should take responsibility for blocking SIGINT.
  1879. 2007-09-02 Thorsten Kukuk <kukuk@thkukuk.de>
  1880. * examples/Makefile.am: Fix usage of LIBADD, LDADD and LDFLAGS.
  1881. * libpam/Makefile.am: Likewise.
  1882. * modules/pam_access/Makefile.am: Likewise.
  1883. * modules/pam_cracklib/Makefile.am: Likewise.
  1884. * modules/pam_debug/Makefile.am: Likewise.
  1885. * modules/pam_deny/Makefile.am: Likewise.
  1886. * modules/pam_echo/Makefile.am: Likewise.
  1887. * modules/pam_env/Makefile.am: Likewise.
  1888. * modules/pam_exec/Makefile.am: Likewise.
  1889. * modules/pam_faildelay/Makefile.am: Likewise.
  1890. * modules/pam_filter/Makefile.am: Likewise.
  1891. * modules/pam_filter/upperLOWER/Makefile.am: Likewise.
  1892. * modules/pam_ftp/Makefile.am: Likewise.
  1893. * modules/pam_group/Makefile.am: Likewise.
  1894. * modules/pam_issue/Makefile.am: Likewise.
  1895. * modules/pam_keyinit/Makefile.am: Likewise.
  1896. * modules/pam_lastlog/Makefile.am: Likewise.
  1897. * modules/pam_limits/Makefile.am: Likewise.
  1898. * modules/pam_listfile/Makefile.am: Likewise.
  1899. * modules/pam_localuser/Makefile.am: Likewise.
  1900. * modules/pam_loginuid/Makefile.am: Likewise.
  1901. * modules/pam_mail/Makefile.am: Likewise.
  1902. * modules/pam_mkhomedir/Makefile.am: Likewise.
  1903. * modules/pam_motd/Makefile.am: Likewise.
  1904. * modules/pam_namespace/Makefile.am: Likewise.
  1905. * modules/pam_nologin/Makefile.am: Likewise.
  1906. * modules/pam_permit/Makefile.am: Likewise.
  1907. * modules/pam_rhosts/Makefile.am: Likewise.
  1908. * modules/pam_rootok/Makefile.am: Likewise.
  1909. * modules/pam_securetty/Makefile.am: Likewise.
  1910. * modules/pam_selinux/Makefile.am: Likewise.
  1911. * modules/pam_shells/Makefile.am: Likewise.
  1912. * modules/pam_stress/Makefile.am: Likewise.
  1913. * modules/pam_succeed_if/Makefile.am: Likewise.
  1914. * modules/pam_tally/Makefile.am: Likewise.
  1915. * modules/pam_time/Makefile.am: Likewise.
  1916. * modules/pam_umask/Makefile.am: Likewise.
  1917. * modules/pam_unix/Makefile.am: Likewise.
  1918. * tests/Makefile.am: Likewise.
  1919. 2007-08-31 Steve Langasek <vorlon@debian.org>
  1920. * modules/pam_group/group.conf: don't use "games" as an example
  1921. group, on some distros this is a pre-existing group that it would
  1922. be a security hole to give users access to.
  1923. 2007-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
  1924. * modules/pam_limits/limits.conf.5.xml: Document that maxlogins
  1925. is ignored for users with UID 0.
  1926. 2007-08-30 Steve Langasek <vorlon@debian.org>
  1927. * modules/pam_unix/support.c, modules/pam_unix/unix_chkpwd.c:
  1928. A wrong username doesn't need to be logged at LOG_ALERT;
  1929. LOG_WARNING should be sufficient.
  1930. Patch from Sam Hartman <hartmans@debian.org>.
  1931. * modules/pam_cracklib/pam_cracklib.c:
  1932. s/CRACKLIB_DICT/CRACKLIB_DICTS/, for consistency with existing
  1933. #define in pam_unix
  1934. 2007-08-29 Steve Langasek <vorlon@debian.org>
  1935. * libpam/pam_modutil_getgrgid.c, libpam/pam_modutil_getgrnam.c,
  1936. libpam/pam_modutil_getpwnam.c, libpam/pam_modutil_getpwuid.c,
  1937. libpam/pam_modutil_getspnam.c: don't use pthread mutexes in libpam
  1938. unnecessarily; this avoids linking problems on non-Linux
  1939. platforms.
  1940. * modules/pam_listfile/pam_listfile.c, modules/pam_listfile/README,
  1941. modules/pam_listfile/pam_listfile.8,
  1942. modules/pam_listfile/pam_listfile.8.xml: add a 'quiet' option to
  1943. avoid logging errors any time a user is refused service by this
  1944. module.
  1945. 2007-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
  1946. * modules/pam_rhosts/pam_rhosts_auth.c: buflen needs to be size_t.
  1947. (__icheckhost): Cast to int32_t to fix limited range error.
  1948. * modules/pam_cracklib/pam_cracklib.c: Mark cracklib_dictpath
  1949. as const.
  1950. 2007-08-29 Steve Langasek <vorlon@debian.org>
  1951. * modules/pam_rhosts/pam_rhosts_auth.c: getline returns -1 at
  1952. EOF, not 0. Check accordingly to fix an infinite loop. Thanks
  1953. to Stephan Springl <springl-rhosts@bfw-online.de> for catching
  1954. this.
  1955. 2007-08-28 Steve Langasek <vorlon@debian.org>
  1956. * configure.in: call AC_CHECK_HEADERS instead of AC_CHECK_HEADER
  1957. for crack.h, so we get a HAVE_CRACK_H define.
  1958. * modules/pam_cracklib/pam_cracklib.c: don't copy around the
  1959. cracklib dictpath into a fixed-width buffer, when we can just
  1960. point at the existing strings; and allow users to override the
  1961. default cracklib path with -DCRACKLIB_DICT, required for
  1962. compatibility with cracklib 2.7.
  1963. 2007-08-27 Steve Langasek <vorlon@debian.org>
  1964. * modules/pam_limits/pam_limits.c: when building on non-Linux
  1965. systems, give a warning only, not an error; no one seems to
  1966. remember why this error was here in the first place, but leave
  1967. something in that might still grab the attention of non-Linux
  1968. users.
  1969. Patch from Michal Suchanek <hramrach_l@centrum.cz>.
  1970. * configure.in, modules/pam_rhosts/pam_rhosts_auth.c: check for
  1971. the presence of net/if.h before using, required for Hurd
  1972. compatibility.
  1973. Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
  1974. * modules/pam_limits/pam_limits.c: conditionalize the use of
  1975. RLIMIT_AS, which is not present on the Hurd.
  1976. Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
  1977. * modules/pam_rhosts/pam_rhosts_auth.c: use getline() instead of
  1978. a static buffer when available; fixes the build on systems
  1979. without MAXHOSTNAMELEN (i.e., the Hurd).
  1980. * modules/pam_xauth/pam_xauth.c: make sure PATH_MAX is defined
  1981. before using it.
  1982. 2007-08-26 Andrew Morgan <morgan@kernel.org>
  1983. * doc/man/pam.conf-syntax.xml
  1984. Minor fixes: '\[' -> '\]'.
  1985. 2007-08-25 Steve Langasek <vorlon@debian.org>
  1986. * doc/man/pam.conf-syntax.xml, doc/man/pam.conf.5:
  1987. Document "new" control options conv_again and incomplete, supported
  1988. in pam.d's extended syntax.
  1989. Patch from Ben Collins <bcollins@debian.org>.
  1990. 2007-08-15 Tomas Mraz <t8m@centrum.cz>
  1991. * modules/pam_access/pam_access.c (list_match): Add explicit
  1992. sptr argument for strtok_r, otherwise the code is not portable.
  1993. 2007-08-13 Olivier Blin <blino@mandriva.com>
  1994. * doc/man/pam.3.xml: Fix typo.
  1995. * doc/man/pam.3: Likewise.
  1996. * doc/man/pam_end.3.xml: Likewise.
  1997. * doc/man/pam_end.3: Likewise.
  1998. 2007-07-18 Thorsten Kukuk <kukuk@thkukuk.de>
  1999. * release version 0.99.8.1
  2000. * libpam/pam_audit.c: Include unistd.h for getuid().
  2001. * libpam/Makefile.am: Bump version number.
  2002. 2007-07-12 Thorsten Kukuk <kukuk@thkukuk.de>
  2003. * libpam/pam_audit.c (_pam_audit_writelog): Don't return
  2004. error if application runs as normal user. Fixes regression
  2005. introduced with last change.
  2006. 2007-07-10 Thorsten Kukuk <kukuk@thkukuk.de>
  2007. * configure.in: Add --with-db-uniquename option to support
  2008. db libraries and functions with unique name extension.
  2009. Patch from Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>.
  2010. * modules/pam_limits/pam_limits.c: Include locale.h.
  2011. 2007-07-06 Thorsten Kukuk <kukuk@thkukuk.de>
  2012. * release version 0.99.8.0
  2013. * configure.in: Check for audit_log_acct_message instead of
  2014. audit_log_user_message.
  2015. * libpam/pam_audit.c: Use audit_log_acct_message.
  2016. Based on patch from Mark J Cox <mjc@redhat.com>.
  2017. * libpam/Makefile.am: Bump version number of libpam.
  2018. * modules/pam_umask/pam_umask.c (set_umask): mode_t is 32bit,
  2019. not 64bit.
  2020. * xtests/tst-pam_limits1.c: Fix printf arguments.
  2021. * po/*.po: Merge po files with latest code changes.
  2022. 2007-06-26 Thorsten Kukuk <kukuk@thkukuk.de>
  2023. * modules/pam_limits/pam_limits.c (process_limit): Check upper and
  2024. lower limit of nice value, fix off-by-one in conversation to rlim_t.
  2025. * xtests/Makefile.am: Add new pam_limits test case.
  2026. * xtests/limits.conf: New, config file for test case.
  2027. * xtests/pam_limits1.c: New, test case for RLIMIT_NICE.
  2028. * xtests/pam_limits1.sh: Likewise.
  2029. * xtests/pam_limits1.pamd: Likewise.
  2030. 2007-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
  2031. * modules/pam_access/pam_access.c (list_match): Use saveptr of strtok_r
  2032. result for recursive calls.
  2033. * xtests/Makefile.am: Add new pam_access test cases.
  2034. * xtests/pam_access1.c: New test case.
  2035. * xtests/pam_access2.c: Likewise.
  2036. * xtests/pam_access3.c: Likewise.
  2037. * xtests/pam_access4.c: Likewise.
  2038. * xtests/pam_access1.sh: Wrapper to create user accounts.
  2039. * xtests/pam_access2.sh: Likewise.
  2040. * xtests/pam_access3.sh: Likewise.
  2041. * xtests/pam_access4.sh: Likewise.
  2042. * xtests/pam_access1.pamd: PAM config file for pam_access tests.
  2043. * xtests/pam_access2.pamd: Likewise.
  2044. * xtests/pam_access3.pamd: Likewise.
  2045. * xtests/pam_access4.pamd: Likewise.
  2046. * xtests/access.conf: Config file for pam_access tests.
  2047. * xtests/run-tests.sh: Install access.conf into system.
  2048. 2007-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
  2049. * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Print
  2050. better error message if /proc/self/loginuid cannot be opened.
  2051. * modules/pam_limits/pam_limits.c (process_limit): Check for
  2052. variable overflow after multiplication [bnc#283001].
  2053. * modules/pam_access/pam_access.c: Add new syntax for groups
  2054. in access.conf to differentiate group names from account names.
  2055. Based on patch from Julien Lecomte <julien@famille-lecomte.net>,
  2056. solves feature request [#411390].
  2057. * modules/pam_access/access.conf: Add example for new group
  2058. syntax.
  2059. * modules/pam_access/access.conf.5.xml: Document new syntax.
  2060. 2007-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
  2061. * modules/pam_cracklib/pam_cracklib.8.xml: Document new minclass
  2062. option.
  2063. * modules/pam_cracklib/pam_cracklib.c: Add support for minimum
  2064. character classes [#1688777]. Based on patch from Keith Schincke.
  2065. * xtests/tst-pam_cracklib2.c: New, test case for minclass option.
  2066. * xtests/tst-pam_cracklib2.pamd: New, PAM config file for test case.
  2067. * xtests/Makefile.am: Add new testcase.
  2068. * xtests/pam_cracklib.c: Fix comment what this application tests.
  2069. * configure.in: Use /lib64 on x86-64, ppc64, s390x, sparc64
  2070. 2007-06-15 Tomas Mraz <t8m@centrum.cz>
  2071. * modules/pam_selinux/pam_selinux.8.xml: Remove multiple option,
  2072. add select_context and use_current_range options.
  2073. * modules/pam_selinux/pam_selinux.c (send_audit_message): Added
  2074. function for auditing role/level changes.
  2075. (query_response): Add default response.
  2076. (select_context): Removed.
  2077. (manual_context): Query only role and level.
  2078. (mls_range_allowed): Added function for range check.
  2079. (config_context): Added function for role and level override.
  2080. (pam_sm_open_session): Remove multiple option, add select_context
  2081. and use_current_range_options. Use getseuserbyname to obtain
  2082. SELinux user and level. Audit role/level changes. Call setkeycreatecon
  2083. to assign key creation context. Don't fail on errors when SELinux
  2084. is not in enforcing mode.
  2085. * configure.in: Check for setkeycreatecon().
  2086. * modules/pam_namespace/README.xml: Avoid duplication of
  2087. documentation.
  2088. * modules/pam_namespace/namespace.conf: More real life example
  2089. from MLS support.
  2090. * modules/pam_namespace/namespace.conf.5.xml: Likewise plus
  2091. properly describe how instance directory names are formed.
  2092. * modules/pam_namespace/namespace.init: Preserve euid when
  2093. called from setuid apps (su, newrole).
  2094. * modules/pam_namespace/pam_namespace.8.xml: Added option
  2095. no_unmount_on_close.
  2096. * modules/pam_namespace/pam_namespace.c (process_line): Polyinst
  2097. methods are now user, level and context. Fix crash on unknown
  2098. override user in config file.
  2099. (ns_override): Add explicit uid parameter.
  2100. (form_context): Skip for user method. Implement level based
  2101. polyinstantiation.
  2102. (poly_name): Initialize contexts. Add level based polyinst,
  2103. remove 'both' metod. Use raw contexts for instance names,
  2104. truncate long instance names and add hash.
  2105. (ns_setup): Hashing moved to poly_name().
  2106. (setup_namespace): Handle correctly override users for
  2107. su (when unmnt_remnt is used).
  2108. (pam_sm_close_session): Added no_unmount_on_close option.
  2109. * modules/pam_namespace/pam_namespace.h: Added
  2110. no_unmount_on_close_option, level method, limit on instance
  2111. directory name length.
  2112. 2007-05-04 Thorsten Kukuk <kukuk@suse.de>
  2113. * xtests/run-xtests.sh: Use SRCDIR to find PAM config files.
  2114. * xtests/Makefile.am: Call run-xtests.sh with srcdir as first
  2115. argument.
  2116. Based on patch by Bernard Leak <thisisnotapipe@hotmail.com>.
  2117. 2007-04-30 Thorsten Kukuk <kukuk@thkukuk.de>
  2118. * modules/pam_limits/limits.conf: Address space limit is KB.
  2119. * modules/pam_limits/limits.conf.5.xml: Likewise.
  2120. Reported by Thomas Vander Stichele <thomas@apestaart.org>.
  2121. * modules/pam_mail/pam_mail.c (_do_mail): Remove duplicate
  2122. check for PAM_SILENT and don't bail out if it is set [#1706247].
  2123. 2007-03-29 Tomas Mraz <t8m@centrum.cz>
  2124. * modules/pam_access/pam_access.c (login_access, list_match):
  2125. Replace strtok with strtok_r.
  2126. * modules/pam_cracklib/pam_cracklib.c (check_old_password):
  2127. Likewise.
  2128. * modules/pam_ftp/pam_ftp.c (lookup, pam_authenticate):
  2129. Likewise.
  2130. * modules/pam_unix/pam_unix_passwd.c (check_old_password,
  2131. save_old_password): Likewise.
  2132. * modules/pam_limits/Makefile.am: Define limits.d dir and install it.
  2133. * modules/pam_limits/pam_limits.8.xml: Describe limits.d parsing.
  2134. * modules/pam_limits/pam_limits.c (pam_limit_s): Make conf_file ptr.
  2135. (pam_parse): conf_file is now ptr.
  2136. (pam_sm_open_session): Add parsing files from limits.d subdir using
  2137. glob, change pl to pointer.
  2138. 2007-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
  2139. * po/ar.po: New translation.
  2140. * po/ca.po: Likewise.
  2141. * po/da.po: Likewise.
  2142. * po/ru.po: Likewise.
  2143. * po/sv.po: Likewise.
  2144. * po/zu.po: Likewise.
  2145. * po/LINGUAS: Add ar, ca, da, ru, sv, zu
  2146. * po/hu.po: Update translation.
  2147. 2007-02-21 Tomas Mraz <t8m@centrum.cz>
  2148. * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Test for
  2149. allocation failure in bigcrypt().
  2150. * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Allow
  2151. modification of '*' password by root.
  2152. 2007-02-06 Tomas Mraz <t8m@centrum.cz>
  2153. * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Remove
  2154. debug syslog message when loginuid doesn't exist.
  2155. 2007-02-01 Tomas Mraz <t8m@centrum.cz>
  2156. * xtests/tst-pam_unix3.c: Fix typos in comments.
  2157. * modules/pam_unix/support.c (_unix_verify_password): Explicitly
  2158. disallow '!' in the beginning of password hash. Treat only
  2159. 13 bytes password hash specifically. (Suggested by Solar Designer.)
  2160. Fix a warning and test for allocation failure.
  2161. * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
  2162. 2007-01-31 Thorsten Kukuk <kukuk@thkukuk.de>
  2163. * xtests/Makefile.am: Add new pam_unix.so tests
  2164. * xtests/run-xtests.sh: Prefer shell scripts (wrapper)
  2165. over binaries.
  2166. * xtests/tst-pam_cracklib1.c: Fix typo.
  2167. * xtests/tst-pam_unix1.c: New, for sucurity fix.
  2168. * xtests/tst-pam_unix1.pamd: New.
  2169. * xtests/tst-pam_unix1.sh: New.
  2170. * xtests/tst-pam_unix2.c: New, for crypt checks.
  2171. * xtests/tst-pam_unix2.pamd: New.
  2172. * xtests/tst-pam_unix2.sh: New.
  2173. * xtests/tst-pam_unix3.c: New, for bigcrypt checks.
  2174. * xtests/tst-pam_unix3.pamd: New.
  2175. * xtests/tst-pam_unix3.sh: New.
  2176. 2007-01-23 Thorsten Kukuk <kukuk@suse.de>
  2177. * release 0.99.7.1
  2178. * configure.in: Set version number to 0.99.7.1
  2179. 2007-01-23 Thorsten Kukuk <kukuk@thukuk.de>
  2180. Tomas Mraz <t8m@centrum.cz>
  2181. * modules/pam_unix/support.c (_unix_verify_password): Always
  2182. compare full encrypted passwords (CVE-2007-0003).
  2183. 2007-01-23 Tomas Mraz <t8m@centrum.cz>
  2184. * modules/pam_loginuid/Makefile.am (AM_LDFLAGS): Add LIBAUDIT.
  2185. * modules/pam_selinux/Makefile.am (pam_selinux_check_LDFLAGS): Add
  2186. AM_LDFLAGS.
  2187. (pam_selinux_la_LDFLAGS): Likewise.
  2188. 2007-01-17 Thorsten Kukuk <kukuk@thkukuk.de>
  2189. * release 0.99.7.0
  2190. * configure.in: Set version number to 0.99.7.0
  2191. * Makefile.am (M4_FILES): Replace GNU make extension by listing
  2192. all m4 files.
  2193. 2007-01-17 Tomas Mraz <t8m@centrum.cz>
  2194. * po/*.po: Updated strings to translate.
  2195. * po/Linux-PAM.pot: Likewise.
  2196. 2007-01-16 Thorsten Kukuk <kukuk@thkukuk.de>
  2197. * doc/man/pam.conf-syntax.xml: Improve documentation about
  2198. sufficient keyword (Patch by Petteri Räty <betelgeuse@gentoo.org>)
  2199. 2006-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
  2200. * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Forbid
  2201. only '+' and '-' as first characters for account names.
  2202. * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Likewise.
  2203. 2006-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
  2204. * configure.in: Fix ENOKEY check (specify errno.h as header
  2205. file to search in).
  2206. * configure.in: Add AM_PROG_CC_C_O.
  2207. * libpam/Makefile.am: Add content of AM_LDFLAGS to *_LDFLAGS.
  2208. * modules/pam_tally/Makefile.am: Likewise.
  2209. * modules/pam_unix/Makefile.am: Likewise.
  2210. * modules/pam_stress/pam_stress.c (pam_sm_chauthtok): Fix
  2211. localisation of message printed to user.
  2212. * po/de.po: Adjust translation.
  2213. 2006-12-18 Tomas Mraz <t8m@centrum.cz>
  2214. * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Localize
  2215. message printed to user.
  2216. * modules/pam_unix/support.c (_unix_verify_password): Use strncmp
  2217. only for bigcrypt result.
  2218. * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Switch to new
  2219. egid first, euid next. Revert euid/egid to old euid/egid and not
  2220. ruid/rgid.
  2221. (pam_sm_open_session): Switch to new rgid first, ruid next.
  2222. 2006-12-13 Thorsten Kukuk <kukuk@thkukuk.de>
  2223. * modules/pam_localuser/pam_localuser.c: Add support for session
  2224. and chauthtok [SF#1606180].
  2225. * modules/pam_localuser/pam_localuser.8.xml: Document last change.
  2226. * libpam/pam_audit.c (_pam_audit_writelog): Print error message
  2227. only once.
  2228. 2006-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
  2229. * libpam/pam_audit.c (_pam_audit_writelog): Print error
  2230. message on failure to syslog.
  2231. 2006-12-09 Thorsten Kukuk <kukuk@thkukuk.de>
  2232. * modules/pam_umask/pam_umask.c: Use strtoul instead of strtol,
  2233. fix overflow detection.
  2234. 2006-12-06 Thorsten Kukuk <kukuk@thkukuk.de>
  2235. * modules/pam_mkhomedir/pam_mkhomedir.c (rec_mkdir): Fix
  2236. handling of left-most path component [SF#1591598].
  2237. (create_homedir): Mark user visible messages for translation.
  2238. * po/de.po: Adjust german translation for pam_mkhomedir.
  2239. * modules/pam_faildelay/pam_faildelay.c: If no argument is
  2240. given, try to read FAIL_DELAY from /etc/login.defs.
  2241. * modules/pam_faildelay/pam_faildelay.8.xml: Document usage
  2242. of /etc/login.defs.
  2243. 2006-12-04 Tomas Mraz <t8m@centrun.cz>
  2244. * po/jp.po: Fixed mistake in Password: message (from
  2245. Peng Huang <phuang@redhat.com>).
  2246. 2006-11-28 Thorsten Kukuk <kukuk@thkukuk.de>
  2247. * po/hu.po: Update hungarian translation (from
  2248. Kalman Kemenczy <kkemenczy@novell.com>).
  2249. * configure.in: Allow disabling support for cracklib, audit, libdb.
  2250. * modules/pam_faildelay/pam_faildelay.8.xml: Correct name of Author.
  2251. * configure.in: Remove --enable-docdir (obsolete by --docdir).
  2252. * doc/Makefile.am: Don't overwrite htmldir.
  2253. * doc/adg/Makefile.am: Use docdir, htmldir and pdfdir.
  2254. * doc/mwg/Makefile.am: Likewise.
  2255. * doc/sag/Makefile.am: Likewise.
  2256. * doc/specs/Makefile.am: Use docdir.
  2257. * tests/tst-pam_set_data.c: New test cases for pam_set_data().
  2258. * tests/Makefile.am: Add pam_set_data test case.
  2259. * libpam/pam_data.c: Add NULL pointer check for module_data_name.
  2260. * libpam/Makefile.am: Bump revision of shared library.
  2261. 2006-11-08 Thorsten Kukuk <kukuk@thkukuk.de>
  2262. * configure.in: Add modules/pam_faildelay/Makefile.
  2263. * doc/sag/Linux-PAM_SAG.xml: Include pam_faildelay.xml.
  2264. * doc/sag/pam_faildelay.xml: New.
  2265. * libpam/pam_static_modules.h: Include static pam_faildelay data.
  2266. * modules/Makefile.am: Add pam_faildelay directory.
  2267. * modules/pam_faildelay/Makefile.am: New.
  2268. * modules/pam_faildelay/README: New, generated from XML file.
  2269. * modules/pam_faildelay/README.xml: New.
  2270. * modules/pam_faildelay/pam_faildelay.8: New, generated from xml.
  2271. * modules/pam_faildelay/pam_faildelay.8.xml: New.
  2272. * modules/pam_faildelay/pam_faildelay.c: New.
  2273. * modules/pam_faildelay/tst-pam_faildelay: New.
  2274. * po/POTFILES.in: Add pam_faildelay.c and pam_loginuid.c.
  2275. 2006-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
  2276. * modules/pam_cracklib/pam_cracklib.c: PAM_DEBUG_ARG
  2277. is a bit mask and not a boolean value (Reported by
  2278. Jochen Voss <voss@seehuhn.de>).
  2279. 2006-10-26 Thorsten Kukuk <kukuk@thkukuk.de>
  2280. * doc/man/pam.3.xml: Add pam_get_user function.
  2281. * modules/pam_motd/pam_motd.8.xml: Fix typo.
  2282. 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
  2283. * modules/pam_namespace/pam_namespace.c: Reserve space for
  2284. trailing zero.
  2285. 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
  2286. * modules/pam_unix/support.c (_unix_verify_password): Try system
  2287. crypt() if we don't know the hash alogorithm.
  2288. * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
  2289. 2006-10-13 Tomas Mraz <t8m@centrum.cz>
  2290. * doc/mwg/Linux-PAM_MWG.xml: Add id[s] to section[s].
  2291. * doc/sag/pam_access.xml: Likewise.
  2292. * doc/sag/pam_echo.xml: Likewise.
  2293. * doc/sag/pam_env.xml: Likewise.
  2294. * doc/sag/pam_exec.xml: Likewise.
  2295. * doc/sag/pam_group.xml: Likewise.
  2296. * doc/sag/pam_limits.xml: Likewise.
  2297. * doc/sag/pam_namespace.xml: Likewise.
  2298. * doc/sag/pam_time.xml: Likewise.
  2299. * doc/sag/Linux-PAM_SAG.xml: Add id to book.
  2300. * doc/adg/Linux-PAM_ADG.xml: Add id to book.
  2301. * doc/mwg/Linux-PAM_MWG.xml: Add id to book.
  2302. 2006-10-07 Thorsten Kukuk <kukuk@thkukuk.de>
  2303. * po/hu.po: Updated hungarian translation (from
  2304. Kalman Kemenczy <kkemenczy@novell.com>)
  2305. 2006-09-20 Thorsten Kukuk <kukuk@thkukuk.de>
  2306. * doc/adg/Makefile.am: Add manual pages as dependency.
  2307. * doc/mwg/Makefile.am: Likewise.
  2308. * doc/sag/Makefile.am: Likewise.
  2309. * doc/sag/Linux-PAM_SAG.xml: Include pam_unix.xml.
  2310. * doc/sag/pam_unix.xml: New.
  2311. * modules/pam_unix/Makefile.am: Generate pam_unix.8 manual page.
  2312. * modules/pam_unix/README.xml: New.
  2313. * modules/pam_unix/pam_unix.8.xml: New.
  2314. * modules/pam_unix/README: Regenerate from XML.
  2315. * modules/pam_unix/pam_unix.8: Generated from XML.
  2316. 2006-09-09 Dmitry V. Levin <ldv@altlinux.org>
  2317. * modules/pam_wheel/pam_wheel.8.xml: Fix typo.
  2318. * modules/pam_wheel/pam_wheel.8: Likewise.
  2319. * modules/pam_wheel/README: Likewise.
  2320. 2006-09-08 Thorsten Kukuk <kukuk@thkukuk.de>
  2321. * po/de.po: Fix typo.
  2322. 2006-09-06 Thorsten Kukuk <kukuk@thkukuk.de>
  2323. * release version 0.99.6.3
  2324. 2006-09-01 Thorsten Kukuk <kukuk@thkukuk.de>
  2325. * modules/pam_loginuid/pam_loginuid.8.xml: Fix typo in
  2326. config name.
  2327. 2006-08-31 Thorsten Kukuk <kukuk@thkukuk.de>
  2328. * modules/pam_env/environment: New, dummy environment example
  2329. config file.
  2330. * modules/pam_namespace/Makefile.am: Don't install
  2331. manual page if we don't build module.
  2332. * m4/ld-as-needed.m4: Don't set LDFLAGS if check failed.
  2333. * m4/ld-O1: Likewise.
  2334. 2006-08-30 Tomas Mraz <t8m@centrum.cz>
  2335. * modules/pam_access/pam_access.8.xml: All services supported.
  2336. * modules/pam_access/pam_access.c (pam_sm_open_session): New.
  2337. (pam_sm_close_session): New.
  2338. (pam_sm_chauthtok): New.
  2339. * modules/pam_access/pam_succeed_if.8.xml: All services supported.
  2340. * modules/pam_access/pam_succeed_if.c (pam_sm_setcred): Return
  2341. PAM_IGNORE rather than success.
  2342. (pam_sm_open_session): New.
  2343. (pam_sm_close_session): New.
  2344. (pam_sm_chauthtok): New.
  2345. 2006-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
  2346. * xtests/Makefile.am: Move shell code to execute tests from here ...
  2347. * xtests/run-xtests.sh: ... to here.
  2348. * xtests/*.c: Include config.h.
  2349. * tests/*.c: Likewise.
  2350. * modules/pam_namespace/pam_namespace.c: Use pam_modutil_getpwnam()
  2351. instead of getpwnam().
  2352. 2006-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
  2353. * doc/sag/pam_loginuid.xml: New.
  2354. * doc/sag/Linux-PAM_SAG.xml: Include pam_loginuid.xml.
  2355. * configure.in: Add modules/pam_loginuid/Makefile.
  2356. * modules/Makefile.am: Add pam_loginuid sub directory.
  2357. * libpam/pam_static_modules.h: Add pam_loginuid.
  2358. * modules/pam_loginuid/Makefile.am: New.
  2359. * modules/pam_loginuid/tst-pam_loginuid: New.
  2360. * modules/pam_loginuid/pam_loginuid.8.xml: New.
  2361. * modules/pam_loginuid/pam_loginuid.8: New, generated from XML source.
  2362. * modules/pam_loginuid/pam_loginuid.c: New.
  2363. * modules/pam_loginuid/README.xml: New.
  2364. * modules/pam_loginuid/README: New, generated from XML source.
  2365. 2006-08-29 Dmitry V. Levin <ldv@altlinux.org>
  2366. * modules/pam_exec/pam_exec.c (call_exec): Add required third
  2367. argument to open() call with O_CREAT flag set.
  2368. 2006-08-28 Thorsten Kukuk <kukuk@thkukuk.de>
  2369. * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Remove
  2370. duplicate code.
  2371. 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
  2372. * release version 0.99.6.2
  2373. * modules/pam_lastlog/pam_lastlog.c (last_login_date): Create
  2374. lastlog file if it does not exist.
  2375. * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Check
  2376. for error from getting second token.
  2377. * xtests/Makefile.am: Add tst-pam_cracklib1
  2378. * xtests/tst-pam_cracklib1.c: New, check for pam_cracklib seg.fault.
  2379. * xtests/tst-pam_cracklib1.pamd: New, config for cracklib test.
  2380. 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
  2381. * xtests/tst-pam_dispatch4.c: New test.
  2382. * xtests/tst-pam_dispatch4.pamd: PAM config for new test.
  2383. 2006-08-09 Thorsten Kukuk <kukuk@thkukuk.de>
  2384. * release version 0.99.6.1
  2385. 2006-08-09 David Howells <dhowells@redhat.com>
  2386. * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Set real uid
  2387. to user's before revoking.
  2388. (pam_sm_open_session): Remember the uid.
  2389. 2006-08-06 Thorsten Kukuk <kukuk@thkukuk.de>
  2390. * modules/pam_umask/pam_umask.c (setup_limits_from_gecos):
  2391. Add error handling.
  2392. * modules/pam_umask/pam_umask.8.xml: Document silent option.
  2393. * xtests/Makefile.am: Fix includes for bootstrapping.
  2394. Reported by Greg Schafer <gschafer@zip.com.au>.
  2395. 2006-08-05 Thorsten Kukuk <kukuk@thkukuk.de>
  2396. * release version 0.99.6.0
  2397. * modules/pam_limits/pam_limits.c (pam_sm_open_session): Use
  2398. pam_modutil_getpwnam instead of getpwnam.
  2399. * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Cast
  2400. svc variable to char pointer for snprintf.
  2401. * configure.in: Generate xtests/Makefile.
  2402. * Makefile.am (SUBDIRS): Add xtests.
  2403. * README: Document make check and make xtests.
  2404. * xtests/Makefile.am: New.
  2405. * xtests/tst-pam_dispatch1.pamd: New.
  2406. * xtests/tst-pam_dispatch2.pamd: New.
  2407. * xtests/tst-pam_dispatch3.pamd: New.
  2408. * xtests/tst-pam_dispatch1.c: New.
  2409. * xtests/tst-pam_dispatch2.c: New.
  2410. * xtests/tst-pam_dispatch3.c: New.
  2411. 2006-08-04 Ray Strode <rstrode@redhat.com>
  2412. * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
  2413. Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate.
  2414. 2006-08-03 David Howells <dhowells@redhat.com>
  2415. * modules/pam_keyinit/pam_keyinit.c: Debug should be off by default.
  2416. (init_keyrings): Properly handle multiple invocations of the module.
  2417. (kill_keyrings, pam_sm_open_session, pam_sm_close_session): Likewise.
  2418. 2006-08-03 Tomas Mraz <t8m@centrum.cz>
  2419. * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist):
  2420. New function for list matching.
  2421. (evaluate_notinlist): Likewise.
  2422. (evaluate): Add service value match, list matching.
  2423. * modules/pam_succeed_if/pam_succeed_if.8.xml: Document the
  2424. features.
  2425. * modules/pam_selinux/pam_selinux.c (security_label_tty): Don't log
  2426. relabelling error when the tty device doesn't exist (ENOENT).
  2427. 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
  2428. * doc/man/pam_fail_delay.3.xml: Fix some Bugs and enhance
  2429. rationale about when this function should be used and when not.
  2430. * doc/index.html: Cleanup to look prettier.
  2431. 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
  2432. * libpam/Makefile.am: Bump patchlevel of libpam.
  2433. * libpam/pam_dispatch.c (_pam_dispatch_aux): If [return=die]
  2434. or [return=bad] is used, don't return PAM_IGNORE. Based on
  2435. patch by Tomas Mraz <t8m@centrum.cz>, [BRC#196859].
  2436. 2006-07-28 Thorsten Kukuk <kukuk@thkukuk.de>
  2437. * ABOUT-NLS: Upgrade to gettext-0.15.
  2438. * config.rpath: Likewise.
  2439. * m4/gettext.m4: Upgrade to gettext-0.15.
  2440. * m4/inttypes-h.m4: New file, from gettext-0.15.
  2441. * m4/inttypes-pri.m4: Upgrade to gettext-0.15.
  2442. * m4/lib-link.m4: Upgrade to gettext-0.15.
  2443. * m4/lib-prefix.m4: Upgrade to gettext-0.15.
  2444. * m4/lock.m4: New file, from gettext-0.15.
  2445. * m4/longdouble.m4: Upgrade to gettext-0.15.
  2446. * m4/nls.m4: Upgrade to gettext-0.15.
  2447. * m4/po.m4: Upgrade to gettext-0.15.
  2448. * m4/size_max.m4: Upgrade to gettext-0.15.
  2449. * m4/visibility.m4: New file, from gettext-0.15.
  2450. * po/Makefile.in.in: Upgrade to gettext-0.15.
  2451. 2006-07-24 David Quigley <dpquigl@tycho.nsa.gov>
  2452. * modules/pam_namespace/Makefile.am: Add pam_namespace.h.
  2453. * modules/pam_namespace/pam_namespace.c: Move includes and
  2454. data structure definitions from here ...
  2455. * modules/pam_namespace/pam_namespace.h: ... here. New file.
  2456. * modules/pam_namespace/pam_namespace.c: Move large sections
  2457. of code into new functions.
  2458. 2006-07-24 Thorsten Kukuk <kukuk@thkukuk.de>
  2459. * doc/adg/Makefile.am: Add uninstall and distclean rules.
  2460. * doc/mwg/Makefile.am: Likewise.
  2461. * doc/sag/Makefile.am: Likewise.
  2462. 2006-07-08 Daniel Richard G. <skunk@iskunk.org>
  2463. * conf/pam_conv1/Makefile.am: Fix rules for lex and yacc files.
  2464. * conf/pam_conv1/pam_conv.lex: Rename to ...
  2465. * conf/pam_conv1/pam_conv_l.l: ... this.
  2466. * conf/pam_conv1/pam_conv.y: Rename to ...
  2467. * conf/pam_conv1/pam_conv_y.y: ... this.
  2468. * configure.in: Add AC_HELP_STRING()s to various AC_ARG_ENABLE()
  2469. calls.
  2470. * doc/Makefile.am: Fix rule to install index.html.
  2471. * doc/adg/Makefile.am: Fix test usage.
  2472. * doc/mwg/Makefile.am: Likewise.
  2473. * doc/sag/Makefile.am: Likewise.
  2474. * doc/specs/Makefile.am: Fix rules for lex and yacc files.
  2475. * specs/parse.lex: Rename to ...
  2476. * doc/specs/parse_l.l: ... this.
  2477. * doc/specs/parse.y: Rename to ...
  2478. * doc/specs/parse_y.y: ... this.
  2479. * libpam/pam_account.c: Fix #if vs. #ifdef.
  2480. * libpam/pam_audit.c: Likewise.
  2481. * libpam/pam_auth.c: Likewise.
  2482. * libpam/pam_password.c: Likewise.
  2483. * libpam/pam_private.h: Likewise.
  2484. * libpam/pam_session.c: Likewise.
  2485. * libpam/pam_start.c: Likewise.
  2486. * libpam/pam_static.c: Fix "empty sourcefile" warning.
  2487. * modules/pam_limits/pam_limits.c: Check for __linux, too.
  2488. * modules/pam_userdb/Makefile.am: Don't run test if no
  2489. libdb available.
  2490. * tests/tst-dlopen.c: Include config.h.
  2491. 2006-07-03 Dan Yefimov
  2492. * configure.in: Fixed have_key_syscalls test.
  2493. * modules/pam_access/pam_access.c (from_match): Fixed IPv4 network
  2494. match, removed AI_ADDRCONFIG flag.
  2495. 2006-06-30 Tomas Mraz <t8m@centrum.cz>
  2496. * modules/pam_namespace/Makefile.am(EXTRA_DIST): Add namespace.init.
  2497. 2006-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
  2498. * doc/Makefile.am (releasedocs): Fix directory layout.
  2499. * doc/adg/Makefile.am: Likewise.
  2500. * doc/mwg/Makefile.am: Likewise.
  2501. * doc/sag/Makefile.am: Likewise.
  2502. 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
  2503. * doc/sag: System Administrator Guide as XML source.
  2504. * doc/sag/Makefile.am: New.
  2505. * doc/sag/Linux-PAM_SAG.xml: New, main XML document.
  2506. * doc/sag/pam_*.xml: New, wrapper to include module documentation.
  2507. * doc/adg: Application Developers Guide as XML source.
  2508. * doc/adg/Makefile.am: New.
  2509. * doc/adg/Linux-PAM_ADG.xml: New, main XML document.
  2510. * doc/adg/pam_*.xml: New, wrappers to include manual pages.
  2511. * doc/mwg: Application Developers Guide as XML source.
  2512. * doc/mwg/Makefile.am: New.
  2513. * doc/mwg/Linux-PAM_MWG.xml: New, main XML document.
  2514. * doc/mwg/pam_*.xml: New, wrappers to include manual pages.
  2515. * doc/CREDITS: Removed.
  2516. * doc/NOTES: Removed.
  2517. * doc/pam_appl.sgml: Removed.
  2518. * doc/pam_modules.sgml: Removed.
  2519. * doc/pam_source.sgml: Removed.
  2520. * doc/figs/pam_orient.txt: Removed.
  2521. * doc/figs: Removed.
  2522. * configure.in: Remove checks for sgml2* progrs, add sag, adg
  2523. and mwg Makefiles.
  2524. * doc/Makefile.am: Remove references to sgml, add sag, adg and mwg
  2525. directories.
  2526. * doc/modules: Remove directory.
  2527. * doc/html: Remove directory.
  2528. * doc/ps: Remove directory.
  2529. * doc/pdf: Remove directory.
  2530. * doc/txts: Remove directory.
  2531. * doc/index.html: Moved from html directory to here.
  2532. 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
  2533. * release version 0.99.5.0
  2534. * bump version number to 0.99.5.0
  2535. * modules/pam_rhosts/pam_rhosts.c: New module, replaces
  2536. pam_rhosts_auth.so.
  2537. * modules/pam_rhosts/pam_rhosts.8.xml: New.
  2538. * modules/pam_rhosts/pam_rhosts.8: New, generated from XML source.
  2539. * modules/pam_rhosts/tst-pam_rhosts: New.
  2540. * modules/pam_rhosts/Makefile.am: Add pam_rhosts, generate
  2541. manual page and README.
  2542. * modules/pam_rhosts/README.xml: New.
  2543. * modules/pam_rhosts/reADME: Regenerated from XML source.
  2544. * doc/man/pam_sm_acct_mgmt.3.xml: Adjust syntax for module
  2545. writers guide.
  2546. * doc/man/pam_sm_authenticate.3.xml: Likewise.
  2547. * doc/man/pam_sm_chauthtok.3.xml: Likewise.
  2548. * doc/man/pam_sm_close_session.3.xml: Likewise.
  2549. * doc/man/pam_sm_open_session.3.xml: Likewise.
  2550. * doc/man/pam_sm_setcred.3.xml: Likewise.
  2551. * po/POTFILES.in: Add new source files.
  2552. * libpam/pam_static_modules.h: Add new modules.
  2553. * modules/pam_keyinit.c: Add _pam_keyinit_modstruct.
  2554. * modules/pam_keyinit/Makefile.am (EXTRA_DIST): Add XML
  2555. files and manual page.
  2556. 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
  2557. * configure.in: Allow disabling of SELinux support, check for
  2558. rootok_af.
  2559. 2006-06-27 Tomas Mraz <t8m@centrum.cz>
  2560. * modules/pam_namespace/pam_namespace.c: New module
  2561. originally written by Janak Desai.
  2562. * modules/pam_namespace/Makefile.am: New.
  2563. * modules/pam_namespace/README: New.
  2564. * modules/pam_namespace/md5.c: New.
  2565. * modules/pam_namespace/md5.h: New.
  2566. * modules/pam_namespace/namespace.conf: New.
  2567. * modules/pam_namespace/namespace.conf.5: New.
  2568. * modules/pam_namespace/namespace.conf.5.xml: New.
  2569. * modules/pam_namespace/namespace.init: New.
  2570. * modules/pam_namespace/pam_namespace.8: New.
  2571. * modules/pam_namespace/pam_namespace.8.xml: New.
  2572. * modules/pam_namespace/tst-pam_namespace: New.
  2573. * modules/Makefile.am: Added pam_namespace.
  2574. * configure.in: Added pam_namespace, test for unshare
  2575. library call.
  2576. 2006-06-27 David Howells <dhowells@redhat.com>
  2577. * modules/pam_keyinit/pam_keyinit.c: New module.
  2578. * modules/pam_keyinit/pam_keyinit.8: New.
  2579. * modules/pam_keyinit/pam_keyinit.8.xml: New.
  2580. * modules/pam_keyinit/README: New.
  2581. * modules/pam_keyinit/README.xml: New.
  2582. * modules/pam_keyinit/Makefile.am: New.
  2583. * modules/pam_keyinit/tst-pam_keyinit: New.
  2584. * modules/Makefile.am: Added pam_keyinit.
  2585. * configure.in: Added test for the key mgmt syscall.
  2586. 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
  2587. * m4/libprelude.m4: Sync with upstream.
  2588. 2006-06-27 Tomas Mraz <t8m@centrum.cz>
  2589. * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
  2590. signal() fails with SIG_ERR return
  2591. * modules/pam_unix/pam_unix_passwd.c(_unix_run_shadow_binary):
  2592. Likewise.
  2593. * modules/pam_unix/support.c(_unix_run_helper_binary):
  2594. Likewise.
  2595. 2006-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
  2596. * doc/man/misc_conv.3.xml: New.
  2597. * doc/man/misc_conv.3: New.
  2598. * doc/man/pam_misc_paste_env.3.xml: New.
  2599. * doc/man/pam_misc_paste_env.3: New.
  2600. * doc/man/pam_misc_drop_env.3.xml: New.
  2601. * doc/man/pam_misc_drop_env.3: New.
  2602. * doc/man/pam_misc_setenv.3.xml: New.
  2603. * doc/man/pam_misc_setenv.3: New.
  2604. * doc/man/Makefile.am: Add new manual pages.
  2605. * doc/man/pam_acct_mgmt.3.xml: Fix syntax for inclusion
  2606. in Applicatoin Developer Guide.
  2607. * doc/man/pam_authenticate.3.xml: Likewise
  2608. * doc/man/pam_chauthtok.3.xml: Likewise
  2609. * doc/man/pam_close_session.3.xml: Likewise
  2610. * doc/man/pam_conv.3.xml: Likewise
  2611. * doc/man/pam_end.3.xml: Likewise
  2612. * doc/man/pam_fail_delay.3.xml: Likewise
  2613. * doc/man/pam_getenv.3.xml: Likewise
  2614. * doc/man/pam_getenvlist.3.xml: Likewise
  2615. * doc/man/pam_open_session.3.xml: Likewise
  2616. * doc/man/pam_putenv.3.xml: Likewise
  2617. * doc/man/pam_setcred.3.xml: Likewise
  2618. * doc/man/pam_start.3.xml: Likewise
  2619. * doc/man/pam_strerror.3.xml: Likewise
  2620. * doc/man/pam_acct_mgmt.3: Regenerate from XML source.
  2621. * doc/man/pam_authenticate.3: Likewise
  2622. * doc/man/pam_chauthtok.3: Likewise
  2623. * doc/man/pam_close_session.3: Likewise
  2624. * doc/man/pam_conv.3: Likewise
  2625. * doc/man/pam_end.3: Likewise
  2626. * doc/man/pam_fail_delay.3: Likewise
  2627. * doc/man/pam_getenv.3: Likewise
  2628. * doc/man/pam_getenvlist.3: Likewise
  2629. * doc/man/pam_open_session.3: Likewise
  2630. * doc/man/pam_putenv.3: Likewise
  2631. * doc/man/pam_setcred.3: Likewise
  2632. * doc/man/pam_sm_close_session.3: Likewise
  2633. * doc/man/pam_start.3: Likewise
  2634. * doc/man/pam_strerror.3: Likewise
  2635. * doc/man/pam_syslog.3: Likewise
  2636. * doc/man/PAM.8: Likewise
  2637. 2006-06-24 Thorsten Kukuk <kukuk@thkukuk.de>
  2638. * modules/pam_limits/pam_limits.c (setup_limits): Don't
  2639. reset priority for root.
  2640. 2006-06-23 Thorsten Kukuk <kukuk@thkukuk.de>
  2641. * modules/pam_access/access.conf.5.xml: Fix syntax for SAG.
  2642. * modules/pam_access/pam_access.8.xml: Likewise.
  2643. * modules/pam_deny/pam_deny.8.xml: Likewise.
  2644. * modules/pam_echo/pam_echo.8.xml: Likewise.
  2645. * modules/pam_env/pam_env.8.xml: Likewise.
  2646. * modules/pam_env/pam_env.conf.5.xml: Likewise.
  2647. * modules/pam_group/group.conf.5.xml: Likewise.
  2648. * modules/pam_group/pam_group.8.xml: Likewise.
  2649. * modules/pam_limits/limits.conf.5.xml: Likewise.
  2650. * modules/pam_listfile/pam_listfile.8.xml: Likewise.
  2651. * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
  2652. * modules/pam_time/pam_time.8.xml: Likewise.
  2653. * modules/pam_time/time.conf.5.xml: Likewise.
  2654. * modules/pam_access/access.conf.5: Regenerate.
  2655. * modules/pam_access/pam_access.8: Likewise.
  2656. * modules/pam_deny/pam_deny.8: Likewise.
  2657. * modules/pam_echo/README: Likewise.
  2658. * modules/pam_echo/pam_echo.8: Likewise.
  2659. * modules/pam_env/pam_env.8: Likewise.
  2660. * modules/pam_env/pam_env.conf.5: Likewise.
  2661. * modules/pam_group/README: Likewise.
  2662. * modules/pam_group/group.conf.5: Likewise.
  2663. * modules/pam_group/pam_group.8: Likewise.
  2664. * modules/pam_limits/limits.conf.5: Likewise.
  2665. * modules/pam_listfile/README: Likewise.
  2666. * modules/pam_listfile/pam_listfile.8: Likewise.
  2667. * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
  2668. * modules/pam_time/pam_time.8: Likewise.
  2669. * modules/pam_time/time.conf.5: Likewise.
  2670. * doc/man/Makefile.am: Add pam.conf-desc.xml, pam.conf-dir.xml
  2671. and pam.conf-syntax.xml.
  2672. * doc/man/pam.conf.5.xml: Split into different pieces for SAG.
  2673. * doc/man/pam.conf.5: Regenerated.
  2674. * doc/man/pam.conf-desc.xml: New.
  2675. * doc/man/pam.conf-dir.xml: New.
  2676. * doc/man/pam.conf-syntax.xml: New.
  2677. 2006-06-21 Thorsten Kukuk <kukuk@thkukuk.de>
  2678. * modules/pam_selinux/Makefile.am: Fix "make dist" if libselinux
  2679. is not installed.
  2680. * modules/pam_issue/pam_issue.8.xml: Fix listing of escapes.
  2681. * modules/pam_issue/pam_issue.8: Regenerate.
  2682. 2006-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
  2683. * configure.in: Remove unused check for libcap.
  2684. * m4/ld-as-needed.m4: New.
  2685. * m4/ld-O1.m4: New.
  2686. * configure.in: Call PAM_LD_AS_NEEDED and PAM_LD_O1,
  2687. require docbook version 4.4.
  2688. 2006-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
  2689. * doc/man/pam.8.xml: Syntax cleanup.
  2690. * doc/pam/PAM.8: Regenerated from xml source.
  2691. * man/pam_sm_chauthtok.3: New.
  2692. * man/pam_sm_chauthtok.3.xml: New.
  2693. * man/pam_sm_close_session.3: New.
  2694. * man/pam_sm_close_session.3.xml: New.
  2695. * man/pam_sm_open_session.3: New.
  2696. * man/pam_sm_open_session.3.xml: New.
  2697. * man/pam_sm_authenticate.3: New.
  2698. * man/pam_sm_authenticate.3.xml: New.
  2699. * man/pam_sm_setcred.3: New.
  2700. * man/pam_sm_setcred.3.xml: New.
  2701. * man/Makefile.am: Add new pam_sm_* manual pages.
  2702. * specs/Makefile.am: Fix rule to generate draft.
  2703. 2006-06-18 Thorsten Kukuk <kukuk@thkukuk.de>
  2704. * modules/pam_tally/Makefile.am: Include Make.xml.rules.
  2705. * modules/pam_tally/pam_tally.8.xml: New.
  2706. * modules/pam_tally/pam_tally.8: New, generated from xml file.
  2707. * modules/pam_tally/README.xml: New.
  2708. * modules/pam_tally/README: Regenerated from xml file.
  2709. * modules/pam_selinux/Makefile.am: Include Make.xml.rules.
  2710. * modules/pam_selinux/pam_selinux.8.xml: New.
  2711. * modules/pam_selinux/pam_selinux.8: Regenerated from xml file.
  2712. * modules/pam_selinux/README.xml: New.
  2713. * modules/pam_selinux/README: Regenerated from xml file.
  2714. 2006-06-17 Thorsten Kukuk <kukuk@thkukuk.de>
  2715. * modules/pam_debug/Makefile.am: Include Make.xml.rules.
  2716. * modules/pam_debug/pam_debug.8.xml: New.
  2717. * modules/pam_debug/pam_debug.8: New, generated from xml file.
  2718. * modules/pam_debug/README.xml: New.
  2719. * modules/pam_debug/README: Regenerated from xml file.
  2720. * examples/vpass.c: UID is unsigned on Linux.
  2721. * modules/pam_exec/pam_exec.c: Likewise.
  2722. * modules/pam_unix/pam_unix_acct.c: Likewise.
  2723. * modules/pam_unix/pam_unix_sess.c: Likewise.
  2724. * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix syntax error.
  2725. * modules/pam_succeed_if/pam_succeed_if.8: Regenerated.
  2726. * modules/pam_succeed_if/README: Regenerated.
  2727. * modules/pam_limits/Makefile.am: Include Make.xml.rules.
  2728. * modules/pam_limits/limits.conf.5: New, generated from xml file.
  2729. * modules/pam_limits/limits.conf.5.xml: New.
  2730. * modules/pam_limits/pam_limits.8: New, generated from xml file.
  2731. * modules/pam_limits/pam_limits.8.xml: New.
  2732. * modules/pam_limits/README.xml: New.
  2733. * modules/pam_limits/README: Regenerated from README.xml.
  2734. 2006-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
  2735. * modules/pam_unix/pam_unix_passwd.c (save_old_password): UIDs
  2736. are unsigned on Linux, don't truncate them.
  2737. (_do_setpass): err is of type clnt_stat, not int.
  2738. * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't
  2739. truncate UID for syslog output.
  2740. * modules/pam_time/pam_time.c: Replace type boolean with int.
  2741. * modules/pam_group/pam_group.c: Likewise.
  2742. 2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
  2743. * modules/pam_unix/bigcrypt.h: New.
  2744. * modules/pam_unix/Makefile.am: Add bigcrypt.h.
  2745. * modules/pam_unix/bigcrypt.c: Include bigcrypt.h.
  2746. * modules/pam_unix/support.c: Include bigcrypt.h, remove
  2747. own prototype.
  2748. * modules/pam_unix/bigcrypt_main.c: Include bigcrypt.h, remove
  2749. own prototype.
  2750. * modules/pam_unix/pam_unix_passwd.c: Include bigcrypt.h, remove
  2751. own prototype.
  2752. * modules/pam_time/pam_time.c (logic_member): Remove unused
  2753. variable len.
  2754. * modules/pam_group/pam_group.c (logic_field): Accept
  2755. colon in tty name. [#1428276].
  2756. (logic_member): Remove unused variable len.
  2757. (check_account): Fix usage of err variable in debug code.
  2758. * modules/pam_time/pam_time.c (logic_field): Likewise.
  2759. * configure.in: Add special exceptions for icc: different
  2760. compiler warnings, no PIE support.
  2761. 2006-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
  2762. * libpam/pam_misc.c (_pam_strdup): Use strlen and strcpy.
  2763. * configure.in: Remove --enable-memory-debug, add option
  2764. to disable prelude if installed.
  2765. * modules/pam_tally/pam_tally.c: Remove MEMORY_DEBUG
  2766. * modules/pam_filter/upperLOWER/upperLOWER.c: Likewise.
  2767. * modules/pam_unix/unix_chkpwd.c: Likewise.
  2768. * libpam/include/security/_pam_types.h: Likewise.
  2769. * libpam/libpam.map: Remove LIBPAM_MALLOC_DEBUG export.
  2770. * libpam/pam_malloc.c: Remove file.
  2771. * libpam/Makefile.am: Remove pam_malloc.c and pam_malloc.h.
  2772. * libpam/pam_handlers.c (extract_modulename): Use _pam_strdup
  2773. instead of strdup.
  2774. * libpam/pam_private.h: Remove _pam_strCMP.
  2775. * libpam/pam_misc.c: Likewise.
  2776. * libpam/pam_handlers.c: Replaced _pam_strCMP with strcasecmp.
  2777. 2006-06-12 Thorsten Kukuk <kukuk@thkukuk.de>
  2778. * modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
  2779. for modules from main application.
  2780. 2006-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
  2781. * modules/pam_time/Makefile.am: Include Make.xml.rules.
  2782. * modules/pam_time/time.conf.5: New, generated from xml file.
  2783. * modules/pam_time/time.conf.5.xml: New.
  2784. * modules/pam_time/pam_time.8: New, generated from xml file.
  2785. * modules/pam_time/pam_time.8.xml: New.
  2786. * modules/pam_time/README.xml: New.
  2787. * modules/pam_time/README: Regenerated from README.xml.
  2788. * modules/pam_wheel/Makefile.am: Include Make.xml.rules.
  2789. * modules/pam_wheel/pam_wheel.8.xml: New.
  2790. * modules/pam_wheel/pam_wheel.8: New, generated from xml file.
  2791. * modules/pam_wheel/README.xml: New.
  2792. * modules/pam_wheel/README: Regenerated from xml file.
  2793. * modules/pam_xauth/Makefile.am: Include Make.xml.rules.
  2794. * modules/pam_xauth/pam_xauth.8.xml: New.
  2795. * modules/pam_xauth/pam_xauth.8: Regenerated from xml file.
  2796. * modules/pam_xauth/README.xml: New.
  2797. * modules/pam_xauth/README: Regenerated from xml file.
  2798. * modules/pam_deny/pam_deny.8.xml: Fix syntax errors.
  2799. * modules/pam_deny/pam_deny.8: Regenerate from xml file.
  2800. * modules/pam_deny/README: Likewise.
  2801. * modules/pam_warn/Makefile.am: Include Make.xml.rules.
  2802. * modules/pam_warn/pam_warn.8.xml: New.
  2803. * modules/pam_warn/pam_warn.8: New, generated from xml file.
  2804. * modules/pam_warn/README.xml: New.
  2805. * modules/pam_warn/README: Regenerated from xml file.
  2806. * modules/pam_userdb/Makefile.am: Include Make.xml.rules.
  2807. * modules/pam_userdb/pam_userdb.8.xml: New.
  2808. * modules/pam_userdb/pam_userdb.8: New, generated from xml file.
  2809. * modules/pam_userdb/README.xml: New.
  2810. * modules/pam_userdb/README: Regenerated from xml file.
  2811. 2006-06-06 Thorsten Kukuk <kukuk@thkukuk.de>
  2812. * modules/pam_shells/Makefile.am: Include Make.xml.rules.
  2813. * modules/pam_shells/pam_shells.8.xml: New.
  2814. * modules/pam_shells/pam_shells.8: New, generated from xml file.
  2815. * modules/pam_shells/README.xml: New.
  2816. * modules/pam_shells/README: Regenerated from xml file.
  2817. * libpam/include/security/pam_malloc.h: Add missing license
  2818. informations.
  2819. * libpam/include/security/pam_ext.h: Add brackets for C++.
  2820. * libpam/include/security/pam_modutil.h: Likewise.
  2821. * libpam/include/security/pam_modules.h: Document where to
  2822. find the copyright/license informations.
  2823. * libpam/include/security/pam_appl.h: Move _pam_compat.h
  2824. include inside of brackets.
  2825. 2006-06-04 Thorsten Kukuk <kukuk@thkukuk.de>
  2826. * modules/pam_securetty/Makefile.am: Include Make.xml.rules.
  2827. * modules/pam_securetty/pam_securetty.8.xml: New.
  2828. * modules/pam_securetty/pam_securetty.8: Regenerated from xml file.
  2829. * modules/pam_securetty/README.xml: New.
  2830. * modules/pam_securetty/README: Regenerated from xml file.
  2831. * modules/pam_rootok/Makefile.am: Include Make.xml.rules.
  2832. * modules/pam_rootok/pam_rootok.8.xml: New.
  2833. * modules/pam_rootok/pam_rootok.8: New, generated from xml file.
  2834. * modules/pam_rootok/README.xml: New.
  2835. * modules/pam_rootok/README: Regenerated from xml file.
  2836. * modules/pam_permit/Makefile.am: Include Make.xml.rules.
  2837. * modules/pam_permit/pam_permit.8.xml: New.
  2838. * modules/pam_permit/pam_permit.8: New, generated from xml file.
  2839. * modules/pam_permit/README.xml: New.
  2840. * modules/pam_permit/README: Regenerated from xml file.
  2841. * modules/pam_nologin/Makefile.am: Include Make.xml.rules.
  2842. * modules/pam_nologin/pam_nologin.8.xml: New.
  2843. * modules/pam_nologin/pam_nologin.8: Regenerated from xml file.
  2844. * modules/pam_nologin/README.xml: New.
  2845. * modules/pam_nologin/README: Regenerated from xml file.
  2846. 2006-06-03 Thorsten Kukuk <kukuk@thkukuk.de>
  2847. * modules/pam_motd/Makefile.am: Include Make.xml.rules.
  2848. * modules/pam_motd/pam_motd.8.xml: New.
  2849. * modules/pam_motd/pam_motd.8: New, generated from xml file.
  2850. * modules/pam_motd/README.xml: New.
  2851. * modules/pam_motd/README: New, generated from xml file.
  2852. 2006-06-02 Thorsten Kukuk <kukuk@thkukuk.de>
  2853. * modules/pam_mail/Makefile.am: Include Make.xml.rules.
  2854. * modules/pam_mail/pam_mail.8.xml: New.
  2855. * modules/pam_mail/pam_mail.8: New, generated from xml file.
  2856. * modules/pam_mail/README.xml: New.
  2857. * modules/pam_mail/README: Regenerated from xml file.
  2858. * modules/pam_localuser/Makefile.am: Include Make.xml.rules.
  2859. * modules/pam_localuser/pam_localuser.8.xml: New.
  2860. * modules/pam_localuser/pam_localuser.8: New, generated from xml file.
  2861. * modules/pam_localuser/README.xml: New.
  2862. * modules/pam_localuser/README: Regenerated from xml file.
  2863. * doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1.
  2864. * doc/man/pam.3: Likewise.
  2865. * doc/man/pam.conf.5: Likewise.
  2866. * doc/man/pam_acct_mgmt.3: Likewise.
  2867. * doc/man/pam_authenticate.3: Likewise.
  2868. * doc/man/pam_chauthtok.3: Likewise.
  2869. * doc/man/pam_close_session.3: Likewise.
  2870. * doc/man/pam_conv.3: Likewise.
  2871. * doc/man/pam_end.3: Likewise.
  2872. * doc/man/pam_error.3: Likewise.
  2873. * doc/man/pam_fail_delay.3: Likewise.
  2874. * doc/man/pam_get_data.3: Likewise.
  2875. * doc/man/pam_get_item.3: Likewise.
  2876. * doc/man/pam_get_user.3: Likewise.
  2877. * doc/man/pam_getenv.3: Likewise.
  2878. * doc/man/pam_getenvlist.3: Likewise.
  2879. * doc/man/pam_info.3: Likewise.
  2880. * doc/man/pam_open_session.3: Likewise.
  2881. * doc/man/pam_prompt.3: Likewise.
  2882. * doc/man/pam_putenv.3: Likewise.
  2883. * doc/man/pam_set_data.3: Likewise.
  2884. * doc/man/pam_set_item.3: Likewise.
  2885. * doc/man/pam_setcred.3: Likewise.
  2886. * doc/man/pam_sm_acct_mgmt.3: Likewise.
  2887. * doc/man/pam_start.3: Likewise.
  2888. * doc/man/pam_strerror.3: Likewise.
  2889. * doc/man/pam_syslog.3: Likewise.
  2890. * modules/pam_access/access.conf.5: Likewise.
  2891. * modules/pam_access/pam_access.8: Likewise.
  2892. * modules/pam_cracklib/pam_cracklib.8: Likewise.
  2893. * modules/pam_deny/pam_deny.8: Likewise.
  2894. * modules/pam_echo/pam_echo.8: Likewise.
  2895. * modules/pam_env/pam_env.8: Likewise.
  2896. * modules/pam_env/pam_env.conf.5: Likewise.
  2897. * modules/pam_exec/pam_exec.8: Likewise.
  2898. * modules/pam_filter/pam_filter.8: Likewise.
  2899. * modules/pam_ftp/pam_ftp.8: Likewise.
  2900. * modules/pam_group/group.conf.5: Likewise.
  2901. * modules/pam_group/pam_group.8: Likewise.
  2902. * modules/pam_issue/pam_issue.8: Likewise.
  2903. * modules/pam_lastlog/pam_lastlog.8: Likewise.
  2904. * modules/pam_mkhomedir/pam_mkhomedir.8: Likewise.
  2905. * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
  2906. * modules/pam_umask/pam_umask.8: Likewise.
  2907. * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
  2908. dngettext if available [#1427738].
  2909. * configure.in: Check for dngettext [#1427738].
  2910. * po/*.po: Update to dngettext usage.
  2911. * modules/pam_listfile/Makefile.am: Include Make.xml.rules.
  2912. * modules/pam_listfile/pam_listfile.8.xml: New.
  2913. * modules/pam_listfile/pam_listfile.8: New, generated from xml file.
  2914. * modules/pam_listfile/README.xml: New.
  2915. * modules/pam_listfile/README: Regenerated from xml file.
  2916. 2006-06-01 Thorsten Kukuk <kukuk@thkukuk.de>
  2917. * modules/pam_lastlog/Makefile.am: Include Make.xml.rules.
  2918. * modules/pam_lastlog/pam_lastlog.8.xml: New.
  2919. * modules/pam_lastlog/pam_lastlog.8: New, generated from xml file.
  2920. * modules/pam_lastlog/README.xml: New.
  2921. * modules/pam_lastlog/README: Regenerated from xml file.
  2922. * modules/pam_group/Makefile.am: Include Make.xml.rules.
  2923. * modules/pam_group/group.conf.5.xml: New.
  2924. * modules/pam_group/group.conf.5: New, generated from xml file.
  2925. * modules/pam_group/pam_group.8.xml: New.
  2926. * modules/pam_group/pam_group.8: New, generated from xml file.
  2927. * modules/pam_group/README.xml: New.
  2928. * modules/pam_group/README: Regenerated from xml file.
  2929. * modules/pam_ftp/Makefile.am: Include Make.xml.rules.
  2930. * modules/pam_ftp/pam_ftp.8.xml: New.
  2931. * modules/pam_ftp/pam_ftp.8: New, generated from xml file.
  2932. * modules/pam_ftp/README.xml: New.
  2933. * modules/pam_ftp/README: Regenerated from xml file.
  2934. * modules/pam_issue/Makefile.am: Include Make.xml.rules.
  2935. * modules/pam_issue/pam_issue.8.xml: New.
  2936. * modules/pam_issue/pam_issue.8: New, generated from xml file.
  2937. * modules/pam_issue/README.xml: New.
  2938. * modules/pam_issue/README: Regenerated from xml file.
  2939. * modules/pam_filter/Makefile.am: Include Make.xml.rules.
  2940. * modules/pam_filter/pam_filter.8.xml: New.
  2941. * modules/pam_filter/pam_filter.8: New, generated from xml file.
  2942. * modules/pam_filter/README.xml: New.
  2943. * modules/pam_filter/README: Regenerated from xml file.
  2944. 2006-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
  2945. * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
  2946. directory documentation.
  2947. * modules/pam_umask/Makefile.am: Include Make.xml.rules.
  2948. * modules/pam_umask/pam_umask.8.xml: New.
  2949. * modules/pam_umask/pam_umask.8: New, generated from xml file.
  2950. * modules/pam_umask/README.xml: New.
  2951. * modules/pam_umask/README: Regenerated from xml file.
  2952. 2006-05-29 Thorsten Kukuk <kukuk@thkukuk.de>
  2953. * modules/pam_mkhomedir/Makefile.am: Include Make.xml.rules.
  2954. * modules/pam_mkhomedir/pam_mkhomedir.8.xml: New.
  2955. * modules/pam_mkhomedir/pam_mkhomedir.8: New, generated from xml file.
  2956. * modules/pam_mkhomedir/README.xml: New.
  2957. * modules/pam_mkhomedir/README: Regenerated from xml file.
  2958. 2006-05-23 Thorsten Kukuk <kukuk@thkukuk.de>
  2959. * modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
  2960. instead of read().
  2961. 2006-05-22 Thorsten Kukuk <kukuk@thkukuk.de>
  2962. * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
  2963. Fix memory leaks, [#1490956] found by Coverity.
  2964. * modules/pam_tally/pam_tally.c (pam_get_uid): Check return
  2965. value of pam_get_user().
  2966. (tally_get_data): Check if oldtime is not NULL.
  2967. [#1489818] found by Coverity.
  2968. * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
  2969. ignore return value of stat(). [#1489808] found by Coverity.
  2970. * modules/pam_mail/pam_mail.c (get_folder): Fix a potential
  2971. NULL pointer dereference. [#1489792] found by Coverity.
  2972. * libpam/Makefile.am: bump release number of libpam.so.
  2973. * libpam/pam_misc.c (_pam_mkargv): Fix memory leak,
  2974. [#1489804] found by Coverity.
  2975. * modules/pam_echo/pam_echo.c (replace_and_print): Initialize
  2976. str, [#1489658] found by Coverity.
  2977. * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass): Fix
  2978. a potential NULL pointer dereference.
  2979. (pam_sm_chauthtok): Remove dead code.
  2980. [#1489634] found by Coverity.
  2981. 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
  2982. * configure.in: Check for fseeko.
  2983. * modules/pam_tally/pam_tally.c: Use fseeko if available
  2984. (Based on patch by IBM).
  2985. 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
  2986. * release version 0.99.4.0
  2987. * libpam/pam_strerror.c: Unify error messages.
  2988. * po/zh_TW.po: Adjust for last pam_strerror changes.
  2989. * po/zh_CN.po: Likewise.
  2990. * po/uk.po: Likewise.
  2991. * po/tr.po: Likewise.
  2992. * po/pt.po: Likewise.
  2993. * po/pt_BR.po: Likewise.
  2994. * po/pl.po: Likewise.
  2995. * po/ja.po: Likewise.
  2996. * po/nl.po: Likewise.
  2997. * po/nb.po: Likewise.
  2998. * po/it.po: Likewise.
  2999. * po/hu.po: Likewise.
  3000. * po/fr.po: Likewise.
  3001. * po/fi.po: Likewise.
  3002. * po/es.po: Likewise.
  3003. * po/de.po: Likewise.
  3004. * po/cs.po: Likewise.
  3005. * doc/man/pam.3.xml: New.
  3006. * doc/man/pam.3. New, generated from XML file.
  3007. * doc/man/pam_sm_acct_mgmt.3.xml: New.
  3008. * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.
  3009. * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
  3010. all manual pages.
  3011. * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.
  3012. 2006-05-02 Thorsten Kukuk <kukuk@thkukuk.de>
  3013. * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
  3014. different strings for plural or not [#1427738]
  3015. * po/*.po: Adjust for pam_unix.so translation fix.
  3016. * modules/pam_tally/pam_tally.c: Always close file handle
  3017. in error case, don't close it depending on *TALLY value [#1478180]
  3018. 2006-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
  3019. * po/fr.po: Updated.
  3020. 2006-04-11 Thorsten Kukuk <kukuk@thkukuk.de>
  3021. * po/km.po: Updated.
  3022. 2006-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
  3023. * po/LINGUAS: Add uk.
  3024. * po/uk.po: New.
  3025. * po/cs.po: Updated.
  3026. * po/po/es.po: Updated.
  3027. * po/fi.po: Updated.
  3028. * po/fr.po: Updated.
  3029. * po/hu.po: Updated.
  3030. * po/it.po: Updated.
  3031. * po/ja.po: Updated.
  3032. * po/nb.po: Updated.
  3033. * po/pl.po: Updated.
  3034. * po/pt.po: Updated.
  3035. * po/pt_BR.po: Updated.
  3036. * po/zh_CN.po: Updated.
  3037. * po/zh_TW.po: Updated.
  3038. 2006-03-21 Thorsten Kukuk <kukuk@thkukuk.de>
  3039. * configure.in: Remove ALL_LINGUAS.
  3040. * po/LINGUAS: New.
  3041. * po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).
  3042. 2006-03-13 Thorsten Kukuk <kukuk@thkukuk.de>
  3043. * doc/man/pam_error.3.xml: New.
  3044. * doc/man/pam_error.3: New, generated from XML file.
  3045. * doc/man/pam_verror.3: New, generated from XML file.
  3046. * doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.
  3047. * modules/pam_lastlog/Makefile.am: Fix typo.
  3048. * modules/pam_lastlog/pam_lastlog.c: Move comment for
  3049. translators in right line.
  3050. * po/*.po: Update po files with comment for translator.
  3051. 2006-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
  3052. * doc/man/Makefile.am: Add new manual pages.
  3053. * doc/man/pam.conf.5.xml: Replace link with content
  3054. of PAM admin guide.
  3055. * doc/man/pam.conf.5: Regenerated from XML file.
  3056. * doc/man/pam_info.3.xml: New.
  3057. * doc/man/pam_info.3: New, generated from XML file.
  3058. * doc/man/pam_vinfo.3: New, generated from XML file.
  3059. * doc/man/pam_conv.3.xml: New.
  3060. * doc/man/pam_conv.3: New, generated from XML file.
  3061. * doc/man/pam_putenv.3.xml: New.
  3062. * doc/man/pam_putenv.3: New, generated from XML file.
  3063. * doc/man/pam_getenv.3.xml: New.
  3064. * doc/man/pam_getenv.3: New, generated from XML file.
  3065. * doc/man/pam_getenvlist.3.xml: New.
  3066. * doc/man/pam_getenvlist.3: New, generated from XML file.
  3067. * libpam/pam_item.c (pam_get_user): Check for valid pamh before
  3068. using it.
  3069. * configure.in: create tests/Makefile
  3070. * Makefile.am (SUBDIRS): Add tests
  3071. * tests/Makefile.am: New.
  3072. * tests/tst-dlopen.c: New.
  3073. * tests/tst-pam_acct_mgmt.c: New.
  3074. * tests/tst-pam_authenticate.c: New.
  3075. * tests/tst-pam_chauthtok.c: New.
  3076. * tests/tst-pam_close_session.c: New.
  3077. * tests/tst-pam_end.c: New.
  3078. * tests/tst-pam_fail_delay.c: New.
  3079. * tests/tst-pam_getenvlist.c: New.
  3080. * tests/tst-pam_get_item.c: New.
  3081. * tests/tst-pam_open_session.c: New.
  3082. * tests/tst-pam_setcred.c: New.
  3083. * tests/tst-pam_set_item.c: New.
  3084. * tests/tst-pam_start.c: New.
  3085. * tests/tst-pam_get_user.c: New.
  3086. * modules/pam_access/Makefile.am: Add rules for make check
  3087. * modules/pam_access/tst-pam_access: New
  3088. * modules/pam_cracklib/Makefile.am: Add rules for make check
  3089. * modules/pam_cracklib/tst-pam_cracklib: New
  3090. * modules/pam_debug/Makefile.am: Add rules for make check
  3091. * modules/pam_debug/tst-pam_debug: New
  3092. * modules/pam_deny/Makefile.am: Add rules for make check
  3093. * modules/pam_deny/tst-pam_deny: New
  3094. * modules/pam_echo/Makefile.am: Add rules for make check
  3095. * modules/pam_echo/tst-pam_echo: New
  3096. * modules/pam_env/Makefile.am: Add rules for make check
  3097. * modules/pam_env/tst-pam_env: New
  3098. * modules/pam_exec/Makefile.am: Add rules for make check
  3099. * modules/pam_exec/tst-pam_exec: New
  3100. * modules/pam_filter/Makefile.am: Add rules for make check
  3101. * modules/pam_filter/tst-pam_filter: New
  3102. * modules/pam_ftp/Makefile.am: Add rules for make check
  3103. * modules/pam_ftp/tst-pam_ftp: New
  3104. * modules/pam_group/Makefile.am: Add rules for make check
  3105. * modules/pam_group/tst-pam_group: New
  3106. * modules/pam_issue/Makefile.am: Add rules for make check
  3107. * modules/pam_issue/tst-pam_issue: New
  3108. * modules/pam_lastlog/Makefile.am: Add rules for make check
  3109. * modules/pam_lastlog/tst-pam_lastlog: New
  3110. * modules/pam_limits/Makefile.am: Add rules for make check
  3111. * modules/pam_limits/tst-pam_limits: New
  3112. * modules/pam_listfile/Makefile.am: Add rules for make check
  3113. * modules/pam_listfile/tst-pam_listfile: New
  3114. * modules/pam_localuser/Makefile.am: Add rules for make check
  3115. * modules/pam_localuser/tst-pam_localuser: New
  3116. * modules/pam_mail/Makefile.am: Add rules for make check
  3117. * modules/pam_mail/tst-pam_mail: New
  3118. * modules/pam_mkhomedir/Makefile.am: Add rules for make check
  3119. * modules/pam_mkhomedir/tst-pam_mkhomedir: New
  3120. * modules/pam_motd/Makefile.am: Add rules for make check
  3121. * modules/pam_motd/tst-pam_motd: New
  3122. * modules/pam_nologin/Makefile.am: Add rules for make check
  3123. * modules/pam_nologin/tst-pam_nologin: New
  3124. * modules/pam_permit/Makefile.am: Add rules for make check
  3125. * modules/pam_permit/tst-pam_permit: New
  3126. * modules/pam_rhosts/Makefile.am: Add rules for make check
  3127. * modules/pam_rhosts/tst-pam_rhosts: New
  3128. * modules/pam_rootok/Makefile.am: Add rules for make check
  3129. * modules/pam_rootok/tst-pam_rootok: New
  3130. * modules/pam_securetty/Makefile.am: Add rules for make check
  3131. * modules/pam_securetty/tst-pam_securetty: New
  3132. * modules/pam_selinux/Makefile.am: Add rules for make check
  3133. * modules/pam_selinux/tst-pam_selinux: New
  3134. * modules/pam_shells/Makefile.am: Add rules for make check
  3135. * modules/pam_shells/tst-pam_shells: New
  3136. * modules/pam_stress/Makefile.am: Add rules for make check
  3137. * modules/pam_stress/tst-pam_stress: New
  3138. * modules/pam_succeed_if/Makefile.am: Add rules for make check
  3139. * modules/pam_succeed_if/tst-pam_succeed_if: New
  3140. * modules/pam_tally/Makefile.am: Add rules for make check
  3141. * modules/pam_tally/tst-pam_tally: New
  3142. * modules/pam_time/Makefile.am: Add rules for make check
  3143. * modules/pam_time/tst-pam_time: New
  3144. * modules/pam_umask/Makefile.am: Add rules for make check
  3145. * modules/pam_umask/tst-pam_umask: New
  3146. * modules/pam_unix/Makefile.am: Add rules for make check
  3147. * modules/pam_unix/tst-pam_unix: New
  3148. * modules/pam_userdb/Makefile.am: Add rules for make check
  3149. * modules/pam_userdb/tst-pam_userdb: New
  3150. * modules/pam_warn/Makefile.am: Add rules for make check
  3151. * modules/pam_warn/tst-pam_warn: New
  3152. * modules/pam_wheel/Makefile.am: Add rules for make check
  3153. * modules/pam_wheel/tst-pam_wheel: New
  3154. * modules/pam_xauth/Makefile.am: Add rules for make check
  3155. * modules/pam_xauth/tst-pam_xauth: New
  3156. 2006-03-11 Thorsten Kukuk <kukuk@thkukuk.de>
  3157. * doc/man/pam_fail_delay.3.xml: New.
  3158. * doc/man/pam_fail_delay.3: New, generated from xml.
  3159. * doc/man/pam_prompt.3.xml: New.
  3160. * doc/man/pam_prompt.3: New, generated from xml.
  3161. * doc/man/pam_syslog.3.xml: New.
  3162. * doc/man/pam_syslog.3: New, generated from xml.
  3163. * doc/man/pam_vprompt.3: New, generated from xml.
  3164. * doc/man/pam_vsyslog.3: New, generated from xml.
  3165. 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
  3166. * po/km.po: Update Khmer translation.
  3167. 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
  3168. * modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
  3169. version from #1425487.
  3170. * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
  3171. * modules/pam_succeed_if/Makefile.am: Include XML rules.
  3172. * modules/pam_succeed_if/README.xml: New.
  3173. * modules/pam_succeed_if/README: Regenerated from xml.
  3174. * modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
  3175. return values.
  3176. 2006-02-22 Thorsten Kukuk <kukuk@thkukuk.de>
  3177. * configure.in: Fix check for incomplete libaudit installations
  3178. (Patch from Ruediger Oertel <ro@suse.de>).
  3179. * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
  3180. correct last_login field [#1427401].
  3181. * modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
  3182. format string for translation to allow reorder [#1428269].
  3183. * po/*.po: Update with last pam_lastlog change.
  3184. 2006-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
  3185. * doc/man/Makefile.am: Add new manual pages.
  3186. * doc/man/pam_end.3: Regenerated from xml file.
  3187. * doc/man/pam_end.3.xml: Document freeing of item data.
  3188. * doc/man/pam_get_user.3: New.
  3189. * doc/man/pam_get_user.3.xml: New.
  3190. * modules/pam_access/access.conf.5.xml: Fix typos.
  3191. * modules/pam_env/Makefile.am: Add new manual pages.
  3192. * modules/pam_env/README: Regenerate from xml file.
  3193. * modules/pam_env/README.xml: New.
  3194. * modules/pam_env/pam_env.8: New.
  3195. * modules/pam_env/pam_env.8.xml: New.
  3196. * modules/pam_env/pam_env.conf.5: New.
  3197. * modules/pam_env/pam_env.conf.5.xml New.
  3198. 2006-02-14 Thorsten Kukuk <kukuk@thkukuk.de>
  3199. * po/fi.po: Updated translations.
  3200. * po/pl.po: Likewise.
  3201. * po/km.po: New translation.
  3202. * configure.in: Add km as new language.
  3203. 2006-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
  3204. * modules/pam_echo/pam_echo.8.xml: New.
  3205. * modules/pam_echo/pam_echo.8: Regenerated from xml file.
  3206. * modules/pam_echo/Makefile.am: Include Make.xml.rules.
  3207. * modules/pam_echo/pam_echo.c: Fix return value.
  3208. * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
  3209. 2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
  3210. * configure.in: Add doc/man/Makefile.
  3211. * Make.xml.rules: Enable xincludes for manual pages.
  3212. * doc/Makefile.am (EXRA_DIST): Remove manual pages.
  3213. (SUBDIR): Add man subdirectory.
  3214. * doc/man/Makefile.am: New.
  3215. * doc/man/pam_acct_mgmt.3: New.
  3216. * doc/man/pam_acct_mgmt.3.xml: New.
  3217. * doc/man/pam_get_data.3: New.
  3218. * doc/man/pam_get_data.3.xml: New.
  3219. * doc/man/pam_set_data.3: New.
  3220. * doc/man/pam_set_data.3.xml: New.
  3221. * doc/man/pam.8.xml: New.
  3222. * doc/man/pam.8: Regenerated from xml file.
  3223. * doc/man/pam_authenticate.3.xml: New.
  3224. * doc/man/pam_authenticate.3: Regenerated from xml file.
  3225. * doc/man/pam_chauthtok.3.xml: New.
  3226. * doc/man/pam_chauthtok.3: Regenerated from xml file.
  3227. * doc/man/pam_close_session.3.xml: New.
  3228. * doc/man/pam_close_session.3: Regenerated from xml file.
  3229. * doc/man/pam_end.3.xml: New.
  3230. * doc/man/pam_end.3: Regenerated from xml file.
  3231. * doc/man/pam_fail_delay.3.xml: New.
  3232. * doc/man/pam_fail_delay.3: Regenerated from xml file.
  3233. * doc/man/pam_get_item.3.xml: New.
  3234. * doc/man/pam_get_item.3: Regenerated from xml file.
  3235. * doc/man/pam_item_types.inc.xml: New.
  3236. * doc/man/pam_open_session.3.xml: New.
  3237. * doc/man/pam_open_session.3: Regenerated from xml file.
  3238. * doc/man/pam_set_item.3.xml: New.
  3239. * doc/man/pam_set_item.3: Regenerated from xml file.
  3240. * doc/man/pam_setcred.3.xml: New.
  3241. * doc/man/pam_setcred.3: Regenerated from xml file.
  3242. * doc/man/pam_start.3.xml: New.
  3243. * doc/man/pam_start.3: Regenerated from xml file.
  3244. * doc/man/pam_strerror.3.xml: New.
  3245. * doc/man/pam_strerror.3: Regenerated from xml file.
  3246. * doc/man/template-man: Removed.
  3247. 2006-02-10 Thorsten Kukuk <kukuk@thkukuk.de>
  3248. * configure.in: Remove pam_pwdb support.
  3249. * modules/Makefile.am: remove pam_pwdb.
  3250. * modules/pam_pwdb: Remove complete directory.
  3251. * libpam/Makefile.am: Remove LIBPWDB references.
  3252. * libpam/pam_static_modules.h: Remove pam_pwdb references.
  3253. * doc/modules/pam_pwdb.sgml: Removed.
  3254. * po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
  3255. * doc/pam_source.sgml: Remove references to libpwdb.
  3256. * doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
  3257. * doc/modules/pam_group.sgml: Likewise.
  3258. * doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
  3259. * doc/modules/pam_userdb.sgml: Likewise.
  3260. * modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
  3261. with pam_unix.
  3262. * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
  3263. * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
  3264. * modules/pam_access/Makefile.am: Fix EXTRA_DIST.
  3265. * modules/pam_cracklib/Makefile.am: Likewise.
  3266. * modules/pam_deny/Makefile.am: Likewise.
  3267. * modules/pam_exec/Makefile.am: Likewise.
  3268. 2006-02-07 Thorsten Kukuk <kukuk@thkukuk.de>
  3269. * configure.in: Check for text browser.
  3270. * Make.xml.rules: Add rule to generate README from README.xml.
  3271. * modules/pam_access/Makefile.am: Include Make.xml.rules.
  3272. * modules/pam_access/README: Regenerated from README.xml.
  3273. * modules/pam_access/README.xml: New.
  3274. * modules/pam_access/access.conf: Extended by new examples.
  3275. * modules/pam_access/access.conf.5: New, generated from xml file.
  3276. * modules/pam_access/access.conf.5.xml: New.
  3277. * modules/pam_access/pam_access.8: New, generated from xml file.
  3278. * modules/pam_access/pam_access.8.xml: New.
  3279. * modules/pam_access/pam_access.c: Add rules for IPv6 and
  3280. netmasks.
  3281. Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
  3282. * modules/pam_deny/Makefile.am: Include Make.xml.rules.
  3283. * modules/pam_deny/pam_deny.8.xml: New.
  3284. * modules/pam_deny/pam_deny.8: New, generated from xml file.
  3285. * modules/pam_deny/README.xml: New.
  3286. * modules/pam_deny/README: Regenerated from xml file.
  3287. * modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
  3288. * modules/pam_cracklib/pam_cracklib.8.xml: New.
  3289. * modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
  3290. * modules/pam_cracklib/README.xml: New.
  3291. * modules/pam_cracklib/README: Regenerated from xml file.
  3292. * modules/pam_exec/Makefile.am: Add rule to generate README.
  3293. * modules/pam_exec/README: Regenerated from xml file.
  3294. * modules/pam_exec/pam_exec.8: Regenerated from xml file.
  3295. * modules/pam_exec/pam_exec.8.xml: Syntax files.
  3296. 2006-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
  3297. * po/nl.po: New.
  3298. * po/pt.po: Update translations.
  3299. * configure.in: Add nl as new language.
  3300. 2006-01-30 Thorsten Kukuk <kukuk@thkukuk.de>
  3301. * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
  3302. * modules/pam_exec/Makefile.am: Include Make.xml.rules.
  3303. * Make.xml.rules: New.
  3304. * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
  3305. 2006-01-27 Thorsten Kukuk <kukuk@thkukuk.de>
  3306. * configure.in: Prefer libdb over libndbm, fix check for
  3307. libcrack and remove not needed BACKUP_LIBS.
  3308. 2006-01-24 Thorsten Kukuk <kukuk@thkukuk.de>
  3309. * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
  3310. * po/de.po: Fix one translation.
  3311. * configure.in: Add modules/pam_exec.
  3312. * modules/Makefile.am: Add pam_exec subdirectory.
  3313. * modules/pam_exec/README: New.
  3314. * modules/pam_exec/Makefile.am: New.
  3315. * modules/pam_exec/pam_exec.8: New.
  3316. * modules/pam_exec/pam_exec.c: New.
  3317. * modules/pam_exec/pam_exec.8.xml: New.
  3318. * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
  3319. * po/*.po: Merge new pam_exec strings.
  3320. * libpam/pam_static_modules.h: New.
  3321. * Makefile.am: Reorder subdirectories for static modules.
  3322. * configure.in: Add --enable-static-modules option.
  3323. * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
  3324. necessary, add pam_static_modules.h, link against all PAM
  3325. module object files if STATIC_MODULES is defined.
  3326. * libpam/pam_static.c: Remove old _static_module* includes,
  3327. include pam_static_modules.h.
  3328. * configure.in: Add checks for xsltproc, xmllint and docbook
  3329. xsl stylesheet.
  3330. * m4/jh_path_xml_catalog.m4: New.
  3331. 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de>
  3332. * modules/pam_succeed_if/pam_succeed_if.c: Add support for
  3333. static modules.
  3334. * modules/pam_xauth/pam_xauth.c: Likewise.
  3335. * libpam/pam_static.c (_pam_open_static_handler): Add pamh
  3336. as argument.
  3337. * libpam/pam_private.h: Adjust prototype.
  3338. * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
  3339. _pam_open_static_handler call.
  3340. * configure.in: Don't define PAM_DYNAMIC.
  3341. * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
  3342. include pam_dynamic.h
  3343. * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
  3344. exclude functions if we compile with PAM_STATIC.
  3345. * libpam/pam_dynamic.h: Remove.
  3346. * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
  3347. * libpam/Makefile.am: Bump version number of libpam, remove
  3348. pam_dynamic.h.
  3349. 2006-01-21 Thorsten Kukuk <kukuk@thkukuk.de>
  3350. * modules/pam_listfile/pam_listfile.c: Add support for session
  3351. and password management.
  3352. 2006-01-19 Thorsten Kukuk <kukuk@thkukuk.de>
  3353. * doc/specs/Makefile.am (spec): Add padout to fix parallel
  3354. build (Reported by Andreas Haumer <andreas@xss.co.at>).
  3355. 2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
  3356. * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
  3357. already defined.
  3358. 2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
  3359. * release version 0.99.3.0
  3360. * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
  3361. error.
  3362. * modules/pam_umask/pam_umask.c (search_key): Don't ignore
  3363. EOF/error return value from fgets().
  3364. * configure.in: Check for getline and getdelim
  3365. * po/fi.po: Add new translations.
  3366. * po/de.po: Likewise.
  3367. * po/es.po: Likewise.
  3368. * po/fr.po: Likewise.
  3369. * po/it.po: Likewise.
  3370. * po/ja.po: Likewise.
  3371. * po/pt_BR.po: Likewise.
  3372. * po/zh_CH.po: Likewise.
  3373. * po/zh_TW.po: Likewise.
  3374. 2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
  3375. * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
  3376. call with %m specifier.
  3377. 2006-01-12 Thorsten Kukuk <kukuk@thkukuk.de>
  3378. * configure.in: Add check for -fpie/-pie
  3379. * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
  3380. upperLOWER with -fpie/-pie if supported.
  3381. * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
  3382. with -fpie/-pie if supported.
  3383. 2006-01-12 Steve Grubb <sgrubb@redhat.com>
  3384. * configure.in: Add check for audit library.
  3385. * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
  3386. (libpam_la_SOURCES): Add pam_audit.c.
  3387. * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
  3388. * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
  3389. * libpam/pam_password.c (pam_chauthtok): Likewise.
  3390. * libpam/pam_session.c (pam_open_session),
  3391. (pam_close_session): Likewise.
  3392. * libpam/pam_private.h: Add audit_state member to pam_handle,
  3393. declare _pam_auditlog and _pam_audit_end.
  3394. * libpam/pam_start.c (pam_start): Initialize audit_state.
  3395. * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
  3396. implementation.
  3397. * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
  3398. * NEWS: Note about added auditing.
  3399. 2006-01-11 Thorsten Kukuk <kukuk@thkukuk.de>
  3400. * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
  3401. * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
  3402. if we compile libpam itself.
  3403. * po/hu.po: Update with new translations.
  3404. 2006-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
  3405. * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
  3406. instead of PAM_AUTHTOK_RECOVER_ERR.
  3407. * modules/pam_pwdb/support.-c: Likewise.
  3408. * modules/pam_unix/support.c: Likewise.
  3409. * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
  3410. * libpam/pam_strerror.c (pam_strerror): Likewise.
  3411. * libpam/include/security/_pam_compat.h: Define
  3412. PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
  3413. * libpam/include/security/_pam_types.h: Rename
  3414. PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
  3415. 2006-01-05 Thorsten Kukuk <kukuk@thkukuk.de>
  3416. * libpam/include/security/_pam_types.h: Remove nonnull attribute
  3417. from third paramter (item) of pam_get_item.
  3418. * libpam/Makefile.am: Bump version number of shared library.
  3419. 2005-12-21 Tomas Mraz <t8m@centrum.cz>
  3420. * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
  3421. (evaluate_notingroup): Simplified.
  3422. (evaluate_innetgr), (evaluate_notinnetgr): New functions.
  3423. (evaluate): Added calls to evaluate_(not)innetgr().
  3424. * modules/pam_succeed_if/README: Documented netgroup matching.
  3425. * NEWS: Mentioned the added netgroup matching support.
  3426. 2005-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
  3427. * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
  3428. strftime instead of ctime.
  3429. * po/de.po: Fix typo.
  3430. 2005-12-19 Thorsten Kukuk <kukuk@thkukuk.de>
  3431. * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
  3432. Reported by Charles_H_Bedford@nbc.gov.
  3433. * modules/pam_time/pam_time.c (check_account): Implement
  3434. support for netgroups.
  3435. * modules/pam_time/time.conf: Document usage of netgroups.
  3436. 2005-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
  3437. * modules/pam_group/pam_group.c (check_account): Implement
  3438. support for netgroups.
  3439. * modules/pam_group/group.conf: Add all documentation to this
  3440. example config file and don't reference to outdated configs.
  3441. * modules/pam_group/README: New.
  3442. * modules/pam_group/Makefile.am: Add README to EXTRADIST.
  3443. 2005-12-15 Thorsten Kukuk <kukuk@suse.de>
  3444. * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
  3445. error if user logins the first time.
  3446. * modules/pam_lastlog/README: New.
  3447. * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
  3448. 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
  3449. * modules/pam_deny/pam_deny.c: Fix comment.
  3450. * doc/pam_appl.sgml: Fix typo.
  3451. Reported by Russell Bateman <russ@windofkeltia.com>
  3452. 2005-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
  3453. * release version 0.99.2.1
  3454. * po/de.po: Remove new fuzzy entry
  3455. * NEWS: Add 0.99.2.1 changes
  3456. * configure.in: bump version number to 0.99.2.1
  3457. 2005-12-12 Dmitry V. Levin <ldv@altlinux.org>
  3458. Cleanup pam_syslog messages.
  3459. * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
  3460. * modules/pam_filter/pam_filter.c (set_filter): Append %m
  3461. specifier to pam_syslog messages where appropriate.
  3462. * modules/pam_group/pam_group.c (read_field): Likewise.
  3463. * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
  3464. (create_homedir): Do not use make_remark() wrapper, call
  3465. pam_info() directly. Call pam_syslog() right after failed
  3466. operation and append %m specifier to pam_syslog messages where
  3467. appropriate.
  3468. * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
  3469. sequence of malloc(), strcpy() and strcat() calls with asprintf().
  3470. Append %m specifier to pam_syslog messages where appropriate.
  3471. * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
  3472. Append %m specifier to pam_syslog messages where appropriate.
  3473. * modules/pam_shells/pam_shells.c (perform_check): Likewise.
  3474. 2005-12-12 Tomas Mraz <t8m@centrum.cz>
  3475. * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
  3476. * po/Linux-PAM.pot: Likewise.
  3477. * po/de.po: Likewise.
  3478. * po/es.po: Likewise.
  3479. * po/fi.po: Likewise.
  3480. * po/fr.po: Likewise.
  3481. * po/hu.po: Likewise.
  3482. * po/it.po: Likewise.
  3483. * po/ja.po: Likewise.
  3484. * po/nb.po: Likewise.
  3485. * po/pa.po: Likewise.
  3486. * po/pl.po: Likewise.
  3487. * po/pt.po: Likewise.
  3488. * po/pt_BR.po: Likewise.
  3489. * po/zh_CN.po: Likewise.
  3490. * po/zh_TW.po: Likewise.
  3491. * po/de.po: Add new translation, fixed typo in string.
  3492. 2005-12-12 Mike Becher <Mike.Becher@lrz-muenchen.de>
  3493. * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
  3494. 2005-12-12 Thorsten Kukuk <kukuk@suse.de>
  3495. * modules/pam_mail/README: Document "quiet" and "standard"
  3496. options.
  3497. 2005-12-07 Thorsten Kukuk <kukuk@suse.de>
  3498. * modules/pam_mail/pam_mail.c: Modify assembling of output
  3499. for easier translation.
  3500. * po/de.po: Translate new pam_mail messages.
  3501. 2005-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
  3502. * po/de.po: Add new translation, fix wrong format specifier.
  3503. * po/cs.po: Fix wrong format specifier.
  3504. * po/es.po: Likewise.
  3505. * po/fi.po: Likewise.
  3506. * po/fr.po: Likewise.
  3507. * po/hu.po: Likewise.
  3508. * po/it.po: Likewise.
  3509. * po/ja.po: Likewise.
  3510. * po/nb.po: Likewise.
  3511. * po/pa.po: Likewise.
  3512. * po/pl.po: Likewise.
  3513. * po/pt.po: Likewise.
  3514. * po/pt_BR.po: Likewise.
  3515. * po/zh_CN.po: Likewise.
  3516. * po/zh_TW.po: Likewise.
  3517. 2005-11-24 Dmitry V. Levin <ldv@altlinux.org>
  3518. * config.h.in: Remove generated file.
  3519. * .cvsignore: Add config.h.in.
  3520. * configure.in: Do not check for strerror.
  3521. * libpam_misc/misc_conv.c (read_string): Replace strerror()
  3522. call with %m specifier.
  3523. * libpamc/pamc_converse.c (pamc_converse): Likewise.
  3524. * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
  3525. * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
  3526. Likewise.
  3527. * modules/pam_selinux/pam_selinux.c (security_label_tty):
  3528. Likewise.
  3529. (security_restorelabel_tty, security_label_tty): Append %m
  3530. specifier where appropriate.
  3531. * modules/pam_selinux/pam_selinux_check.c (main): Replace
  3532. strerror() call with %m specifier.
  3533. * modules/pam_unix/pam_unix_passwd.c (save_old_password,
  3534. _update_passwd, _update_shadow): Likewise.
  3535. * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
  3536. * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
  3537. * po/Linux-PAM.pot: Update strings from pam_selinux.
  3538. * po/cs.po: Likewise.
  3539. * po/de.po: Likewise.
  3540. * po/es.po: Likewise.
  3541. * po/fi.po: Likewise.
  3542. * po/fr.po: Likewise.
  3543. * po/hu.po: Likewise.
  3544. * po/it.po: Likewise.
  3545. * po/ja.po: Likewise.
  3546. * po/nb.po: Likewise.
  3547. * po/pa.po: Likewise.
  3548. * po/pl.po: Likewise.
  3549. * po/pt.po: Likewise.
  3550. * po/pt_BR.po: Likewise.
  3551. * po/zh_CN.po: Likewise.
  3552. * po/zh_TW.po: Likewise.
  3553. 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
  3554. * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
  3555. new variable to fix compiler warning.
  3556. * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
  3557. don't need to start with /dev/.
  3558. 2005-11-21 Thorsten Kukuk <kukuk@thkukuk.de>
  3559. * release version 0.99.2.0
  3560. * libpam_misc/Makefile.am: Increase release number (for change
  3561. from 2005-11-09)
  3562. * NEWS: Adjust for 0.99.2.0
  3563. 2005-11-17 Thorsten Kukuk <kukuk@thkukuk.de>
  3564. * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
  3565. Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
  3566. 2005-11-16 Thorsten Kukuk <kukuk@thkukuk.de>
  3567. * libpam/pam_handlers.c: Replace code for all dlopen variants with
  3568. a generic wrapper.
  3569. * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
  3570. * libpam/pam_dynamic.h: Provide prototypes.
  3571. For Mac OS X support [#534205]
  3572. 2005-11-09 Tomas Mraz <t8m@centrum.cz>
  3573. * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
  3574. full path tty name.
  3575. * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
  3576. full path tty name. Allow unset tty.
  3577. (logic_member): Allow matching ':' in tty name.
  3578. * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
  3579. full path tty name. Allow unset tty.
  3580. (logic_member): Allow matching ':' in tty name.
  3581. * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
  3582. is not terminal.
  3583. 2005-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
  3584. * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
  3585. correct variable names.
  3586. 2005-11-06 Steve Langasek <vorlon@debian.org>
  3587. * modules/pam_env/pam_env.c: don't treat a missing
  3588. /etc/environment as a fatal error when attempting to read it,
  3589. and try to read this file by default; this restores the behavior
  3590. from Linux-PAM 0.76.
  3591. 2005-11-02 Tomas Mraz <t8m@centrum.cz>
  3592. * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
  3593. by ohyajapn.
  3594. * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
  3595. logic when comparing dates to handle corner cases better [#1245888].
  3596. 2005-10-31 Thorsten Kukuk <kukuk@suse.de>
  3597. * modules/pam_filter/pam_filter.c: Use XCASE only if defined
  3598. [#624214]
  3599. 2005-10-27 Thorsten Kukuk <kukuk@suse.de>
  3600. * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
  3601. 2005-10-26 Tomas Mraz <t8m@centrum.cz>
  3602. * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
  3603. modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
  3604. modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
  3605. uid to 0 before executing the helper if SELinux is enabled.
  3606. * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
  3607. if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
  3608. 2005-10-20 Tomas Mraz <t8m@centrum.cz>
  3609. * configure.in: Added check for xauth binary and --with-xauth option.
  3610. * config.h.in: Added configurable PAM_PATH_XAUTH.
  3611. * modules/pam_xauth/README,
  3612. modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
  3613. * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
  3614. searching xauth binary on multiple places.
  3615. (run_coprocess): Don't use execvp as it can be a security risk.
  3616. 2005-10-04 Steve Langasek <vorlon@debian.org>
  3617. * libpam/include/security/pam_malloc.h,
  3618. libpam/include/security/pam_modules.h: Declare public header
  3619. files extern "C" so that they are C++-safe.
  3620. 2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
  3621. Steve Langasek <vorlon@debian.org>
  3622. Cleanup gratuitous use of strdup().
  3623. Fix "missing argument" checks.
  3624. * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
  3625. to conffile and envfile arguments. Do not use x_strdup() for
  3626. conffile and envfile initialization. Fix "missing argument"
  3627. checks.
  3628. (_parse_config_file): Take conffile argument of type "const char *"
  3629. instead of "char **". Do not free conffile.
  3630. (_parse_env_file): Take env_file argument of type "const char *"
  3631. instead of "char **". Do not free env_file.
  3632. (pam_sm_setcred): Add const qualifier to conf_file and env_file.
  3633. Pass conf_file and env_file to _parse_config_file() and
  3634. _parse_env_file() by value.
  3635. (pam_sm_open_session): Likewise.
  3636. * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
  3637. users argument. Do not use x_strdup() for users initialization.
  3638. (lookup): Add const qualifier to list argument.
  3639. (pam_sm_authenticate): Add const qualifier to users argument.
  3640. * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
  3641. to maildir argument. Do not use x_strdup() for maildir
  3642. initialization. Fix "missing argument" check.
  3643. (get_folder): Take path_mail argument of type "const char *"
  3644. instead of "char **". Do not free path_mail.
  3645. (_do_mail): Add const qualifier to path_mail argument.
  3646. Pass path_mail to get_folder() by value.
  3647. * modules/pam_motd/pam_motd.c: Include <syslog.h>.
  3648. (pam_sm_open_session): Add const qualifier to motd_path.
  3649. Do not use x_strdup() for motd_path initialization. Do not
  3650. free motd_path. Fix "missing argument" check. Add "unknown
  3651. option" warning.
  3652. * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
  3653. qualifier to database and cryptmode arguments. Fix "missing
  3654. argument" checks.
  3655. (pam_sm_authenticate): Add const qualifier to database and cryptmode.
  3656. (pam_sm_acct_mgmt): Likewise.
  3657. 2005-10-01 Steve Langasek <vorlon@debian.org>
  3658. * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
  3659. 2005-09-30 Steve Langasek <vorlon@debian.org>
  3660. * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
  3661. gratuitous use of strdup().
  3662. 2005-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
  3663. * release 0.99.1.0
  3664. * doc/specs/Makefile.am (install-data-local): Install
  3665. rfc and draft.
  3666. (all): Copy rfc if we build outside of source directory.
  3667. 2005-09-27 Thorsten Kukuk <kukuk@suse.de>
  3668. * NEWS: Document removal of pam_radius.
  3669. * autogen.sh: Make configure script executeable.
  3670. * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
  3671. (lex.yy.c): Fixed out of tree build.
  3672. * conv/pam_conv1/pam_conv.y: Fix main prototype.
  3673. * README: Adjust.
  3674. * po/POTFILES.in: Remove files not distributed by tar archive
  3675. and not containing strings for translation.
  3676. 2005-09-26 Tomas Mraz <t8m@centrum.cz>
  3677. * NEWS: Add a few missing entries from CHANGELOG.
  3678. * AUTHORS: Fixed entries for Toady and me.
  3679. * Makefile.am (M4_FILES): Fixed out of tree build.
  3680. * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
  3681. (spec, lex.yy.c): Fixed out of tree build.
  3682. * modules/pam_userdb/README: Document try_first_pass and
  3683. use_first_pass options, remove use_authtok option.
  3684. 2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
  3685. * NEWS: Mention changes in pam_lastlog.
  3686. 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
  3687. * NEWS: New file.
  3688. * autogen.sh: Don't generate NEWS file.
  3689. * CHANGELOG: Document it as obsolete.
  3690. 2005-09-26 Tomas Mraz <t8m@centrum.cz>
  3691. * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
  3692. _log_err() -> pam_syslog()
  3693. (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
  3694. * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
  3695. _log_err() -> pam_syslog()
  3696. * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
  3697. (getNISserver, _unix_run_shadow_binary, _update_passwd,
  3698. _update_shadow, _do_setpass, _pam_unix_approve_pass,
  3699. pam_sm_chauthtok): _log_err() -> pam_syslog()
  3700. * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
  3701. (pam_sm_open_session, pam_sm_close_session):
  3702. _log_err() -> pam_syslog()
  3703. * modules/pam_unix/support.c (_log_err, converse): removed
  3704. (_make_remark): use pam_prompt() instead of converse()
  3705. (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
  3706. _unix_verify_password, _unix_read_password):
  3707. _log_err() -> pam_syslog()
  3708. _cleanup(), _unix_cleanup(): Silence unused param warnings.
  3709. (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
  3710. _unix_run_helper_binary): Silence incorrect type warnings.
  3711. (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
  3712. instead of converse().
  3713. * modules/pam_unix/support.h (_log_err): removed
  3714. * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
  3715. 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
  3716. * configure.in: Add doc/specs/Makefile.
  3717. * Makefile.am: Add releasedocs rule.
  3718. * doc/Makefile.am: Add specs subdir, remove files from specs
  3719. directory, add rfc86.0.txt to releasedocs.
  3720. * doc/specs/Makefile.am: New file.
  3721. * doc/specs/formatter/parse.y: move from here ...
  3722. * doc/specs/parse.y: ... here.
  3723. * doc/specs/formatter/parse.lex: move from here ...
  3724. * doc/specs/parse.lex: ... here.
  3725. * modules/pam_mail/pam_mail.c: Mark missing strings for translation
  3726. * po/Linux-PAM.pot: Add new strings from pam_mail
  3727. * po/cs.po: Likewise.
  3728. * po/de.po: Likewise.
  3729. * po/es.po: Likewise.
  3730. * po/fi.po: Likewise.
  3731. * po/fr.po: Likewise.
  3732. * po/hu.po: Likewise.
  3733. * po/it.po: Likewise.
  3734. * po/ja.po: Likewise.
  3735. * po/nb.po: Likewise.
  3736. * po/pa.po: Likewise.
  3737. * po/pl.po: Likewise.
  3738. * po/pt.po: Likewise.
  3739. * po/pt_BR.po: Likewise.
  3740. * po/zh_CN.po: Likewise.
  3741. * po/zh_TW.po: Likewise.
  3742. 2005-09-23 Tomas Mraz <t8m@centrum.cz>
  3743. * modules/pam_access/pam_access.c (from_match): Support NULL from.
  3744. (string_match): Support NULL string, add NONE keyword matching it.
  3745. (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
  3746. * modules/pam_access/access.conf: NONE keyword description
  3747. * modules/pam_access/README: NONE keyword description
  3748. 2005-09-22 Dmitry V. Levin <ldv@altlinux.org>
  3749. * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
  3750. pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
  3751. text of log messages.
  3752. (pam_sm_open_session): Replace sequence of malloc(), strcpy()
  3753. and strcat() calls with asprintf(). Replace syslog() calls
  3754. with pam_syslog().
  3755. * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
  3756. instead of memcmp() for string comparison.
  3757. 2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
  3758. * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
  3759. (parse_args): Add pam_handle_t* argument. Log unrecognized
  3760. options.
  3761. (perform_check): Log pam_get_user() and malloc() failures.
  3762. (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
  3763. Pass pam_handle_t* to parse_args().
  3764. * modules/pam_mail/pam_mail.c: Include <errno.h>.
  3765. Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
  3766. NO_MAIL_STANDARD_FORMAT macros.
  3767. (parse_args, get_folder): Cleanup error messages.
  3768. (get_folder): Fix leak of the path_mail variable in case of
  3769. pam_get_user() failure. Cleanup memory management.
  3770. (get_mail_status): Add pam_handle_t* argument. Fix leaks of
  3771. namelist variable. Cleanup memory management. Log memory
  3772. allocation failures. Remove 250-byte limit on Maildir pathname.
  3773. (report_mail): Mark text messages for translation.
  3774. (_do_mail): Cleanup memory management. Pass pam_handle_t*
  3775. to get_mail_status().
  3776. * po/Linux-PAM.pot: Update with new strings from pam_mail for
  3777. translation.
  3778. * po/cs.po: Likewise.
  3779. * po/de.po: Likewise.
  3780. * po/es.po: Likewise.
  3781. * po/fi.po: Likewise.
  3782. * po/fr.po: Likewise.
  3783. * po/hu.po: Likewise.
  3784. * po/it.po: Likewise.
  3785. * po/ja.po: Likewise.
  3786. * po/nb.po: Likewise.
  3787. * po/pa.po: Likewise.
  3788. * po/pl.po: Likewise.
  3789. * po/pt.po: Likewise.
  3790. * po/pt_BR.po: Likewise.
  3791. * po/zh_CN.po: Likewise.
  3792. * po/zh_TW.po: Likewise.
  3793. 2005-09-20 Thorsten Kukuk <kukuk@suse.de>
  3794. * configure.in: Add finish translation.
  3795. * po/fi.po: New.
  3796. * acinclude.m4: remove libprelude macros.
  3797. * m4/libprelude.m4: New.
  3798. * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
  3799. * libpamc/Makefile.am (EXTRA_DIST): Add License.
  3800. See CHANGELOG for earlier changes.