SAS Object Spawner's baseowxcmd and nonoxcmd options Invalid problem solving under Win2003

xiaoxiao2021-03-19  212

When you submit the code to the IM server, if you use the operating system's shell command, such as FileName Pipe or SYSTASK command, then the following error is reported when running these code: Error: Access is Denied. Or Error: Insufficient Authorization for Systask Command. Object Spawner defaults to use Noxcmd options, which can prevent client submission of any type of operating system command, such as the current user has superuser privileges, then Object Spawner can join allowxcmd or nonoxcmd Option, this allows the client to use the command of the operating system. This is workable, but Win2003Server exceptions. To properly resolve this issue in Win2003, you need to give read / execute permissions to the CMD.exe command for the BATCH group.

To verify the BATCH group already has the appropriate permissions, you can run the following command view: C: / windows / system32> CACLS% COMSPEC% If the permissions are correct, you will see the following output: c: /windows/system32/cmd.exe BUILTIN / Administrators: R NT Authority / Interactive: R NT Authority / Service: R NT Authority / System: f PCR64DUAL2 / TELNETCLIENTS: R The following steps guide you to Batch rent for the cmd.exe command to read / Execution Permissions 1. You must use Super User Login 2.) Locate to C: /Windows/system32/cmd.exe file 3.) Right-click the mouse on the file, select the property submenu item on the pop-up shortcut menu, then On the security card, click Advanced Buttons 4.) On the Permissions Card of the Advanced Security Settings window, click Add Buttons 5.) Enter the Batch in the Enter Object Name, and then click the Check Name button if you enter correct The BATCH name will appear underlined. Then click OK button 6.) In the Permissions window, selection to the BATCH user group to allow reading / run, read 2 sub-items 7.) Click OK to save the modifications.

转载请注明原文地址:https://www.9cbs.com/read-130064.html

New Post(0)