Dropping user-defined roles  Locking and unlocking login accounts

Chapter 14: Managing Adaptive Server Logins, Database Users, and Client Connections

Locking or dropping Adaptive Server login accounts

To prevent a user from logging in to Adaptive Server, you can either lock or drop an Adaptive Server login account. Locking a login is safer than dropping it because locking a login account maintains the suid so that it cannot be reused.

WARNING! Adaptive Server may reuse the server user ID (suid) of a dropped login account when the next login account is created. This occurs only when the dropped login holds the highest suid in syslogins; however, it can compromise accountability if execution of sp_droplogin is not being audited. Also, it is possible for a user with the reused suid to access database objects that were authorized for the old suid.

You cannot drop a login when:





Copyright © 2005. Sybase Inc. All rights reserved. Locking and unlocking login accounts

View this book as PDF