first of all, get the encrypted password string of maxadmin user, where password is 'maxadmin'
SQL> Select userid, password from maxuser where userid = 'MAXADMIN'
output :
USERID PASSWORD
--------- --------------------------------
MAXADMIN x'10FE6F4650B2ACB49A2121D7E6133E64'
Now update user's password with this string, so that the password would be same like maxadmin's password
Oracle:
UPDATE maxuser
SET PASSWORD = '10fe6f4650b2acb49a2121d7e6133e64' --
WHERE userid = 'MAXADMIN' --user
SQL Server:
UPDATE maxuser
SET PASSWORD = 0x10fe6f4650b2acb49a2121d7e6133e64 --0x
WHERE userid = 'MAXADMIN' --user
DB2:
UPDATE maxuser
SET PASSWORD =x'10fe6f4650b2acb49a2121d7e6133e64' --x''
WHERE userid = 'MAXADMIN' --user
Reference: http://www-01.ibm.com/support/docview.wss?uid=swg21645570
SQL> Select userid, password from maxuser where userid = 'MAXADMIN'
output :
USERID PASSWORD
--------- --------------------------------
MAXADMIN x'10FE6F4650B2ACB49A2121D7E6133E64'
Now update user's password with this string, so that the password would be same like maxadmin's password
Oracle:
UPDATE maxuser
SET PASSWORD = '10fe6f4650b2acb49a2121d7e6133e64' --
WHERE userid = 'MAXADMIN' --user
SQL Server:
UPDATE maxuser
SET PASSWORD = 0x10fe6f4650b2acb49a2121d7e6133e64 --0x
WHERE userid = 'MAXADMIN' --user
DB2:
UPDATE maxuser
SET PASSWORD =x'10fe6f4650b2acb49a2121d7e6133e64' --x''
WHERE userid = 'MAXADMIN' --user
Reference: http://www-01.ibm.com/support/docview.wss?uid=swg21645570
No comments:
Post a Comment