grant permission question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: joe (pearl_77_at_hotmail.com)
Date: 03/24/04


Date: Wed, 24 Mar 2004 16:10:52 -0500

under sa account,
I run following script,

exec sp_executesql N'GRANT EXECUTE ON dbo.xp_cmdshell TO joe'

now, I loginid using joe/joe

run following script:
xp_cmdshell ' dir *.exe'

I got error:

Msg 50001, Level 1, State 50001
xpsql.cpp: Error 87 from GetProxyAccount on line 604

Any other question, how do I Undo my grant execution permission to joe?
is there a query to ungrant execute on dbo.xp_cmdshell to joe?



Relevant Pages

  • Re: How to distribute .reg file to W2K Pro users with no admin priv.
    ... You can not execute something from a share. ... The first one is to map network share and use any letter (for ... >> Place your script there. ... > After reading your post I wondered if we could put the .exe the ...
    (microsoft.public.win2000.registry)
  • Re: Install Program
    ... For JRE create a startup script like JRE.bat, also at that location store your .exe file. ... The JRE.bat has to include only the path to the .exe with the switches you need for the quiet install. ... Can I execute this through a ...
    (microsoft.public.win2000.networking)
  • Re: blocking downloaded exe files
    ... block downloading exe as script. ... I want to block users from downloading exe files,> but I don't want to prevent them from using web sites that have an exe file> in the name but execute it rather than downloading it. ...
    (microsoft.public.isa.configuration)
  • RE: Hyperlink in e-mail to run EXE with parameters
    ... That gave my the idea of sending HTML emails, so I can execute the exe from ... VB Script. ... >> What I'm trying to do is to send a hyperlink within an email that would bring ...
    (microsoft.public.vsnet.general)
  • Re: Will Linux become as vulnerable as MS ??
    ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
    (comp.os.linux.security)