Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!maverick.ksu.ksu.edu!unlinfo.unl.edu!news From: james@engrss2.unl.edu (James Nau) Newsgroups: comp.unix.aix Subject: fortune data file and fortune command Summary: what's it changing? Keywords: suid bin fortune command Message-ID: <1991May22.215452.7261@unlinfo.unl.edu> Date: 22 May 91 21:54:52 GMT Sender: james@engrs.unl.edu Distribution: na Organization: College of Engineering, University of Nebraska--Lincoln Lines: 14 Nntp-Posting-Host: engrss2.unl.edu Does anyone know what (and why?) fortune changes in the /usr/games/lib/fortune/fortune.dat file? It changes only the first "line" (I think it's in the first 128 bytes). Is it writing a counter so that I don't see the same fortune twice? Thanks! James Nau james@engrs.unl.edu College of Engineering University of Nebraska--Lincoln W181 Nebraska Hall Lincoln, NE 68588-0501