Questions tagged [random]
UNIX random devices and utilities
242 questions
12
votes
2
answers
1k
views
Why do I need rngd random number generator daemon?
I run a Raspberry Pi with a custom Yocto Linux. There's an rng-tools.service which runs rngd.
On my Pi, it shows high CPU usage sometimes and others complain about its excessive logging.
Before trying ...
3
votes
5
answers
710
views
Randomly pick single line from multiple lines while assigning value to environment variable
In a certain script that we run routinely we configure hostnames in environment variables. Since hostnames can change overtime, we try to dynamically pick the current set of hosts using linux's ...
2
votes
4
answers
295
views
Executing a cron task once a month at a random date and time
Ubuntu 22.04 or AlmaLinux 9.5
I've seen a lot of questions about running scripts in random times during a day using bash's $RANDOM but a month exceeds the limit it has.
How can I do that?
It is a xdg-...
1
vote
2
answers
236
views
systemd-random-seed.service takes a lot of time to start / timeout
I have a Linux device with several services of my own.
Kernel: 4.14.151
systemd: systemd 249 (249.11-0ubuntu3.12)
My services are written as sysvinit services and automatically generated as systemd ...
3
votes
4
answers
2k
views
Rename files to random filenames (but not to checksums)
Sometimes I need to batch rename files on a macOS system to random or pseudo-random filenames, eight lowercase letters and digits only, e.g. from mcmurdo-station.png to something like a12bc0xy.png. ...
1
vote
0
answers
91
views
AM335X setting of RNG
I kindly request any advice regarding the configuration of the HW RNG of TI AM335X. I'm aiming to achieve security certification for our device, which is based on the PLC Wago PFC200 750-8217. One of ...
-3
votes
1
answer
288
views
What happens if you put /dev/urandom into a shell script and run it?
I want to know what happens when you run the contents of /dev/urandom as a shell script. I know when you cat it into a terminal it will set off a bunch of random things in the terminal environment. ...
-1
votes
3
answers
105
views
Why ubuntu 18 not booting inder vmware?
Image imported from AZURE and converted to VMWARE. Booting stop after few seconds. Can't understanding why...
Very long loading "random:" and no loading more.
3
votes
1
answer
462
views
CSPRNG use on Amazon Linux 2
I need to use a cryptographically strong (certification requirement), which is of high quality (pass industry standard randomness tests) reasonably performant (see below) PRNG.
Originally, I assumed ...
0
votes
1
answer
57
views
Would it be feasible to create a script that can right click the mouse at a very specific location when an even more specific number gets generated?
I'm aware of a program that can simulate a right-click at specific coordinates on my display at any given interval.
However, I'm wondering if it's possible to write a script that can perform a right-...
-1
votes
1
answer
421
views
How to force =RAND() to run only once in LibreOffice Calc?
I am trying to randomize a list of words in LibreOffice Calc. Column A contains numbers 1 to 15, indicating the initial order of the words. Column B contains the words themselves. Here is the original ...
3
votes
2
answers
3k
views
Faster wipe hdd with random data
I know that with
dd if=/dev/urandom of=/dev/sdX bs=1M count=hdd_size_in_MB
you can wipe a whole disk with random data. But urandom is very slow. So I wonder if it would be possible to just create ...
0
votes
0
answers
407
views
Fast, cryptographically strong PRNG using /dev/urandom
Edit to make the question more specific:
Can a program just read from /dev/urandom to provide high quality, cryptographically strong random numbers at a rate of at least 1MB/sec on a Ubuntu LTS VM in ...
2
votes
2
answers
3k
views
How to generate random master password?
I want to generate a secure random password for the encrypted Linux system. What offline tools should I use? Any advice if I should use xkcdpass, apg, diceware, or another utility, and how built ...
0
votes
1
answer
1k
views
Setting up rngd (randomness generator) on old computers
The rngd program comes from package rng-tools5 on Ubuntu/Debian.
# neofetch
...-:::::-... root@dell-7577
.-MMMMMMMMMMMMMMM-. --------------
...