Skip to content

Commit 7bbbfaa

Browse files
committed
minor edits
1 parent 2b44d49 commit 7bbbfaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/migrate/best-practices-least-privileged-account.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ The guest user account needs permission to access the CIMV2 namespace and its su
138138
#### Linux servers
139139

140140
1. Create a user account, for example, AzMigrateLeastprivuser.
141-
1. Grant sudo privileges to the user for only the required commands by adding the following line:
141+
1. Grant sudo privileges to the user for only the required commands by adding the following line in the /etc/sudoers file:
142142

143143
```
144144
AzMigrateLeastprivuser ALL=(ALL) NOPASSWD: /usr/sbin/dmidecode, /usr/sbin/fdisk -l, /usr/sbin/fdisk -l *, /usr/bin/ls -l /proc/*/exe, /usr/bin/netstat -atnp, /usr/sbin/lvdisplay ""

0 commit comments

Comments
 (0)