\label{Guts_User_Dir} Every user in the system has one library server, which is their home server. It stores the authoritative copy of all of their records. Internally, this data is stored in a directory \texttt{/home/httpd/lonUsers/}\texttt{\emph{domain}}\texttt{/}\texttt{\emph{firstChar}}\texttt{/}\texttt{\emph{secondChar}}\texttt{/}\texttt{\emph{thirdChar}}\texttt{/}\texttt{\emph{login}} for example, for {}``smith'' at {}``msu'': \texttt{/home/httpd/lonUsers/msu/s/m/i/smith/} % \begin{figure} \begin{lyxcode} \#>~ls~-alF~/home/httpd/lonUsers/msu/k/o/r/kortemey -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~13006~May~15~12:21~activity.log -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~12413~Oct~26~~2000~coursedescriptions.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~11361~Oct~26~~2000~coursedescriptions.hist -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~13576~Apr~19~17:45~critical.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~~1302~Apr~19~17:45~critical.hist -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~13512~Apr~19~17:45~email\_status.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~~1496~Apr~19~17:45~email\_status.hist -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~12373~Apr~19~17:45~environment.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~~~169~Apr~19~17:45~environment.hist -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~12315~Oct~25~~2000~junk.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~~1590~Nov~~4~~1999~junk.hist -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~23626~Apr~19~17:45~msu\_12679c3ed543a25msul1.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~~3363~Apr~19~17:45~msu\_12679c3ed543a25msul1.hist -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~17242~Nov~13~~2000~msu\_1827338c7d339a3msul1.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~~1986~Nov~13~~2000~msu\_1827338c7d339a3msul1.hist -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~18497~Dec~21~11:25~msu\_1827338c7d339b4msul1.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~~3801~Dec~21~11:25~msu\_1827338c7d339b4msul1.hist -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~12470~Apr~19~17:45~nohist\_annotations.db -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~13395~Nov~15~~2000~nohist\_bookmarks.db -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~104264~Apr~19~17:45 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~nohist\_calculatedsheets\_msu\_12679c3ed543a25msul1.db -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~13248~Apr~~5~17:18 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~nohist\_calculatedsheets\_msu\_1827338c7d339b4msul1.db -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~~12568~Oct~28~~2000~nohist\_coursedescriptions.db -rw-r-{}-{}-{}-{}-~~~1~www~~~~~~users~~~~~~765954~Apr~19~17:45~nohist\_email.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~710631~Apr~19~17:45~nohist\_email.hist -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~~~~13~Apr~19~17:45~passwd -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~12802~May~~3~13:08~roles.db -rw-r-{}-r-{}-~~~1~www~~~~~~users~~~~~~~~1316~Apr~12~16:05~roles.hist \end{lyxcode} \caption{Sample user directory listing} \end{figure} Files ending in \texttt{.db} are GDBM files, files ending in \texttt{.hist} are logs of entries to these files. Filenames starting with \texttt{nohist} do not keep history files. \texttt{passwd} stores the login mechanism and password (if applicable). \texttt{environment} stores name-value pairs that are automatically added to the session environment at login time, for example the full name, etc. \texttt{roles} stores the user's roles. \texttt{critical}, \texttt{nohist\_email}, and \texttt{email\_status} are used by the messaging mechanisms Files with a course-ID as name, for example \texttt{msu\_12679c3ed543a25msul1.db}, store performance data for that student in the course, as stored by \texttt{store} and \texttt{restore} in \texttt{lonnet}. Other files are caches, for example for previously calculated spreadsheets, etc.