Re: Re: how to generate create user script with password in TOAD
Yong Zhang <[email protected]>
| Newsgroups | gmane.comp.db.oracle.toad.free |
|---|---|
| Message-ID | <[email protected]> |
I granted select on sys.user$ to the user I am using to generate the script and still not be able to see the passoword. I may have to try with 10.6 to see if it works. Thanks. ________________________________ From: Bert Scalzo <[email protected]> To: "[email protected]" <[email protected]> Sent: Thursday, May 3, 2012 9:31 AM Subject: RE: [toad] Re: how to generate create user script with password in TOAD The DBA role was put in place for backwards compat with Oracle 7. It does not include what current DBA’s should want or need as it was only created for backward compat and is not recommened to be used. So saying I have DBA really means nothing. You need to create your own site specific DBA type role and decide which of the hundreds of privs it should have. From:[email protected] [mailto:[email protected]] On Behalf Of Yong Zhang Sent: Thursday, May 03, 2012 8:23 AM To: [email protected] Subject: Re: [toad] Re: how to generate create user script with password in TOAD Hi John, That is what I am using for 10g, but not working for 11g. I am using the user with dba privileges. Thanks. Yong From:John Dorlon <[email protected]> To: "[email protected]" <[email protected]> Sent: Thursday, May 3, 2012 9:13 AM Subject: RE: [toad] Re: how to generate create user script with password in TOAD Toad 10.6 has an option to extract passwords on 11g if you have privileges. I’m not sure offhand if the option is also on 10.5.1 but on the script dialog, go to the “Script Options” tab, then “Users” sub-tab. Check “If possible, include identify by values clause in 11g”. It will be possible if you have the SELECT privilege on the sys.user$ table. -John From:[email protected] [mailto:[email protected]] On Behalf Of bscalzo Sent: Wednesday, May 02, 2012 9:10 PM To: [email protected] Subject: [toad] Re: how to generate create user script with password in TOAD Actually there was a discussion on this very subject a short while ago by the toad developer who owns that code: http://tech.groups.yahoo.com/group/toadbeta/message/37139 John talks about the 11g changes and where he gets the values .... --- In [email protected], Bert Scalzo <bert.scalzo@...> wrote: > > Due to changes in 11G in the way passwords are done (in order to support case sensitive passwords) this is the way it has to work. Blame Oracle - they made changes in the data dictionary :) > > From: [email protected] [mailto:[email protected]] On Behalf Of Yong Zhang > Sent: Wednesday, May 02, 2012 8:18 PM > To: [email protected] > Subject: [toad] how to generate create user script with password in TOAD > > > Hi, Toad users, > I am using TOAD 10.5.1.x version. When I connect to Oracle 10g R2 database using schema browser to generate create user script, it generate the following code: > create user username > identified by values 'somevalues' > default tablespace users; > which is very convenient for dbas to drop and recreate the users in the same or another database without having to know the passwords for a particular user. > But when I connect to 11g database, it does not generate the password values: > create user username > identified by <password> > default tablespace users; > Does anyone know where to configure the TOAD to generate the same script as Oracle 10g? Or where do I have to tweak the parameters in Oracle 11g database? > I would appreciate if someone can answer my questions or point me to some docs on the web. Please don't ask me why I have to do it this way, but I have to do it quite often. > Regards. > > Yong >