Re: Adding users to informix batch process
Posted in 1996
Vic Goldberg — — source: Informix-list mailing list archive (1991-1998)
Eric Urff wrote:
>
> Is there a way to put all of my users in a batch
> file and add them to the informix database,
> without having to go through the dbaccess program
> and individually key in each user.
Assuming that by adding them to the Informix database you mean giving
them permission to access it......
Sure. Use your favorite method of genning up a script with the
appropriate
sql commands (grant connect to xyz..... etc) (You can do this with awk,
perl, etc.)
call this adduser.sql (or whatever)
Then run
dbaccess database adduser
and away you go.
--
Victor Goldberg
Cornell Theory Center
vic@tc.cornell.edu