Skip to content

Commit 0e2f078

Browse files
committed
minor edits
1 parent ae086e4 commit 0e2f078

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/migrate/tutorial-discover-physical.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,20 @@ For discovering Linux servers, you can set up a least privileged sudo account by
6969
- For example, you can add an entry like this in the `/etc/sudoers` file.
7070

7171
```
72-
AzMigrateLeastprivuser ALL=(ALL) NOPASSWD: /usr/sbin/dmidecode, /usr/sbin/fdisk -l, /usr/sbin/fdisk -l *, /usr/bin/ls -l, /usr/bin/netstat, /usr/sbin/lvdisplay ""
72+
AzMigrateLeastprivuser ALL=(ALL) NOPASSWD: /usr/sbin/dmidecode -s system-uuid, /usr/sbin/dmidecode -t 1, /usr/sbin/dmidecode -s system-manufacturer, /usr/sbin/fdisk -l, /usr/sbin/fdisk -l *, /usr/bin/ls -l, /usr/bin/netstat, /usr/sbin/lvdisplay ""
7373
Defaults:AzMigrateLeastprivuser !requiretty
7474
7575
```
7676
- If any of the packages mentioned aren't available in the target Linux distributions, use the following fallback commands:
7777

7878
```
79-
- if /usr/sbin/dmidecode -s system-uuid is not available, add permissions to /usr/bin/cat /sys/class/dmi/id/product_uuid.
79+
- If /usr/sbin/dmidecode -s system-uuid is not available, add permissions to /usr/bin/cat /sys/class/dmi/id/product_uuid.
8080
81-
- if /usr/sbin/dmidecode -t 1 isn't available, add permissions to /usr/sbin/lshw ""
81+
- If /usr/sbin/dmidecode -t 1 isn't available, add permissions to /usr/sbin/lshw ""
8282
83-
- if /usr/sbin/dmidecode system-manufacturer isn't available, add permissions to /usr/bin/cat /sys/devices/virtual/dmi/id/sys_vendor
83+
- If /usr/sbin/dmidecode system-manufacturer isn't available, add permissions to /usr/bin/cat /sys/devices/virtual/dmi/id/sys_vendor
8484
85-
- if /usr/bin/netstat isn't available, add permissions to /usr/sbin/ss -atnp
85+
- If /usr/bin/netstat isn't available, add permissions to /usr/sbin/ss -atnp
8686
8787
```
8888
- The list of commands run on the target servers and the information they collect. [Learn more](discovered-metadata.md#linux-server-metadata).

0 commit comments

Comments
 (0)