Skip to content

Commit 053c8e9

Browse files
committed
more changes wait for ariel
1 parent 60498d4 commit 053c8e9

File tree

1 file changed

+22
-53
lines changed

1 file changed

+22
-53
lines changed

articles/defender-for-iot/organizations/cli-ot-sensor.md

Lines changed: 22 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Health checks are also available from the OT sensor console. For more informatio
3535
|User |Command |Full command syntax |
3636
|---------|---------|---------|
3737
|**admin** | `system sanity` | No attributes |
38-
|**cyberx**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-sanity` | No attributes |
38+
<!--|**cyberx**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-sanity` | No attributes |-->
3939

4040
The following example shows the command syntax and response for the *admin* user:
4141

@@ -85,8 +85,7 @@ Use the following commands to reboot the OT sensor appliance.
8585
|User |Command |Full command syntax |Response to command |
8686
|---------|---------|---------|----|
8787
|**admin** | `system reboot` | No attributes | > Are you Sure? [y/N] <br><br> Message asking for password – you are given 3 attemps to enter the correct password, then will return to command line. |
88-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo reboot` | No attributes ||
89-
|**cyberx_host** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo reboot` | No attributes ||
88+
<!--|**admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo reboot` | No attributes ||-->
9089

9190
For example, for the *admin* user:
9291

@@ -101,9 +100,7 @@ Use the following commands to shut down the OT sensor appliance.
101100
|User |Command |Full command syntax |Response to command |
102101
|---------|---------|---------|---|
103102
|**admin** | `system shutdown` | No attributes | > Are you Sure? [y/N] <br><br> Message asking for password – you are given 3 attemps to enter the correct password, then will return to command line. |
104-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo shutdown -r now` | No attributes | |
105-
|**cyberx_host**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo shutdown -r now` | No attributes | |
106-
103+
<!--| **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `sudo shutdown -r now` | No attributes | |-->
107104

108105
For example, for the *admin* user:
109106

@@ -120,7 +117,7 @@ Use the following commands to list the Defender for IoT software version install
120117
|User |Command |Full command syntax | Response to command |
121118
|---------|---------|---------|---|
122119
|**admin** | `system version` | No attributes | display of version data|
123-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-version` | No attributes | |
120+
<!--|**admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-version` | No attributes | |-->
124121

125122
For example, for the *admin* user:
126123

@@ -142,8 +139,7 @@ Use the following commands to show the current system date and time on your OT n
142139
|User |Command |Full command syntax | Response to command |
143140
|---------|---------|---------|---|
144141
|**admin** | `date` | No attributes | display of date |
145-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `date` | No attributes | |
146-
|**cyberx_host** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `date` | No attributes | |
142+
| **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `date` | No attributes | |
147143

148144
For example, for the *admin* user:
149145

@@ -164,7 +160,7 @@ To use these commands, make sure that:
164160
|User |Command |Full command syntax |
165161
|---------|---------|---------|
166162
|**admin** | `ntp enable <IP address>` | No attributes |
167-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-ntp-enable <IP address>` | No attributes |
163+
<!--| **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-ntp-enable <IP address>` | No attributes |-->
168164

169165
In these commands, `<IP address>` is the IP address of a valid IPv4 NTP server using port 123.
170166

@@ -191,7 +187,7 @@ Use the following commands to turn off the synchronization for the appliance tim
191187
|User |Command |Full command syntax |
192188
|---------|---------|---------|
193189
|**admin** | `ntp disable <IP address>` | No attributes |
194-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-ntp-disable <IP address>` | No attributes |
190+
<!--|**admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-ntp-disable <IP address>` | No attributes |-->
195191

196192
In these commands, `<IP address>` is the IP address of a valid IPv4 NTP server using port 123.
197193

@@ -225,7 +221,7 @@ Use the following commands to list the backup files currently stored on your OT
225221
|User |Command |Full command syntax |
226222
|---------|---------|---------|
227223
|**admin** | `system backup list` | No attributes |
228-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | ` cyberx-xsense-system-backup-list` | No attributes |
224+
<!--|**admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | ` cyberx-xsense-system-backup-list` | No attributes |-->
229225

230226
For example, for the *admin* user:
231227

@@ -246,7 +242,7 @@ Use the following commands to start an immediate, unscheduled backup of the data
246242
|User |Command |Full command syntax |
247243
|---------|---------|---------|
248244
|**admin** | `system backup` | No attributes |
249-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | ` cyberx-xsense-system-backup` | No attributes |
245+
<!--| **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | ` cyberx-xsense-system-backup` | No attributes |-->
250246

251247
For example, for the *admin* user:
252248

@@ -270,7 +266,7 @@ Use the following commands to restore data on your OT network sensor using the m
270266
|User |Command |Full command syntax |
271267
|---------|---------|---------|
272268
|**admin** | `system restore` | No attributes |
273-
|**cyberx**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | ` cyberx-xsense-system-restore` | `-f` `<filename>` |
269+
<!--|**admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | ` cyberx-xsense-system-restore` | `-f` `<filename>` |-->
274270

275271
For example, for the *admin* user:
276272

@@ -371,22 +367,21 @@ executing a query to add the certificate to db
371367
finished
372368
root@xsense:/#
373369
```
374-
370+
<!--remove until here??-->
375371

