### start unix shell script
#
# you must be logged in as oracle to use this
#####
# syntax is:
#
# whatever_you_name_it_script username password
#
#####
# change the grants to whatever you use
#####
# change the password for system from "manager" to whatever you use, or make
it a command-line parameter.
# or you might be able to use "connect internal", depending on your setup.
#####
#
echo "
connect system/manager
create user $1 identified by $2
default tablespace your_default_tablespace
temporary tablespace temp;
grant CREATE SESSION to $1;
grant CREATE TABLE to $1;
grant UNLIMITED TABLESPACE to $1;
grant CREATE PUBLIC SYNONYM to $1;
grant DROP PUBLIC SYNONYM to $1;
" | svrmgrl
#
#### end shell script
>Hi,
>Can anyone tell me how to put a large number of users into Oracle. I
>have a text file list of users and I need to generate a script to add
>them to Oracle. Can this be done with PL/SQL? How? Or does anyone
>have a script for this that they have already written.
>You can reply to my email or the newsgroup.
>Geraldine Grubb
>812 855-5492