home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: libpwd.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [R*ch] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 42 75 69 6c 74 2d 69 |\section|{Built-i|
|00000010| 6e 20 4d 6f 64 75 6c 65 | 20 5c 73 65 63 74 63 6f |n Module| \sectco|
|00000020| 64 65 7b 70 77 64 7d 7d | 0d 0d 5c 62 69 6d 6f 64 |de{pwd}}|..\bimod|
|00000030| 69 6e 64 65 78 7b 70 77 | 64 7d 0d 54 68 69 73 20 |index{pw|d}.This |
|00000040| 6d 6f 64 75 6c 65 20 70 | 72 6f 76 69 64 65 73 20 |module p|rovides |
|00000050| 61 63 63 65 73 73 20 74 | 6f 20 74 68 65 20 5c 55 |access t|o the \U|
|00000060| 4e 49 58 7b 7d 20 70 61 | 73 73 77 6f 72 64 20 64 |NIX{} pa|ssword d|
|00000070| 61 74 61 62 61 73 65 2e | 0d 49 74 20 69 73 20 61 |atabase.|.It is a|
|00000080| 76 61 69 6c 61 62 6c 65 | 20 6f 6e 20 61 6c 6c 20 |vailable| on all |
|00000090| 5c 55 4e 49 58 7b 7d 20 | 76 65 72 73 69 6f 6e 73 |\UNIX{} |versions|
|000000a0| 2e 0d 0d 50 61 73 73 77 | 6f 72 64 20 64 61 74 61 |...Passw|ord data|
|000000b0| 62 61 73 65 20 65 6e 74 | 72 69 65 73 20 61 72 65 |base ent|ries are|
|000000c0| 20 72 65 70 6f 72 74 65 | 64 20 61 73 20 37 2d 74 | reporte|d as 7-t|
|000000d0| 75 70 6c 65 73 20 63 6f | 6e 74 61 69 6e 69 6e 67 |uples co|ntaining|
|000000e0| 20 74 68 65 0d 66 6f 6c | 6c 6f 77 69 6e 67 20 69 | the.fol|lowing i|
|000000f0| 74 65 6d 73 20 66 72 6f | 6d 20 74 68 65 20 70 61 |tems fro|m the pa|
|00000100| 73 73 77 6f 72 64 20 64 | 61 74 61 62 61 73 65 20 |ssword d|atabase |
|00000110| 28 73 65 65 20 5c 66 69 | 6c 65 7b 3c 70 77 64 2e |(see \fi|le{<pwd.|
|00000120| 68 3e 7d 29 2c 20 69 6e | 20 6f 72 64 65 72 3a 0d |h>}), in| order:.|
|00000130| 5c 63 6f 64 65 7b 70 77 | 5f 6e 61 6d 65 7d 2c 0d |\code{pw|_name},.|
|00000140| 5c 63 6f 64 65 7b 70 77 | 5f 70 61 73 73 77 64 7d |\code{pw|_passwd}|
|00000150| 2c 0d 5c 63 6f 64 65 7b | 70 77 5f 75 69 64 7d 2c |,.\code{|pw_uid},|
|00000160| 0d 5c 63 6f 64 65 7b 70 | 77 5f 67 69 64 7d 2c 0d |.\code{p|w_gid},.|
|00000170| 5c 63 6f 64 65 7b 70 77 | 5f 67 65 63 6f 73 7d 2c |\code{pw|_gecos},|
|00000180| 0d 5c 63 6f 64 65 7b 70 | 77 5f 64 69 72 7d 2c 0d |.\code{p|w_dir},.|
|00000190| 5c 63 6f 64 65 7b 70 77 | 5f 73 68 65 6c 6c 7d 2e |\code{pw|_shell}.|
|000001a0| 0d 54 68 65 20 75 69 64 | 20 61 6e 64 20 67 69 64 |.The uid| and gid|
|000001b0| 20 69 74 65 6d 73 20 61 | 72 65 20 69 6e 74 65 67 | items a|re integ|
|000001c0| 65 72 73 2c 20 61 6c 6c | 20 6f 74 68 65 72 73 20 |ers, all| others |
|000001d0| 61 72 65 20 73 74 72 69 | 6e 67 73 2e 0d 41 6e 20 |are stri|ngs..An |
|000001e0| 65 78 63 65 70 74 69 6f | 6e 20 69 73 20 72 61 69 |exceptio|n is rai|
|000001f0| 73 65 64 20 69 66 20 74 | 68 65 20 65 6e 74 72 79 |sed if t|he entry|
|00000200| 20 61 73 6b 65 64 20 66 | 6f 72 20 63 61 6e 6e 6f | asked f|or canno|
|00000210| 74 20 62 65 20 66 6f 75 | 6e 64 2e 0d 0d 49 74 20 |t be fou|nd...It |
|00000220| 64 65 66 69 6e 65 73 20 | 74 68 65 20 66 6f 6c 6c |defines |the foll|
|00000230| 6f 77 69 6e 67 20 69 74 | 65 6d 73 3a 0d 0d 5c 72 |owing it|ems:..\r|
|00000240| 65 6e 65 77 63 6f 6d 6d | 61 6e 64 7b 5c 69 6e 64 |enewcomm|and{\ind|
|00000250| 65 78 73 75 62 69 74 65 | 6d 7d 7b 28 69 6e 20 6d |exsubite|m}{(in m|
|00000260| 6f 64 75 6c 65 20 70 77 | 64 29 7d 0d 5c 62 65 67 |odule pw|d)}.\beg|
|00000270| 69 6e 7b 66 75 6e 63 64 | 65 73 63 7d 7b 67 65 74 |in{funcd|esc}{get|
|00000280| 70 77 75 69 64 7d 7b 75 | 69 64 7d 0d 52 65 74 75 |pwuid}{u|id}.Retu|
|00000290| 72 6e 20 74 68 65 20 70 | 61 73 73 77 6f 72 64 20 |rn the p|assword |
|000002a0| 64 61 74 61 62 61 73 65 | 20 65 6e 74 72 79 20 66 |database| entry f|
|000002b0| 6f 72 20 74 68 65 20 67 | 69 76 65 6e 20 6e 75 6d |or the g|iven num|
|000002c0| 65 72 69 63 20 75 73 65 | 72 20 49 44 2e 0d 5c 65 |eric use|r ID..\e|
|000002d0| 6e 64 7b 66 75 6e 63 64 | 65 73 63 7d 0d 0d 5c 62 |nd{funcd|esc}..\b|
|000002e0| 65 67 69 6e 7b 66 75 6e | 63 64 65 73 63 7d 7b 67 |egin{fun|cdesc}{g|
|000002f0| 65 74 70 77 6e 61 6d 7d | 7b 6e 61 6d 65 7d 0d 52 |etpwnam}|{name}.R|
|00000300| 65 74 75 72 6e 20 74 68 | 65 20 70 61 73 73 77 6f |eturn th|e passwo|
|00000310| 72 64 20 64 61 74 61 62 | 61 73 65 20 65 6e 74 72 |rd datab|ase entr|
|00000320| 79 20 66 6f 72 20 74 68 | 65 20 67 69 76 65 6e 20 |y for th|e given |
|00000330| 75 73 65 72 20 6e 61 6d | 65 2e 0d 5c 65 6e 64 7b |user nam|e..\end{|
|00000340| 66 75 6e 63 64 65 73 63 | 7d 0d 0d 5c 62 65 67 69 |funcdesc|}..\begi|
|00000350| 6e 7b 66 75 6e 63 64 65 | 73 63 7d 7b 67 65 74 70 |n{funcde|sc}{getp|
|00000360| 77 61 6c 6c 7d 7b 7d 0d | 52 65 74 75 72 6e 20 61 |wall}{}.|Return a|
|00000370| 20 6c 69 73 74 20 6f 66 | 20 61 6c 6c 20 61 76 61 | list of| all ava|
|00000380| 69 6c 61 62 6c 65 20 70 | 61 73 73 77 6f 72 64 20 |ilable p|assword |
|00000390| 64 61 74 61 62 61 73 65 | 20 65 6e 74 72 69 65 73 |database| entries|
|000003a0| 2c 20 69 6e 20 61 72 62 | 69 74 72 61 72 79 20 6f |, in arb|itrary o|
|000003b0| 72 64 65 72 2e 0d 5c 65 | 6e 64 7b 66 75 6e 63 64 |rder..\e|nd{funcd|
|000003c0| 65 73 63 7d 0d | |esc}. | |
+--------+-------------------------+-------------------------+--------+--------+