376372
## Local user management
377-
<!-- this entire section doesnt seem to exist anymore - has it been moved??-->
373+
378374
### Change local user passwords
379375

380376
Use the following commands to change passwords for local users on your OT sensor. The new password must be at least 8 characters, contain lowercase and uppercase, alphabetic characters, numbers and symbols.
381377

382-
When you change the password for the *admin*, *cyberx*, or *cyberx_host* user, the password is changed for both SSH and web access.
383-
378+
When you change the password for the *admin* user, the password is changed for both SSH and web access. <!-- is this correct now?? -->
384379

385380
|User |Command |Full command syntax |
386381
|---------|---------|---------|
387382
|**admin** | `system password` | `<username>` |
388-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-users-password-reset` | `cyberx-users-password-reset -u <user> -p <password>` |
389-
|**cyberx_host**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `passwd` | No attributes |
383+
<!--|**admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-users-password-reset` | `cyberx-users-password-reset -u <user> -p <password>` |-->
384+
| **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `passwd` | No attributes |
390385

391386
For example, for the *admin* user:
392387

@@ -397,31 +392,6 @@ Reenter Password:
397392
398393
```
399394

400-
<!-- exclude the following examples.-->
401-
The following example shows the *cyberx* user resetting the *admin* user's password to `jI8iD9kE6hB8qN0h`:
402-
403-
```bash
404-
root@xsense:/# cyberx-users-password-reset -u admin -p jI8iD9kE6hB8qN0h
405-
resetting the password of OS user "admin"
406-
Sending USER_PASSWORD request to OS manager
407-
Open UDS connection with /var/cyberx/system/os_manager.sock
408-
Received data: b'ack'
409-
resetting the password of UI user "admin"
410-
root@xsense:/#
411-
```
412-
413-
The following example shows the *cyberx_host* user changing the *cyberx_host* user's password.
414-
415-
```bash
416-
cyberx_host@xsense:/# passwd
417-
Changing password for user cyberx_host.
418-
(current) UNIX password:
419-
New password:
420-
Retype new password:
421-
passwd: all authentication tokens updated successfully.
422-
cyberx_host@xsense:/#
423-
```
424-
425395
## Network configuration
426396

427397
### Network settings
@@ -479,7 +449,7 @@ Use the following commands to send a ping message from the OT sensor.
479449
|User |Command |Full command syntax |
480450
|---------|---------|---------|
481451
|**admin** | `ping <IP address>` | No attributes|
482-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `ping <IP address>` | No attributes |
452+
<!--|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `ping <IP address>` | No attributes |-->
483453

484454
In these commands, `<IP address>` is the IP address of a valid IPv4 network host accessible from the management port on your OT sensor.
485455

@@ -523,7 +493,7 @@ Use the following command to display network traffic statistics.
523493

524494
|User |Command |Full command syntax |
525495
|---------|---------|---------|
526-
|**cyberx** , or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `network statistics` | No attributes |
496+
|**admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `network statistics` | No attributes |
527497

528498
```bash
529499
shell> network
@@ -567,12 +537,12 @@ param
567537

568538

569539
#### Check internet connection
570-
540+
<!-- remove this???-->
571541
Use the following command to check the internet connectivity on your appliance.
572542

573543
|User |Command |Full command syntax |
574544
|---------|---------|---------|
575-
|**cyberx**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-internet-connectivity` | No attributes |
545+
|**admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `cyberx-xsense-internet-connectivity` | No attributes |
576546

577547
```bash
578548
root@xsense:/# cyberx-xsense-internet-connectivity
@@ -582,7 +552,7 @@ root@xsense:/#
582552
```
583553

584554
### Set bandwidth limit for the management network interface
585-
555+
<!-- remove this???-->
586556
Use the following command to set the outbound bandwidth limit for uploads from the OT sensor's management interface to the Azure portal or an on-premises management console.
587557
588558
Setting outbound bandwidth limits can be helpful in maintaining networking quality of service (QoS). This command is supported only in bandwidth-constrained environments, such as over a satellite or serial link.
@@ -626,7 +596,7 @@ root@xsense:/# cyberx-xsense-limit-interface --interface eth0 --limit 1000mbps
626596
setting the bandwidth limit of interface "eth0" to 1000mbps
627597
```
628598
629-
599+
<!--remove to here??-->
630600
631601
632602
### Physical interfaces
@@ -655,7 +625,7 @@ Use the following commands to list the connected physical interfaces on your OT
655625
|User |Command |Full command syntax |
656626
|---------|---------|---------|
657627
|**admin** | `network list` | No attributes |
658-
|**cyberx**, or **admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `ifconfig` | No attributes |
628+
|**admin** with [root access](references-work-with-defender-for-iot-cli-commands.md#access-the-system-root-as-an-admin-user) | `ifconfig` | No attributes |
659629
660630
For example, for the *admin* user:
661631
@@ -707,7 +677,6 @@ The basic use case for capture filters uses the same filter for all Defender for
707677

708678
The method used to configure a basic capture filter differs, depending on the user performing the command:
709679

710-
- **cyberx** user: Run the specified command with specific attributes to configure your capture filter.
711680
- **admin** user: Run the specified command, and then enter values as [prompted by the CLI](#create-a-basic-capture-filter-using-the-admin-user), editing your include and exclude lists in a nano editor.
712681

713682
Use the following commands to create a new capture filter:

0 commit comments

Comments
 (0)