from small one page howto to huge articles all in one place
 

search text in:





Poll
Which kernel version do you use?





poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

195649

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

252055

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

140919

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





MCOOKIE

Section: User Commands (1)
Updated: December 2014
Index Return to Main Contents
 

NAME

mcookie - generate magic cookies for xauth  

SYNOPSIS

mcookie [options]  

DESCRIPTION

mcookie generates a 128-bit random hexadecimal number for use with the X authority system. Typical usage:

xauth add :0 . `mcookie`

The "random" number generated is actually the MD5 message digest of random information coming from one of the sources /dev/urandom, /dev/random, or the libc pseudo-random functions, in this preference order.  

OPTIONS

-f, --file file
Use this file as an additional source of randomness. When file is '-', characters are read from standard input.
-m, --max-size number
Read from file only this number of bytes. This option is meant to be used when reading additional randomness from a file or device.
The number argument may be followed by the multiplicative suffixes KiB=1024, MiB=1024*1024, and so on for GiB, TiB, PiB, EiB, ZiB and YiB (the "iB" is optional, e.g., "K" has the same meaning as "KiB") or the suffixes KB=1000, MB=1000*1000, and so on for GB, TB, PB, EB, ZB and YB.
-v, --verbose
Inform where randomness originated, with amount of entropy read from each source.
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
 

BUGS

It is assumed that none of the randomness sources will block.  

FILES

/dev/urandom
/dev/random  

SEE ALSO

md5sum(1), X(1), xauth(1), rand(3)  

AVAILABILITY

The mcookie command is part of the util-linux package and is available from Linux Kernel Archive


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
BUGS
FILES
SEE ALSO
AVAILABILITY





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 15.0 ms