mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
add a tiny sudo example to the readme
This commit is contained in:
parent
f62b7b4520
commit
a011e2e122
1 changed files with 3 additions and 0 deletions
|
@ -112,6 +112,9 @@ inspec exec test.rb -t winrm://Administrator@windowshost --password 'your-passwo
|
|||
|
||||
# run test on docker container
|
||||
inspec exec test.rb -t docker://container_id
|
||||
|
||||
# run with sudo
|
||||
inspec exec test.rb --sudo [--sudo-password ...] [--sudo-options ...]
|
||||
```
|
||||
|
||||
### detect
|
||||
|
|
Loading…
Reference in a new issue