06-14-2008
Need a Shell script to create Multiple User Accounts
Hi All,
Am New to shell scripting , Can u please Help me to Create a shell script which Creates Multiple Users (say up to 250 users) ,am using Rehat server 5 enterprise Edition .. I am really in need of this script So tat i can save time and effort for this Job ..
KIndly help me Please ...
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
My company has about 40 databases with each database in a different logical partition. Presently the SysAdmin person says it is necessary to create a user profile (login and password for each instance of databases on each LPAR.
1. Is it necessary that the user must be created in each LPAR?
2.... (1 Reply)
Discussion started by: kcampbell
1 Replies
2. Shell Programming and Scripting
I am trying to create a shell script that will:
check if a specific user already exists
if not, create a specific group and create the user in that group
assign a password to that user, where the password is passed in as a parameter to the script
The problem that I need help with is 3 on... (4 Replies)
Discussion started by: killuane
4 Replies
3. Shell Programming and Scripting
How tocreate a script file which will automatically create accounts from a csv file (2 Replies)
Discussion started by: donegal92
2 Replies
4. Shell Programming and Scripting
I need to create a script that will generate a bunch of OpenSSL Certificates signed by my own CA. The certificates being generated are for testing purposes only. But what I need is the following
Root CA
512
768
1024
1280
1536
1792
2048
4096
I need basically 64 combinations. Each... (4 Replies)
Discussion started by: krisarmstrong
4 Replies
5. Shell Programming and Scripting
I want to create an array which can store the strings from the user input in shell script .
example :-
I want to store the 5 fruits name in a single array which the user provides . (1 Reply)
Discussion started by: Pkast
1 Replies
6. Shell Programming and Scripting
Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc.
Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
Discussion started by: panthur
2 Replies
7. Shell Programming and Scripting
HI,
i created the below script to create the multiple files, iam not getting the required output, Please advice.
#!/bin/sh
v_date=$1 # argument will come as daymonthyear eg : 151112
v_day=`echo $v_date | cut -c 1-2`
v_mon=`echo $v_date | cut -c 3-4`
v_year=`echo $v_date | cut -c 5-6`... (4 Replies)
Discussion started by: jagguvarma
4 Replies
8. Shell Programming and Scripting
Hello Experts,
Need some direction on creating shell script for following environment:
We have about 20 people in the team working as Oracle DBA's (sysdba's and appdba's). Total Servers which is a mix of Unix and Linux are 200. We do not have Root user access on any of the servers and... (3 Replies)
Discussion started by: sha2402
3 Replies
9. Shell Programming and Scripting
Hello All,
The servers in question are AIX/Unix servers. I was hoping to find a scripting solution where I could use one server as a jump server and run a script that would check each server for a user account (the source file for the user accounts would be a text file or csv file) , and delete... (4 Replies)
Discussion started by: k45bryant
4 Replies
MAKEDEV(8) System Manager's Manual MAKEDEV(8)
NAME
MAKEDEV - makes system special files
SYNOPSIS
/dev/MAKEDEV [argument] [device-name?...]
DESCRIPTION
The MAKEDEV shell script is normally used to install special files. It resides in the /dev directory, the normal location of special files.
Arguments to MAKEDEV are usually of the form device-name? where device-name is one of the supported devices listed in Section 7 of the
Reference Pages and ? is a logical unit number. The argument operand is one of the following special arguments that create assorted col-
lections of devices: Creates all standard device files for all systems.
Standard devices for Alpha systems (in the order they are created) are as follows: klog, kcon, kbinlog, kmem, mem, null, vmzcore,
console, ws0, mouse0, keyboard0, tty, pty0, pty1, ptmx, cam, audit, prf, pfcntr, zero, snmpinfo, lockdev, and sysdev0. Creates a
set of 16 LAT device special files, one for each LAT terminal device. The n specifies the set option. The set option range is 0 to
38. Specifying lat38 creates 12 LAT device special files. Creates groups of pseudoterminal device special files, as follows: Cre-
ates pty0 to pty22. Creates pty23 to pty45. Creates pty46 to pty56. Creates pty57 to pty64. Creates pty65 to pty72. Creates
pty73 to pty80. Creates pty81 to pty88. Creates pty89 to pty96. Creates pty97 to pty101.
The # specifies the group of pseudoterminal device special files created. Creates a group of packet filter device special files, as
follows: Creates pfilt0 to pfilt63. Creates pfilt0 to pfilt63. Creates pfilt0 to pfilt127. Creates pfilt0 to pfilt255. Creates
pfilt0 to pfilt511. Creates pfilt0 to pfilt1023. Creates pfilt0 to pfilt2047. Creates pfilt0 to pfilt3071. Creates pfilt0 to
pfilt4095.
The # specifies the number of ppacket filter device special files created. Creates those devices specific to the local site. This
request causes the shell file /dev/MAKEDEV.local to be executed. This file must exist prior to using the local argument. Site spe-
cific commands, such as those used to setup dialup lines as ttyd? and to create device special files for all non-Compaq devices,
should be included in this file.
Because all devices are created using mknod(8) this shell script is useful only to the superuser.
NOTES
The MAKEDEV script installs files in the current working directory. Although device special files can be located anywhere on the system,
they are usually created in the /dev directory, since this is where most applications expect to find them.
Refer to the dsfmgr(8) reference page for information on the Device Special File Manager program.
ERRORS
Either self-explanatory, or generated by one of the programs called from the script. Use sh -x MAKEDEV in case of trouble.
SEE ALSO
Commands: config(8), dsfmgr(8), mknod(8)
Interfaces: intro(7), packetfilter(7), pty(7)
MAKEDEV(8)