johnaregan
Programmer
- Mar 13, 2001
- 87
Hi
I am trying to centralise changing user passwords on NT, SQL Server databases. In order to do this in a stored procedure I want to be able to call the dos command line
net user username password /domain
using xp_cmdshell.
When I use just an ordinary command like Dir it works fine but when trying to use the net user it fails.
Is this to do with permissions?, the login I am using for SQL Server is sa.
If it is permissions can anyone tell me where and how would I make the changes so that the command would work.
Thanks in advance
I am trying to centralise changing user passwords on NT, SQL Server databases. In order to do this in a stored procedure I want to be able to call the dos command line
net user username password /domain
using xp_cmdshell.
When I use just an ordinary command like Dir it works fine but when trying to use the net user it fails.
Is this to do with permissions?, the login I am using for SQL Server is sa.
If it is permissions can anyone tell me where and how would I make the changes so that the command would work.
Thanks in advance