dbTalk Databases Forums  

Re: Is there an SQL statement that can change the password of anexisting user?

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss Re: Is there an SQL statement that can change the password of anexisting user? in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Blair Adamache
 
Posts: n/a

Default Re: Is there an SQL statement that can change the password of anexisting user? - 08-25-2003 , 01:54 PM






Users can change their password from the GUI (Configuration Assistant in
v8, was called the Client Configuration Assistant in v7).

For what it's worth, CONNECT is considered an SQL statement (it's in the
SQL Reference manual).

FBT wrote:

Quote:
Is there an SQL statement that can change the password of an existing
user? My users don't have the access to use the Connect to...
statement.

Thanks
FBT.


Reply With Quote
  #2  
Old   
FBT
 
Posts: n/a

Default Re: Is there an SQL statement that can change the password of an existing user? - 08-27-2003 , 01:21 PM






Blair Adamache <badamache (AT) 2muchspam (DOT) yahoo.com> wrote

Quote:
Users can change their password from the GUI (Configuration Assistant in
v8, was called the Client Configuration Assistant in v7).

For what it's worth, CONNECT is considered an SQL statement (it's in the
SQL Reference manual).

FBT wrote:

Is there an SQL statement that can change the password of an existing
user? My users don't have the access to use the Connect to...
statement.

Thanks
FBT.

There is a statement in SQL Server that goes:

Alter User [UserName] identified by [NewPassword]

Is there an equal one in DB2?

Thanks
FBT.


Reply With Quote
  #3  
Old   
Blair Adamache
 
Posts: n/a

Default Re: Is there an SQL statement that can change the password of anexisting user? - 08-27-2003 , 01:54 PM



No. Users do not exist in DB2. DB2 uses operating system users. Here is
tha statement, which the user must enter:

connect to sample user adamache using password new newpw confirm newpw

FBT wrote:

Quote:
Blair Adamache <badamache (AT) 2muchspam (DOT) yahoo.com> wrote


Users can change their password from the GUI (Configuration Assistant in
v8, was called the Client Configuration Assistant in v7).

For what it's worth, CONNECT is considered an SQL statement (it's in the
SQL Reference manual).

FBT wrote:


Is there an SQL statement that can change the password of an existing
user? My users don't have the access to use the Connect to...
statement.

Thanks
FBT.



There is a statement in SQL Server that goes:

Alter User [UserName] identified by [NewPassword]

Is there an equal one in DB2?

Thanks
FBT.


Reply With Quote
  #4  
Old   
Blair Adamache
 
Posts: n/a

Default Re: Is there an SQL statement that can change the password of anexisting user? - 08-28-2003 , 09:36 AM



Only two types of salespeople call their customers "users" - drug
dealers and software vendors.

Mark Townsend wrote:

Quote:
Users do not exist in DB2.

Now there's a quote if I ever saw one :-P

Guess it's one of those "Close your eyes and imagine it" kind of things



Reply With Quote
  #5  
Old   
Mark Townsend
 
Posts: n/a

Default Re: Is there an SQL statement that can change the password of anexisting user? - 08-28-2003 , 09:36 PM



Blair Adamache wrote:
Quote:
Only two types of salespeople call their customers "users" - drug
dealers and software vendors.

Funny and prophetic - I actually described a new feature today (to a
room full of analysts), as being similar to crack cocaine - once people
started using it, they liked it so much, they couldn't stop.



Reply With Quote
  #6  
Old   
PM \(pm3iinc-nospam\)
 
Posts: n/a

Default Re: Is there an SQL statement that can change the password of an existing user? - 08-29-2003 , 12:06 PM



If you don't want to use the Connect statement and you're concerned only
about windows stuff,
you can use WMI to change their passwords, ...
Dig around :
http://www.microsoft.com/technet/tre...ain/mngwmi.asp

Maybe also command line : net user /?

PM

"FBT" <firebladetoronto (AT) hotmail (DOT) com> a écrit dans le message de
news:859705e6.0308271021.478834d8 (AT) posting (DOT) google.com...
Quote:
Blair Adamache <badamache (AT) 2muchspam (DOT) yahoo.com> wrote

Users can change their password from the GUI (Configuration Assistant in
v8, was called the Client Configuration Assistant in v7).

For what it's worth, CONNECT is considered an SQL statement (it's in the
SQL Reference manual).

FBT wrote:

Is there an SQL statement that can change the password of an existing
user? My users don't have the access to use the Connect to...
statement.

Thanks
FBT.


There is a statement in SQL Server that goes:

Alter User [UserName] identified by [NewPassword]

Is there an equal one in DB2?

Thanks
FBT.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.