Solved

Different USER ID and Schema in DB2

Posted on 2009-05-16
4
704 Views
Last Modified: 2012-05-07
Hi,
How to create different user ids in DB2. Also how to create different schema for each user.
0
Comment
Question by:cuttieveenz
  • 2
  • 2
4 Comments
 
LVL 45

Expert Comment

by:Kdo
Comment Utility
Hi cuttie,

DB2 defers to the underlying operating system for user validation.  To create a DB2 user, create a user on the server where DB2 is running.

You can always create additional schemas.  The DBA (or anyone with sufficient privilege) would create one with the CREATE SCHEMA statement.

In most releases of DB2, I believe that a user's default schema is the user's name.


Good Luck,
Kent
0
 

Author Comment

by:cuttieveenz
Comment Utility
How do I create user on the server?
0
 
LVL 45

Accepted Solution

by:
Kdo earned 500 total points
Comment Utility
Depends on the server.

If it's Windows, start with My Computer / Manage.

If it's linux or unix, the adduser (or useradd) command will create a new user.  You can specify the password when you create the user or use the passwd command to change/set it.

If it's an OS/2 or AS/400 server, we'll have to get someone else to chime in as I'm not a mainframe type.


Kent
0
 

Author Closing Comment

by:cuttieveenz
Comment Utility
Thanks Kdo. Your comments were useful.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now