<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating  800 users in oracle in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348301#M871002</link>
    <description>If you don't want to keep track of individual passwords and you don't want them lying around on the disk in clear text, please consider the following script&lt;BR /&gt;&lt;BR /&gt;create_myuser.sql&lt;BR /&gt;&lt;BR /&gt;create user &amp;amp;1 identified by "password";&lt;BR /&gt;grant connect to &amp;amp;1;&lt;BR /&gt;alter user &amp;amp;1 password expire;&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then set up a .bat &lt;BR /&gt;&lt;BR /&gt;that basically runs&lt;BR /&gt;&lt;BR /&gt;sqlplus sys/changeoninstall @create_myuser foome&lt;BR /&gt;&lt;BR /&gt;* The above script creates foome. &lt;BR /&gt;* Give connect priv (or you can do roles or whatever. Made it simple for the example)&lt;BR /&gt;* Expire the password&lt;BR /&gt;&lt;BR /&gt;The user logs on the first time &lt;BR /&gt;&lt;BR /&gt;sqlplus foome/password&lt;BR /&gt;&lt;BR /&gt;sqlplus says &lt;BR /&gt;ORA-280001: the password has expired&lt;BR /&gt;&lt;BR /&gt;Changing password for foo2&lt;BR /&gt;New password:&lt;BR /&gt;&lt;BR /&gt;He/She changes her password and you don't have to deal with it.&lt;BR /&gt;&lt;BR /&gt;On the plus side, you don't have passwords laying around in clear text. On the minus side if you have one of your 800 that doesn't log in and change his password, you could have a security problem.&lt;BR /&gt;&lt;BR /&gt;I used password as the original password which is a very bad choice, but makes a good example. You could pick another without any trouble or you could even make the password a variant of the username. Once again not a good security choice, but better than password. Or, add a second parameter and put the password in the script.&lt;BR /&gt;&lt;BR /&gt;create user &amp;amp;1 identified by "&amp;amp;2";&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;create user &amp;amp;1 identified by "pass&amp;amp;1";&lt;BR /&gt;&lt;BR /&gt;create_myuser foome&lt;BR /&gt;&lt;BR /&gt;would create user foome identified by "passfoome"&lt;BR /&gt;&lt;BR /&gt;-good luck&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Aug 2004 09:08:24 GMT</pubDate>
    <dc:creator>R. Allan Hicks</dc:creator>
    <dc:date>2004-08-04T09:08:24Z</dc:date>
    <item>
      <title>Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348287#M870984</link>
      <description>How I can to create 800 users for example:&lt;BR /&gt;&lt;BR /&gt;create user cap101 identified by cap101&lt;BR /&gt;default tablespace siebeldata&lt;BR /&gt;temporary tablespace temp;&lt;BR /&gt;grant sse_role,create session to cap101;&lt;BR /&gt;&lt;BR /&gt;and is the same for cap102 to cap900&lt;BR /&gt;&lt;BR /&gt;you know any script for run fast this creation;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 10:54:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348287#M870984</guid>
      <dc:creator>Adrian_72</dc:creator>
      <dc:date>2004-08-03T10:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348288#M870985</link>
      <description>&lt;BR /&gt;while read -r username&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;sqlplus '/as sysdba' &amp;lt;&amp;lt; EOF&lt;BR /&gt;create user cap101 identified by $username&lt;BR /&gt;default tablespace siebeldata&lt;BR /&gt;temporary tablespace temp;&lt;BR /&gt;grant sse_role,create session to $username;&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;done &amp;lt; userlist&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This methodology might work.&lt;BR /&gt;all you need is a text list of users one per line in the file userlist.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 03 Aug 2004 11:00:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348288#M870985</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-08-03T11:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348289#M870986</link>
      <description>Steven my database is working in windows2000&lt;BR /&gt;&lt;BR /&gt;how I can run your instructions?&lt;BR /&gt;&lt;BR /&gt;Thank you</description>
      <pubDate>Tue, 03 Aug 2004 11:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348289#M870986</guid>
      <dc:creator>Adrian_72</dc:creator>
      <dc:date>2004-08-03T11:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348290#M870987</link>
      <description>Hi,&lt;BR /&gt;I would suggest user only one session &lt;BR /&gt;Generate the SQL script 1st :&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;echo " " | awk '{&lt;BR /&gt;for(i=101;i &amp;lt; 901;i++) {&lt;BR /&gt;printf("create user cap%d  identified by cap%d default tablespace siebeldata tem&lt;BR /&gt;porary tablespace temp;\n",i,i);&lt;BR /&gt;printf("grant sse_role,create session to cap%d;\n",i);&lt;BR /&gt;}&lt;BR /&gt;}'&lt;BR /&gt;&lt;BR /&gt;then use outpout as SQL script&lt;BR /&gt;sqlplus &lt;USER&gt;/&lt;PASSWORD&gt; @&lt;THIS script=""&gt;&lt;/THIS&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc&lt;BR /&gt;&lt;BR /&gt;&lt;/PASSWORD&gt;&lt;/USER&gt;</description>
      <pubDate>Tue, 03 Aug 2004 11:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348290#M870987</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-08-03T11:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348291#M870988</link>
      <description>no access to Unix/shell/awk ?&lt;BR /&gt;&lt;BR /&gt;let's do it with SQL programming&lt;BR /&gt;create the following SQL script and save output file.&lt;BR /&gt;Run the output file to create users :&lt;BR /&gt;##################################&lt;BR /&gt;set serveroutput on;&lt;BR /&gt;declare&lt;BR /&gt;        VAR2 number;&lt;BR /&gt;&lt;BR /&gt;begin&lt;BR /&gt;-- server output buffer resize :&lt;BR /&gt;dbms_output.enable(20000); &lt;BR /&gt;&lt;BR /&gt;FOR VAR2 in 101..120 LOOP&lt;BR /&gt;dbms_output.put_line('create user cap'||VAR2||'  identified by cap'||VAR2||' default tablespace siebeldata temporary tablespace temp;');&lt;BR /&gt;dbms_output.put_line('grant sse_role,create session to cap'||VAR2||' ;');&lt;BR /&gt;END LOOP;&lt;BR /&gt;end;&lt;BR /&gt;/&lt;BR /&gt;##################################&lt;BR /&gt;&lt;BR /&gt;change upper limit accordingly.&lt;BR /&gt;note : you may have to change dbms_output.enable limit as well.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Tue, 03 Aug 2004 11:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348291#M870988</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-08-03T11:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348292#M870989</link>
      <description>Thank you Jean;&lt;BR /&gt;&lt;BR /&gt;If i have a list of users how i can create this users whit te same password an the same grant for all.&lt;BR /&gt;&lt;BR /&gt;example of my users:&lt;BR /&gt;&lt;BR /&gt;joudart&lt;BR /&gt;aguerrero&lt;BR /&gt;evalle&lt;BR /&gt;leljure&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;etc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 12:41:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348292#M870989</guid>
      <dc:creator>Adrian_72</dc:creator>
      <dc:date>2004-08-03T12:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348293#M870990</link>
      <description>You could use simialr logic as above and either&lt;BR /&gt;a)  Load you names into an Oracle table then&lt;BR /&gt;spool creator.sql&lt;BR /&gt;select 'create user '||name||' identidied by password default tablespace siebeldata temporary tablespace temp;',&lt;BR /&gt;'grant role_1, connect to '|| name&lt;BR /&gt;from my_name_table;&lt;BR /&gt;spool off&lt;BR /&gt;@@creator.sql&lt;BR /&gt;&lt;BR /&gt;b) Use your favorite programming language to do the same thing &lt;BR /&gt;Read record&lt;BR /&gt;create sql statement&lt;BR /&gt;run sql statement&lt;BR /&gt;loop&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 13:01:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348293#M870990</guid>
      <dc:creator>John Wimmer_1</dc:creator>
      <dc:date>2004-08-03T13:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348294#M870991</link>
      <description>Steven &lt;BR /&gt;if I have a file with the usernames and other file with the passwords&lt;BR /&gt;&lt;BR /&gt;How I can create the users &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 13:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348294#M870991</guid>
      <dc:creator>Adrian_72</dc:creator>
      <dc:date>2004-08-03T13:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348295#M870992</link>
      <description>This quesions was also asked (accidently?) in:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=655054" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=655054&lt;/A&gt;&lt;BR /&gt;There I answerred:&lt;BR /&gt;&lt;BR /&gt;Hmmm, scary thought to have two seperate lists for that. They could not generate them into one list?&lt;BR /&gt;&lt;BR /&gt;Anyway... this problem is much similar to:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=650699" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=650699&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;One potential solution in awk:&lt;BR /&gt;&lt;BR /&gt;awk '{getline pass &amp;lt; "passwords.dat"; print "create user",$1,"identified by",pass,"default blah blah..."}' usernames.dat&lt;BR /&gt;&lt;BR /&gt;So here the main awk loop reads "usernames" and feeds them into $0, $1 and so on.&lt;BR /&gt;THen for every record read, we start py reading a line from "passwords" into symbol pass and print that along with the sql text and $1 (the first and only field from "usernames".&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Hein&lt;BR /&gt;&lt;BR /&gt;[Moderator... delete thread 655054 ? ]&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 16:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348295#M870992</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-08-03T16:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348296#M870993</link>
      <description>Hein Van Den;&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;I execute the next:&lt;BR /&gt;awk '{getline pass &amp;lt; "passwords.dat"; print "create user",$1,"identified by",pas&lt;BR /&gt;s,"default tablespace siebeldata temporary tablespace temp; grant sse_role,creat&lt;BR /&gt;e session to",$1,";"}' usernames.dat &amp;gt; /tmp/users/yo.sql&lt;BR /&gt;&lt;BR /&gt;but I can't execute the yo.sql file &lt;BR /&gt;&lt;BR /&gt;The yo.sql file is:&lt;BR /&gt;&lt;BR /&gt;create user CAP101 identified by DEMO1 default tablespace siebeldata temporary tablespace temp; grant sse_role,create session to CAP101 ;&lt;BR /&gt;&lt;BR /&gt;I need insert a line before the grant&lt;BR /&gt;how I can put this line?</description>
      <pubDate>Tue, 03 Aug 2004 18:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348296#M870993</guid>
      <dc:creator>Adrian_72</dc:creator>
      <dc:date>2004-08-03T18:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348297#M870994</link>
      <description>Ah, yes. Prior examples alrady showed how you can 'sprinkle' your print statement with "\n" to get a fresh new line. &lt;BR /&gt;Or... you can just use two or three print statements, one for each line.&lt;BR /&gt;&lt;BR /&gt;awk '{getline pass &amp;lt; "passwords.dat"; print "create user",$1,"identified by",pass,"default tablespace siebeldata temporary tablespace temp;\n grant sse_role,create session to",$1,";"}' usernames.dat &amp;gt; /tmp/users/yo.sql&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Aug 2004 21:07:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348297#M870994</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-08-03T21:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348298#M870996</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;You may wish to do it at the database level itself. try:&lt;BR /&gt;============================================&lt;BR /&gt;CREATE TABLE "MyUsers"&lt;BR /&gt;(&lt;BR /&gt; musername VARCHAR2(40)&lt;BR /&gt;)&lt;BR /&gt;ORGANIZATION external&lt;BR /&gt;(&lt;BR /&gt; TYPE oracle_loader&lt;BR /&gt; DEFAULT DIRECTORY TEST&lt;BR /&gt; ACCESS PARAMETERS&lt;BR /&gt; (&lt;BR /&gt;  RECORDS DELIMITED BY NEWLINE CHARACTERSET WE8ISO8859P1&lt;BR /&gt;  BADFILE 'nameload.bad'&lt;BR /&gt;  LOGFILE 'name.log_xt'&lt;BR /&gt;  READSIZE 1048576&lt;BR /&gt;  FIELDS LDRTRIM&lt;BR /&gt;  REJECT ROWS WITH ALL NULL FIELDS&lt;BR /&gt;  (&lt;BR /&gt;    "DATA" CHAR(40)&lt;BR /&gt;  )&lt;BR /&gt; )&lt;BR /&gt; location&lt;BR /&gt;      (&lt;BR /&gt;  'nameload.txt'&lt;BR /&gt;      )&lt;BR /&gt;)REJECT LIMIT UNLIMITED&lt;BR /&gt;/&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;CREATE TABLE "MyPasswords"&lt;BR /&gt;(&lt;BR /&gt; mpassword VARCHAR2(40)&lt;BR /&gt;)&lt;BR /&gt;ORGANIZATION external&lt;BR /&gt;(&lt;BR /&gt; TYPE oracle_loader&lt;BR /&gt; DEFAULT DIRECTORY TEST&lt;BR /&gt; ACCESS PARAMETERS&lt;BR /&gt; (&lt;BR /&gt;  RECORDS DELIMITED BY NEWLINE CHARACTERSET WE8ISO8859P1&lt;BR /&gt;  BADFILE 'passwdload.bad'&lt;BR /&gt;  LOGFILE 'passwd.log_xt'&lt;BR /&gt;  READSIZE 1048576&lt;BR /&gt;  FIELDS LDRTRIM&lt;BR /&gt;  REJECT ROWS WITH ALL NULL FIELDS&lt;BR /&gt;  (&lt;BR /&gt;    "DATA" CHAR(40)&lt;BR /&gt;  )&lt;BR /&gt; )&lt;BR /&gt; location&lt;BR /&gt;      (&lt;BR /&gt;  'passwdload.txt'&lt;BR /&gt;      )&lt;BR /&gt;)REJECT LIMIT UNLIMITED&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;begin&lt;BR /&gt;  for r1 in (select name, pass from&lt;BR /&gt;(select rownum r1,name from MyUsers) tab1,&lt;BR /&gt;(select rownum r2,pass from MyPasswords) tab2&lt;BR /&gt;where tab1.r1=tab2.r2) loop&lt;BR /&gt;  execute immediate 'create user '||r1.name||' identified by '||r1.pass||' default tablespace siebeldata temporary tablespace temp';&lt;BR /&gt;  execute immediate 'grant sse_role,create session to '||r1.name;&lt;BR /&gt;  --dbms_output.put_line('created user: '||r1.name||' identified by: '||r1.pass);&lt;BR /&gt; end loop;&lt;BR /&gt;end;&lt;BR /&gt;/ &lt;BR /&gt;============================================&lt;BR /&gt;&lt;BR /&gt;NB. Make appropriate changes to the code and using sqlplus check if the sqls: "select * from MyUsers" and "select * from MyPasswords" are returning the correct values first!&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Wed, 04 Aug 2004 01:20:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348298#M870996</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-08-04T01:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348299#M870998</link>
      <description>If you have have the 2 files user and password, this will be (assuming in the right order) :&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;paste userfile passfile | awk '{&lt;BR /&gt;printf("create user %s  identified by %s default tablespace siebeldata temporary&lt;BR /&gt; tablespace temp;\n",$1,$2);&lt;BR /&gt;printf("grant sse_role,create session to %s;\n",$1);&lt;BR /&gt;}'&lt;BR /&gt;&lt;BR /&gt;then use outpout as SQL script&lt;BR /&gt;sqlplus &lt;USER&gt;/&lt;PASSWORD&gt; @&lt;THIS script=""&gt;&lt;/THIS&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc&lt;/PASSWORD&gt;&lt;/USER&gt;</description>
      <pubDate>Wed, 04 Aug 2004 03:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348299#M870998</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-08-04T03:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348300#M871000</link>
      <description>Why don't you use PL/SQL to do this. Here is a jist of this.&lt;BR /&gt;---&lt;BR /&gt;begin&lt;BR /&gt;for i in 101..900&lt;BR /&gt;loop&lt;BR /&gt;execute immediate 'create user cap'||i||' identified by cap'||i;&lt;BR /&gt;end loop;&lt;BR /&gt;end;&lt;BR /&gt;---&lt;BR /&gt;May be use the administrator account to execute this.</description>
      <pubDate>Wed, 04 Aug 2004 03:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348300#M871000</guid>
      <dc:creator>Dilip Kumar_4</dc:creator>
      <dc:date>2004-08-04T03:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348301#M871002</link>
      <description>If you don't want to keep track of individual passwords and you don't want them lying around on the disk in clear text, please consider the following script&lt;BR /&gt;&lt;BR /&gt;create_myuser.sql&lt;BR /&gt;&lt;BR /&gt;create user &amp;amp;1 identified by "password";&lt;BR /&gt;grant connect to &amp;amp;1;&lt;BR /&gt;alter user &amp;amp;1 password expire;&lt;BR /&gt;/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then set up a .bat &lt;BR /&gt;&lt;BR /&gt;that basically runs&lt;BR /&gt;&lt;BR /&gt;sqlplus sys/changeoninstall @create_myuser foome&lt;BR /&gt;&lt;BR /&gt;* The above script creates foome. &lt;BR /&gt;* Give connect priv (or you can do roles or whatever. Made it simple for the example)&lt;BR /&gt;* Expire the password&lt;BR /&gt;&lt;BR /&gt;The user logs on the first time &lt;BR /&gt;&lt;BR /&gt;sqlplus foome/password&lt;BR /&gt;&lt;BR /&gt;sqlplus says &lt;BR /&gt;ORA-280001: the password has expired&lt;BR /&gt;&lt;BR /&gt;Changing password for foo2&lt;BR /&gt;New password:&lt;BR /&gt;&lt;BR /&gt;He/She changes her password and you don't have to deal with it.&lt;BR /&gt;&lt;BR /&gt;On the plus side, you don't have passwords laying around in clear text. On the minus side if you have one of your 800 that doesn't log in and change his password, you could have a security problem.&lt;BR /&gt;&lt;BR /&gt;I used password as the original password which is a very bad choice, but makes a good example. You could pick another without any trouble or you could even make the password a variant of the username. Once again not a good security choice, but better than password. Or, add a second parameter and put the password in the script.&lt;BR /&gt;&lt;BR /&gt;create user &amp;amp;1 identified by "&amp;amp;2";&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;create user &amp;amp;1 identified by "pass&amp;amp;1";&lt;BR /&gt;&lt;BR /&gt;create_myuser foome&lt;BR /&gt;&lt;BR /&gt;would create user foome identified by "passfoome"&lt;BR /&gt;&lt;BR /&gt;-good luck&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Aug 2004 09:08:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348301#M871002</guid>
      <dc:creator>R. Allan Hicks</dc:creator>
      <dc:date>2004-08-04T09:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348302#M871004</link>
      <description>Easy way is to use MS Excel and #concatenate function.&lt;BR /&gt;You can easily prepare your users and generate the script.&lt;BR /&gt;Very easy I recomend.&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Aug 2004 04:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348302#M871004</guid>
      <dc:creator>Petr Simik_1</dc:creator>
      <dc:date>2004-08-06T04:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348303#M871005</link>
      <description>I too have a situation that requires mass upload of users.  This is what I am using to do a single user on 8.1 in win2000.  I am a novice and would like help making the below script one that I can use to upload 600 users from an MS Excel spreadsheet or text file.  &lt;BR /&gt;&lt;BR /&gt;CREATE USER USER1 IDENTIFIED BY USER_PASS&lt;BR /&gt; DEFAULT TABLESPACE USER_DATA&lt;BR /&gt; TEMPORARY TABLESPACE TEMPORARY_DATA;&lt;BR /&gt;GRANT CONNECT TO USER1;&lt;BR /&gt;GRANT PW_ALL TO USER1;&lt;BR /&gt;COMMIT;</description>
      <pubDate>Thu, 12 Aug 2004 17:58:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348303#M871005</guid>
      <dc:creator>Cary Campos_1</dc:creator>
      <dc:date>2004-08-12T17:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating  800 users in oracle</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348304#M871006</link>
      <description>Cary,  &lt;BR /&gt;&lt;BR /&gt;Check this thread out &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=655054" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=655054&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It has some ideas that you might want to use.</description>
      <pubDate>Fri, 13 Aug 2004 08:16:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/creating-800-users-in-oracle/m-p/3348304#M871006</guid>
      <dc:creator>John Wimmer_1</dc:creator>
      <dc:date>2004-08-13T08:16:12Z</dc:date>
    </item>
  </channel>
</rss>

