something like this i have found on teamdba.com
select 'create user '||username||' identified by values '
||chr(39)||password||chr(39)||
' default tablespace '||default_tablespace ||
' temporary tablespace '|| temporary_tablespace||' ;'
from dba_users
where username not in ('SYS','SYSTEM','DBSNMP','OUTLN');
> -----Oorspronkelijk bericht-----
> Van: Jared Still [SMTP:[EMAIL PROTECTED]]
> Verzonden: maandag 10 september 2001 15:47
> Aan: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Onderwerp: Re: export user definitions
>
> On Monday 10 September 2001 02:45, [EMAIL PROTECTED] wrote:
> > hi everyone
> >
> > can anybody help me with a script that recreates
> > user definitions and the granted roles ?
> >
> > thanks
> >
> > g.g. kor
> > rdw ict groningen
>
> Someone asked this just a couple of weeks ago. That
> script will recreate a user.
>
> Take a look through the archives at www.fatcity.com for this.
>
> Recreating the roles is a simple exercise I'll leave to you.
>
> Jared
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).