473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

User password?

Hi,

Since I work mainly on Oracle, I got the problem regarding DB2 user.

I create new 'DB User' from Control Center. How do I set the password
for this new user? Or, the only way to do this is to create a new OS
user with the same username? If so, can I still connect as this new
user to db2? (what's the password?)

Thanks a lot!

Nov 12 '05 #1
3 19031
<ib****@yahoo.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
Hi,

Since I work mainly on Oracle, I got the problem regarding DB2 user.

I create new 'DB User' from Control Center. How do I set the password
for this new user? Or, the only way to do this is to create a new OS
user with the same username? If so, can I still connect as this new
user to db2? (what's the password?)

Thanks a lot!

User id's and passwords are controlled by the OS.
Nov 12 '05 #2
You need to read a bit from the DB2 Quick Beginnings install book for your
platform.

DB2 has no concepts of a database user as Oracle does.
For DB2, one creates an OS user and pw.
Once it exists, it is seen as a member of the PUBLIC group from a DB2 point
of view. By default, all db's created in DB2 give connect privilege to
members of PUBLIC. You can change this if needed.

If the user exists, then use the Control Center to identify that user by
tyoing its id and then set the privileges as you see fit.
The control Center function is there to let you set privileges for ids.
They may or may not exist in reality on the OS security access method but
DB2 will take note of them anyway.

HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<ib****@yahoo.com> a écrit dans le message de news:
11**********************@g43g2000cwa.googlegroups. com...
Hi,

Since I work mainly on Oracle, I got the problem regarding DB2 user.

I create new 'DB User' from Control Center. How do I set the password
for this new user? Or, the only way to do this is to create a new OS
user with the same username? If so, can I still connect as this new
user to db2? (what's the password?)

Thanks a lot!


Nov 12 '05 #3
Thnx to all.

Pierre Saint-Jacques wrote:
You need to read a bit from the DB2 Quick Beginnings install book for your
platform.

DB2 has no concepts of a database user as Oracle does.
For DB2, one creates an OS user and pw.
Once it exists, it is seen as a member of the PUBLIC group from a DB2 point
of view. By default, all db's created in DB2 give connect privilege to
members of PUBLIC. You can change this if needed.

If the user exists, then use the Control Center to identify that user by
tyoing its id and then set the privileges as you see fit.
The control Center function is there to let you set privileges for ids.
They may or may not exist in reality on the OS security access method but
DB2 will take note of them anyway.

HTH, Pierre.

--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
<ib****@yahoo.com> a écrit dans le message de news:
11**********************@g43g2000cwa.googlegroups. com...
Hi,

Since I work mainly on Oracle, I got the problem regarding DB2 user.

I create new 'DB User' from Control Center. How do I set the password
for this new user? Or, the only way to do this is to create a new OS
user with the same username? If so, can I still connect as this new
user to db2? (what's the password?)

Thanks a lot!


Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Lou | last post by:
Please can someone put me out my misery! Im trying to find a multiple user/password protection script that will redirect the specific user to a specific directory. At the moment I have set up...
3
by: yabba | last post by:
Is there a way to supply a nt/windows user/password combo in a url for an automatic login to a nt user/password secured site? Something like http://mysite.comuser=mepassword=mypassword =...
0
by: Bright | last post by:
Dear All I'm after a multi-User password database so that I can centrally store system passwords and give granular access to individuals based on their own unique authentication (possibly a...
4
by: Robert Kattke | last post by:
Subject: Can you retrieve/restore a MySQL user Password ? I'm working on my own, local WXP, MySQL, version: 3.23.38-nt and I have the "root" password, and normally use the root account. I have...
1
by: twhan twhan via .NET 247 | last post by:
Hi, currently i am developing a Radius server application. Cananyone show me how can i unpack the "User-Password" attribute sothat i can get back the password in plain text so that i canverify it...
1
by: NWx | last post by:
Hi, I'm an old developer, but didn't used SQL Server or MSDE to much before. I have NetSDK instance of MSDE installed on my PC by Net Framework SDK. All quickstart samples access it using...
0
by: Yannick Béot | last post by:
Hi, I'm trying to make an application that allow a user, through a web form to change its password On a click event, here is the code DirectoryEntry usr = new DirectoryEntry( theUserDN,...
7
by: Marc Solé | last post by:
Hello all, I have a web application that runs in a server and makes a Windows user validation to loggin. My question is, how can I get that loggin user, password and domanin to use it in my...
9
by: webrod | last post by:
Hi all, how can I check a user/password in a LDAP ? I don't want to connect with this user, I would like to connect to LDAP with a ADMIN_LOG/ADMIN_PWD, then do a query to find the user and...
0
by: geoharish | last post by:
Dear All, I started using Python just a few days back and there was a requirement of an assigned project to change the user Password through script without user interaction. I could write the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.