Header Shadow Image


Missing /dev/random and /dev/urandom. AIX Maintenance mode.

In AIX Maintenance mode, /dev/random and /dev/urandom are not configured.  This can be done manually like this to help recover the functionality though it's not readily available to start with:

# [[ -r /dev/random ]] && rm -rf /dev/random;
# [[ -r /dev/urandom ]] && rm -rf /dev/urandom;
# mknod /dev/random c 39 0;
# mknod /dev/random c 39 1;
# mkdir -p /etc/security;
# randomctl -l;

As a one liner:

# [[ -r /dev/random ]] && rm -rf /dev/random; [[ -r /dev/urandom ]] && rm -rf /dev/urandom; mknod /dev/random c 39 0; mknod /dev/random c 39 1; mkdir -p /etc/security; randomctl -l;

This is normally for the enhanced maintenance mode so you can perform more advanced OS tasks in helping system recovery.

Cheers,
TK

Leave a Reply

You must be logged in to post a comment.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License