From 655776a2c18cac7071e3828e7733403817fc861b Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 19 Mar 2018 14:03:33 +0100 Subject: mcookie: (man) add note about getrandom() Signed-off-by: Karel Zak --- misc-utils/mcookie.1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'misc-utils/mcookie.1') diff --git a/misc-utils/mcookie.1 b/misc-utils/mcookie.1 index 4a6959d48..254157902 100644 --- a/misc-utils/mcookie.1 +++ b/misc-utils/mcookie.1 @@ -17,15 +17,17 @@ system. Typical usage: .PP The "random" number generated is actually the MD5 message digest of random information coming from one of the sources +.IR "getrandom() " +system call, .IR /dev/urandom , .IR /dev/random , or the .IR "libc pseudo-random functions" , -in this preference order. +in this preference order. See also the option \fB\-\-file\fR. .SH OPTIONS .TP .BR \-f , " \-\-file " \fIfile -Use this \fIfile\fR as an additional source of randomness. +Use this \fIfile\fR as an additional source of randomness (for example /dev/urandom). When \fIfile\fR is '-', characters are read from standard input. .TP .BR \-m , " \-\-max\-size " \fInumber -- cgit v1.2.3-55-g7522