Hey All, Jeroen Rijnbergen Maria Victoria NORMAND Eun-hee Ahn
Good Evening to all of you experts....!!! as per GMT+5:30
After a long time I want to revise this case again, because as per the conventions we need to check the issue on the latest patch as far as it is possible.
So the good time comes...@@@
I was able to revoke all the sa_rolesso_role from 'sa' user.
Now no user available in the server having the sa_role and sso_role.
So request you all the gurus to suggest me what to do next to regain the specified roles. As 'sa' is in the trouble.
4> select @@version
5> go
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Adaptive Server Enterprise/15.7/EBF 24639 SMP SP134 /P/Sun_svr4/OS 5.10/ase157s
p133x/3925/64-bit/FBO/Sat May 2 13:13:12 2015
here is the situation :
------------------------------
sybase157/ASE-15_0/install>isql -Usa -S syb157134 -w999
Password:
1>
2>
3>
4> sp_displaylogin
5> go
Suid: 1
Loginame: sa
Fullname:
Default Database: master
Default Language:
Auto Login Script:
Configured Authorization:
sa_role (default ON)
sso_role (default ON)
oper_role (default ON)
sybase_ts_role (default ON)
mon_role (default ON)
js_admin_role (default ON)
sa_serverprivs_role (default ON)
Locked: NO
Date of Last Password Change: Jun 9 2015 2:47PM
Password expiration interval: 0
Password expired: NO
Minimum password length: 6
Maximum failed logins: 0
Current failed login attempts:
Authenticate with: AUTH_DEFAULT
Login Password Encryption: SHA-256
Last login date: Aug 7 2015 3:59PM
Exempt inactive lock: 0
(return status = 0)
1>
2>
3> revoke role sso_role from sa
4> go
1> sp_displaylogin
2> go
Suid: 1
Loginame: sa
Fullname:
Default Database: master
Default Language:
Auto Login Script:
Configured Authorization:
sa_role (default ON)
oper_role (default ON)
sybase_ts_role (default ON)
mon_role (default ON)
js_admin_role (default ON)
sa_serverprivs_role (default ON)
Locked: NO
Date of Last Password Change: Jun 9 2015 2:47PM
Password expiration interval: 0
Password expired: NO
Minimum password length: 6
Maximum failed logins: 0
Current failed login attempts:
Authenticate with: AUTH_DEFAULT
Login Password Encryption: SHA-256
Last login date: Aug 7 2015 3:59PM
Exempt inactive lock: 0
(return status = 0)
1>
2>
3> revoke role sa_role from sa
4> go
1> sp_displaylogin
2> go
Suid: 1
Loginame: sa
Fullname:
Default Database: master
Default Language:
Auto Login Script:
Configured Authorization:
oper_role (default ON)
sybase_ts_role (default ON)
mon_role (default ON)
js_admin_role (default ON)
sa_serverprivs_role (default ON)
Locked: NO
Date of Last Password Change: Jun 9 2015 2:47PM
Password expiration interval: 0
Password expired: NO
Minimum password length: 6
Maximum failed logins: 0
Current failed login attempts:
Authenticate with: AUTH_DEFAULT
Login Password Encryption: SHA-256
Last login date: Aug 7 2015 3:59PM
Exempt inactive lock: 0
(return status = 0)
1>
2>
3> revoke role oper_role,sybase_ts_role,mon_role,js_admin_role,sa_serverprivs_role from sa
4> go
Msg 10353, Level 14, State 2:
Server 'syb157134', Line 3:
You must have any of the following role(s) to execute this command/procedure: 'sso_role' . Please contact a user with the appropriate role for help.
1> sp_displaylogin
2> go
Suid: 1
Loginame: sa
Fullname:
Default Database: master
Default Language:
Auto Login Script:
Configured Authorization:
oper_role (default ON)
sybase_ts_role (default ON)
mon_role (default ON)
js_admin_role (default ON)
sa_serverprivs_role (default ON)
Locked: NO
Date of Last Password Change: Jun 9 2015 2:47PM
Password expiration interval: 0
Password expired: NO
Minimum password length: 6
Maximum failed logins: 0
Current failed login attempts:
Authenticate with: AUTH_DEFAULT
Login Password Encryption: SHA-256
Last login date: Aug 7 2015 3:59PM
Exempt inactive lock: 0
(return status = 0)
1>
2>
3>
4>
5> grant role sso_role to sa
6> go
Msg 10353, Level 14, State 2:
Server 'syb157134', Line 5:
You must have any of the following role(s) to execute this command/procedure: 'sso_role' . Please contact a user with the appropriate role for help.
1>
2>
3> grant role sa_role to sa
4> go
Msg 10353, Level 14, State 6:
Server 'syb157134', Line 3:
You must have any of the following role(s) to execute this command/procedure: 'sa_role' . Please contact a user with the appropriate role for help.
1>
========================================================
Kindly let me know that, Is it a bug or anything else.
----
Regards
PKP