![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have the need to change passwords in over 80+ databases when the user changes it in one. Any suggestions on an effieient method. I would prefer some type of "batch" method where it's not done online. Just wondering how others might take care of this!! Thanks! -- Jim Douglas |
#3
| |||
| |||
|
|
If these 80 databases are all on the same server, you don't have to do anything as the login/password is server wide, if you're talking about different servers, you can always use bcp to move logins from one server to another. "Jim Douglas" <james.douglas (AT) genesis-software (DOT) com> wrote in message news:PvRWc.309282$%_6.209184 (AT) attbi_s01 (DOT) .. I have the need to change passwords in over 80+ databases when the user changes it in one. Any suggestions on an effieient method. I would prefer some type of "batch" method where it's not done online. Just wondering how others might take care of this!! Thanks! -- Jim Douglas |
#4
| |||
| |||
|
|
Good idea, but works ONLY if all users have the same suid on all systems. Otherwise, you may need a combination of a shell script and SQL file to do the following steps (assuming that you have the same SSO userid and password on all of the servers): 1) Obtain SSO userid and password and the user id and revised password from terminal input 2) IN A SECURE DIRECTORY (700 permission), create the SQL file to change the passwords of the specified accounts 3) run ISQL on each server (maybe file input) to perform the password changes 4) delete all working script files. If the intent of all the userids is to permit users to access data from multiple servers, have you thought about using proxies? If things get really weird, it might be a time to suggest to the applicaiton owners that it might be a good time to redesign the application and to rethink the implementation. Best of luck! ----- Original Message ----- From: "Germano" <gsilva3891 (AT) yahoo (DOT) com Newsgroups: comp.databases.sybase Sent: Wednesday, August 25, 2004 7:27 AM Subject: Re: User Login/Passwords If these 80 databases are all on the same server, you don't have to do anything as the login/password is server wide, if you're talking about different servers, you can always use bcp to move logins from one server to another. "Jim Douglas" <james.douglas (AT) genesis-software (DOT) com> wrote in message news:PvRWc.309282$%_6.209184 (AT) attbi_s01 (DOT) .. I have the need to change passwords in over 80+ databases when the user changes it in one. Any suggestions on an effieient method. I would prefer some type of "batch" method where it's not done online. Just wondering how others might take care of this!! Thanks! -- Jim Douglas |
#5
| |||
| |||
|
|
I have the need to change passwords in over 80+ databases when the user changes it in one. Any suggestions on an effieient method. I would prefer some type of "batch" method where it's not done online. Just wondering how others might take care of this!! |
![]() |
| Thread Tools | |
| Display Modes | |
| |