Q

Creating multiple SA user accounts

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

This Content Component encountered an error
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 first 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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close