HP-UX Strong Random Number Generator与 /dev/random相关

本文介绍了一款名为KRNG11i的强随机数生成器的安装及移除步骤。安装过程包括使用root权限下载产品包、验证文件完整性和执行自动重启等操作。移除该软件同样会导致系统重启。
<spacer type="block" width="1" height="10"></spacer>Product details & specifications
<spacer type="block" width="1" height="1"></spacer> <!-- BEGIN NESTED TABLE -->
Installation

Installation of the Strong Random Number Generator will cause the kernel to rebuild and system to reboot. Following reboot, the /dev/random and /dev/urandom special files will be present and no further administrative actions are required.
1) Login as root.

2) Follow the instructions to download the KRNG11i product bundle into the /tmp directory.

3) Verify that the source depot file has downloaded correctly using swlist. Note that swlist and swinstall require you to specify the full path name to the location of the source depot file:

swlist -d @ /tmp/KRNG11i_*.depot

4) Use swinstall to install the KRNG11i bundle from the source depot file. Note that because KRNG11i pulls in a set of kernel components, the autoreboot flag must be specified:

swinstall -x autoreboot=true -s /tmp/KRNG11i_*.depot KRNG11i

The system will reboot after installation.

5) Verify that the KRNG11i bundle was installed:

swlist | grep KRNG11i

This message should appear:
KRNG11i B.11.11.09 HP-UX 11.11 Strong Random Number Generator

When you install the KRNG11i bundle, the following items are included:
Enablement updates to the HP-UX 11i kernel. A dynamically loadable kernel module, rng, that collects random data. The /usr/include/sys/random.h header file. The random(7) manual page.
<spacer type="block" width="1" height="1"></spacer> <!-- BEGIN NESTED TABLE -->
removal

Strong Random Number Generator contains kernel products. Removing them will cause a system reboot after removal is complete.
1) Login as root.

2) Run swremove to remove the produt.

swremove -x autoreboot=true RandomNumGen RandomNumGenDyn

This removes the core functionality of the feature, but leaves the bundle wrapper and patches on your system. Removal of the patches that were included with the feature bundle is not recommended. Therefore, we advise you NOT to remove the patches from your system.

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值