Annotated edit history of
mcookie(1) version 4, including all changes.
View license author blame.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
MCOOKIE |
| |
|
2 |
!!!MCOOKIE |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
BUGS |
| |
|
7 |
FILES |
| |
|
8 |
SEE ALSO |
| |
|
9 |
---- |
| |
|
10 |
!!NAME |
| |
|
11 |
|
| |
|
12 |
|
| |
|
13 |
mcookie - generate magic cookies for xauth |
| |
|
14 |
!!SYNOPSIS |
| |
|
15 |
|
| |
|
16 |
|
| |
|
17 |
__mcookie [[-v] [[-f__ ''filename'' |
| |
|
18 |
__]__ |
| |
|
19 |
!!DESCRIPTION |
| |
|
20 |
|
| |
|
21 |
|
| |
|
22 |
__mcookie__ generates a 128-bit random hexadecimal number |
| |
|
23 |
for use with the X authority system. Typical |
| |
|
24 |
usage: |
| |
|
25 |
|
| |
|
26 |
|
| |
|
27 |
xauth add :0 . `mcookie` |
| |
|
28 |
|
| |
|
29 |
|
| |
|
30 |
The |
| |
|
31 |
-f__ is specified), and several bytes of information |
| |
|
32 |
from the first of the following devices which is present: |
| |
|
33 |
''/dev/random'', ''/dev/urandom'', files in |
| |
|
34 |
''/proc'', ''/dev/audio''. |
| |
|
35 |
!!BUGS |
| |
|
36 |
|
| |
|
37 |
|
| |
|
38 |
The entropy in the generated 128-bit is probably quite small |
| |
|
39 |
(and, therefore, vulnerable to attack) unless a |
| |
|
40 |
non-pseudorandom number generator is used (e.g., |
| |
|
41 |
''/dev/random'' under Linux). |
| |
|
42 |
|
| |
|
43 |
|
| |
|
44 |
It is assumed that none of the devices opened will |
| |
|
45 |
block. |
| |
|
46 |
!!FILES |
| |
|
47 |
|
| |
|
48 |
|
| |
|
49 |
''/dev/random |
| |
|
50 |
/dev/urandom |
| |
|
51 |
/dev/audio |
| |
|
52 |
/proc/stat |
| |
|
53 |
/proc/loadavg'' |
| |
|
54 |
!!SEE ALSO |
| |
|
55 |
|
| |
|
56 |
|
| 4 |
perry |
57 |
X(1), xauth(1), __md5sum__(1) |
| 1 |
perry |
58 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.