Update Documentation For cmd.run regarding Windows runas argument #57949
Labels
doc-request
net new docs requested
Documentation
Relates to Salt documentation
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
time-estimate-sprint
Milestone
The following code snippet is the only place where there is any mention of using the password field:
salt/salt/states/cmd.py
Lines 869 to 873 in 53cc103
The documentation should warn of this as well.
Also, the error that I get when this is omitted (On 2019.2) is "embedded null character". There should be better error detection for a lack of password input on Windows.
The state code to reproduce the issue is relatively simple:
The text was updated successfully, but these errors were encountered: