CACLS for local users

K

Ken Buchanan

Anyone know how to set ACLs using CACLS (or any other CLI)
on a remote box referencing a local user on the remote box?

This does not work :

cacls \\myserver\c$\data /t /e /c /g myserver\ken:r

I get the "no mapping between account names" error

Trouble is the user ID in question is on all 1000 of my
servers and is also on the domain. I'm trying to do this
from an ASP page.

TIA

Ken
 
J

Joe Richards [MVP]

You would have to connect directly to that box and run the command. The security principal piece has to do a lookup on
the friendly name to get a sid to add to the ACE. This functionality isn't in CACLS to do it remotely. I am not
immediately aware of any tools that would do that.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top