11-20-2012
For loop to add user accounts
Hi i need to add 100 users on a redhat linux box . Can you guys help me .
useradd -u 123456 -g 400000 -G 4545 -c " abcdef " -m -d /home/abcd -s /bin/bash abcd
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have found a script to create user accounts. But there are a few lines i dont understand. Can someone help me with this? Here's the code:
######################################
while ;
do
ACCT=${USER_ACCT}${START}
START=`expr $START + 1`
START=`echo ${START} | awk... (3 Replies)
Discussion started by: Sensor
3 Replies
2. UNIX for Dummies Questions & Answers
I have a root access to a UNIX system. I want to create another account with administrative permissions (create users, delete them, manage print and system configuration), how do I do that?
I have a Solaris 9 (SunOS 5.9) installed. Please help. :o (3 Replies)
Discussion started by: neked
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I was wondering if someone could tell me how to display a list of all existing user accounts on the system, not neccesarily looged in. Thanks in advance
Stephen (3 Replies)
Discussion started by: sroberts82
3 Replies
4. Shell Programming and Scripting
Hi everyone, I am trying to use loop (for loop but can be any loop) which will read from the file (text file) which will have 2 column one for account and another for server which kind of look like this
account1 server1
account2 server2
account3 server1
account4 server1
5 server3
6 server2... (1 Reply)
Discussion started by: pareshan
1 Replies
5. UNIX for Dummies Questions & Answers
hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies
6. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
7. Solaris
Hi All,
How to know all the shells a user has access.
Thank you . (0 Replies)
Discussion started by: rama krishna
0 Replies
8. Solaris
Hi,
Can you please tell me how to know the number of user account limit in solrise 5 version.Is there any cmd to see how many max user acc can be created.
Thanks in advance (2 Replies)
Discussion started by: kkalyan
2 Replies
9. OS X (Apple)
Hi All
I am trying to find a way to set-up a thunderbird account by using a script, i have been trying to to add the lines into the pref.js file but it keeps getting overwritten
any help would be great
thanks
Adam (0 Replies)
Discussion started by: ab52
0 Replies
LEARN ABOUT DEBIAN
yhsm-linux-add-entropy
yhsm-linux-add-entropy(1) General Commands Manual yhsm-linux-add-entropy(1)
NAME
yhsm-linux-add-entropy - Seed the Linux entropy pool with data from YubiHSM TRNG
SYNOPSIS
yhsm-linux-add-entropy [options]
DESCRIPTION
The YubiHSM uses "Avalanche Noise" TRNG together with USB SOF jitter sampling to feed a DRBG_CTR algorithm (NIST publication SP800-90). The
result has been verified as being random data of good quality by at least one third party cryptographer. <http://sartryck.idg.se/Art/
Yubihsm_1_TW072011.html>
Use this program to add random data from the YubiHSM to the entropy pool of your Linux operating system. This is useful whenever lots of
random data is needed, such as when generating chryptographic keys (GPG-keys), on a server terminating SSL sessions etc.
You may run this script from cron, or in a while-loop. Make sure it does not run at the same time as something else accessing the YubiHSM
though, or the two tasks may interrupt each other - probably making both fail.
OPTIONS
-D, --device
device file name (default: /dev/ttyACM0).
-v, --verbose
enable verbose operation.
-c, --count
number of iterations to run (default: 100).
-r, --ratio
bits per byte read to use. 8 is probably fine, but as a conservative default 2 is used.
--debug
enable debug printout, including all data sent to/from YubiHSM.
EXIT STATUS
0 Entropy added successfully
1 Failure
BUGS
Report python-pyhsm/yhsm-linux-add-entropy bugs in the issue tracker <https://github.com/Yubico/python-pyhsm/issues/>
SEE ALSO
The python-pyhsm home page <https://github.com/Yubico/python-pyhsm/>
YubiHSMs can be obtained from Yubico <http://www.yubico.com/>.
python-pyhsm December 2011 yhsm-linux-add-entropy(1)