~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to misc-utils/mcookie.1

  • Committer: Package Import Robot
  • Author(s): LaMont Jones, Roger Leigh, LaMont Jones, 김종규, Niels Thykier
  • Date: 2011-11-03 15:38:23 UTC
  • mfrom: (1.7.2)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-n2nt15ce74gyvnaa
Tags: 2.20.1-1
* New upstream

[Roger Leigh]

* Various merge fixes [with edits - lamont]
  - drop old unused patches
  - cleanup debian/rules
  - updated symbols files for lib{blkid,mount,uuid}1

[LaMont Jones]

* merge in 2.19.1-{3..5}
* deliver /etc/fstab.d

[김종규]

* add korean debconf pofile.  Closes: #632421, #632425

[Niels Thykier]

* Add build-arch and build-indep targets.  Closes: #648467

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" mcookie.1 --
2
2
.\" Public Domain 1995 Rickard E. Faith (faith@cs.unc.edu)
3
 
.TH MCOOKIE 1 "25 September 1995" "" "Linux Programmer's Manual"
 
3
.TH MCOOKIE 1 "June 2011" "util-linux" "User Commands"
4
4
.SH NAME
5
5
mcookie \- generate magic cookies for xauth
6
6
.SH SYNOPSIS
7
7
.B mcookie
8
 
.RB [ \-v ]
9
 
.RB [ \-f
10
 
.IR filename ]
 
8
[\fIoptions\fR]
11
9
.SH DESCRIPTION
12
10
.B mcookie
13
11
generates a 128-bit random hexadecimal number for use with the X authority
18
16
.PP
19
17
The "random" number generated is actually the output of the MD5 message
20
18
digest fed with various pieces of random information: the current time, the
21
 
process id, the parent process id, the contents of an input file (if
22
 
.B \-f
23
 
is specified), and several bytes of information from the first of the
24
 
following devices which is present:
 
19
process id, the parent process id, and optionally the contents of an input
 
20
file. and several bytes of information from the first of the following
 
21
devices which is present:
25
22
.IR /dev/random ,
26
23
.IR /dev/urandom ,
27
24
files in
28
25
.IR /proc ,
29
26
.IR /dev/audio .
 
27
.SH OPTIONS
 
28
.TP
 
29
\fB\-f\fR, \fB\-\-file\fR=\fIFILE\fR
 
30
Use file as a macig cookie seed. When file is defined as `-' character
 
31
input is read from stdin.
 
32
.TP
 
33
\fB\-v\fR, \fB\-\-verbose\fR
 
34
Explain what is being done.
 
35
.TP
 
36
\fB\-V\fR, \fB\-\-version\fR
 
37
Output version information and exit.
 
38
.TP
 
39
\fB\-h\fR, \fB\-\-help\fR
 
40
Display this help and exit.
30
41
.SH BUGS
31
42
The entropy in the generated 128-bit is probably quite small (and,
32
43
therefore, vulnerable to attack) unless a non-pseudorandom number generator