⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mcookie.1

📁 Util-linux 软件包包含许多工具。其中比较重要的是加载、卸载、格式化、分区和管理硬盘驱动器
💻 1
字号:
.\" mcookie.1 -- .\" Public Domain 1995 Rickard E. Faith (faith@cs.unc.edu).TH MCOOKIE 1 "25 September 1995" "" "Linux Programmer's Manual".SH NAMEmcookie \- generate magic cookies for xauth.SH SYNOPSIS.BI "mcookie [\-v] [\-f " filename " ]".SH DESCRIPTION.B mcookiegenerates a 128-bit random hexadecimal number for use with the X authoritysystem.  Typical usage:.RSxauth add :0 . `mcookie`.RE.PPThe "random" number generated is actually the output of the MD5 messagedigest fed with various piece of random information: the current time, theprocess id, the parent process id, the contents of an input file (if.B \-fis specified), and several bytes of information from the first of thefollowing devices which is present:.IR /dev/random ,.IR /dev/urandom ,files in.IR /proc ,.IR /dev/audio ..SH BUGSThe entropy in the generated 128-bit is probably quite small (and,therefore, vulnerable to attack) unless a non-pseudorandom number generatoris used (e.g.,.I /dev/randomunder Linux)..PPIt is assumed that none of the devices opened will block..SH FILES.I /dev/random.br.I /dev/urandom.br.I /dev/audio.br.I /proc/stat.br.I /proc/loadavg.SH "SEE ALSO".BR X (1),.BR xauth (1),.BR md5sum (1)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -