Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 22nd, 2004, 05:20 PM
twitness twitness is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 twitness User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Prevent user login from stopping server

This is probably a basic question for most but it's solution has eluded me so far. I've been searching fordays for a solution but perhaps someone with more experience with sql server could help me out.I am fairly new to db administration and have been trying to learn how to setup remote accounts. Now the problem isthat whenever I create a sql server login and try it out, I can restrict which databases the logins have access to(connecting through enterprise manager) but the user logins can click on the server and they have the option toStop or pause the server. My understanding from looking this problem up is that only the serveradmin role can dothis--but I haven't given these new accounts that role but they still have the ability to do it. Could the newlogins be inheriting this ability someone? And how would one specifically deny a login the ability to pause orstop the server. Remote logins would be useless if I gave them out and the user could stop my server.
I have also found that if I log in the query analyzer with one of these accounts in question, and try the"SHUTDOWN" command, it gives the error "User does not have permission to perform this action." which is perfect.However, when I log in through the enterprise manager with the same login, I still get the stop/pause server optionwhen I right click on the server registration. Would anyone know if the transact-sql "shutdown" command and the"stop" server option listed in enterprise manager are based on different permissions?
Also, from my understanding, the login accounts are made inside sql server and are not tied to any windows accounts. When I have tried the logins, it's using sql server authentication alone.
Thanks for any info you can provide.

Reply With Quote
  #2  
Old March 14th, 2004, 10:52 PM
busyweb busyweb is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 5 busyweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Server Administrators

Would you check if new login has Server Administrators Roll
in the SQL Server Login Properties from Security Menu of Server.

Server Admin can have roles of RECONFIGURE and SHUTDWON commands.

Reply With Quote
  #3  
Old March 17th, 2004, 03:11 AM
QWERTY QWERTY is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 3 QWERTY User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 0
I also have the same problem

Is this supposed to happen? surely not... Please help - got plebs all over stopping my servers!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Prevent user login from stopping server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT