Q

Creating multiple SA user accounts

Sybase expert Mich Talebzadeh demonstrates how to create multiple SA user accounts.

Is it possible for more than one SA user account can be created? How?

Sure, it's possible. You can assign the 'SA' role to any user in ASE.

1> sp_addlogin mich,'london99',master
2> go
Password correctly set.
Account unlocked.
New login created.
(return status = 0)
1> sp_role 'grant', 'sa_role',mich
2> go
Authorization updated.
(return status = 0)
1> sp_addlogin mimi, 'london99',master
2> go
Password correctly set.
Account unlocked.
New login created.
(return status = 0)
1> sp_role 'grant', 'sa_role',mimi
2> go
Authorization updated.
(return status = 0)
1> sp_displaylogin mich
2> go
Suid: 3
Loginame: mich
Fullname:
Default Database: master
Default Language:
Auto Login Script:
Configured Authorization:
        sa_role (default ON)
Locked: NO
Date of Last Password Change: Jan 17 2006  2:31AM
Password expiration interval: 0
Password expired: NO
Minimum password length: 6
Maximum failed logins: 0
Current failed login attempts:
Authenticate with: ANY
(return status = 0)
1> sp_displaylogin mimi
2> go
Suid: 4
Loginame: mimi
Fullname:
Default Database: master
Default Language:
Auto Login Script:
Configured Authorization:
        sa_role (default ON)
Locked: NO
Date of Last Password Change: Jan 17 2006  2:31AM
Password expiration interval: 0
Password expired: NO
Minimum password length: 6
Maximum failed logins: 0
Current failed login attempts:
Authenticate with: ANY
(return status = 0)
This was last published in January 2006

Dig Deeper on Linux server hardware

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close