Skip to content

Commit 3a7a54d

Browse files
Bug fixes
1 parent 7f95167 commit 3a7a54d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/virtual-machines/extensions/vmaccess-linux.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.custom: GGAL-freshness822, devx-track-azurecli
1313

1414
# VMAccess Extension for Linux
1515

16-
The VMAccess Extension is used to manage administrative users, configure SSH, and check or repair disks on Azure Linux virtual machines (VMs). The extension integrates with Azure Resource Manager templates. It can also be invoked using Azure CLI, Azure Powershell, the Azure portal, and the Azure Virtual Machines REST API.
16+
The VMAccess Extension is used to manage administrative users, configure SSH, and check or repair disks on Azure Linux virtual machines. The extension integrates with Azure Resource Manager templates. It can also be invoked using Azure CLI, Azure PowerShell, the Azure portal, and the Azure Virtual Machines REST API.
1717

1818
This article describes how to run the VMAccess Extension from the Azure CLI and through an Azure Resource Manager template. This article also provides troubleshooting steps for Linux systems.
1919

@@ -39,7 +39,7 @@ This article describes how to run the VMAccess Extension from the Azure CLI and
3939
| Ubuntu | 18.04+, 20.04+, 22.04+ | 20.04+, 22.04+ |
4040

4141
### Tips
42-
* VMAccess was designed for the purpose of regaining access to a VM in the event that access is lost. Based on this principle, it will grant sudo permission to account specified in the username field. If you don't wish a user to gain sudo permissions, login to the VM and use built-in tools (e.g. usermod, chage, etc.) to manage unprivileged users.
42+
* VMAccess was designed for the purpose of regaining access to a VM in the event that access is lost. Based on this principle, it will grant sudo permission to account specified in the username field. If you don't wish a user to gain sudo permissions, login to the VM and use built-in tools (for example, usermod, chage, etc.) to manage unprivileged users.
4343
* You can only have one version of the extension applied to a VM. To run a second action, update the existing extension with a new configuration.
4444
* During a user update, VMAccess alters the `sshd_config` file and takes a backup of it beforehand. To restore the original backed-up SSH configuration, run VMAccess with `restore_backup_ssh` set to `True`.
4545

@@ -99,7 +99,7 @@ The VMAccess Extension configuration includes settings for username, passwords,
9999
| username | string | The name of the user to manage (required for all actions on a user account). |
100100
| password | string | The password to set for the user account. |
101101
| ssh_key | string | The SSH public key to add for the user account. The SSH key can be in `ssh-rsa`, `ssh-ed25519`, or `.pem` format. |
102-
| reset_ssh | boolean | Whether or not to reset the SSH. If `true`, it will replace the sshd_config file with an internal resource file corresponding to the default SSH config for that distro. |
102+
| reset_ssh | boolean | Whether or not to reset the SSH. If `true`, it replaces the sshd_config file with an internal resource file corresponding to the default SSH config for that distro. |
103103
| remove_user | string | The name of the user to remove. Can't be used with `reset_ssh`, `restore_backup_ssh`, and `password`. |
104104
| expiration | string | Expiration to set to for the account, in the form of `yyyy-mm-dd`. Defaults to never. |
105105
| remove_prior_keys | boolean | Whether or not to remove old SSH keys when adding a new one. Must be used with `ssh_key`. |
@@ -239,7 +239,7 @@ Set-AzVMExtension -ResourceGroupName "<resource-group>" `
239239
-ProtectedSettings $protectedSettings
240240
```
241241

242-
You can also provide and modify extension settings through the use of strings:
242+
You can also provide and modify extension settings by using strings:
243243

244244
```azurepowershell-interactive
245245
$username = "<username>"
@@ -301,7 +301,7 @@ The VMAccess extension logs exist locally on the VM and are most informative whe
301301
| Location | Description |
302302
| ---- | ---- |
303303
| /var/log/waagent.log | Shows when an update to the extension occurred. This contains logs from the Linux Agent, and we can check it to ensure the extension ran. |
304-
| /var/log/azure/Microsoft.OSTCExtensions.VMAccessForLinux/* | The VMAccess Extension produces logs which can be found here. Here you will see a `CommandExecution.log` where you can find each command executed along with its result. There is also an `extension.log` file which contains individual logs for each execution. |
304+
| /var/log/azure/Microsoft.OSTCExtensions.VMAccessForLinux/* | The VMAccess Extension produces logs, which can be found here. The directory contains `CommandExecution.log` where you can find each command executed along with its result, along with `extension.log` which contains individual logs for each execution. |
305305
| /var/lib/waagent/Microsoft.OSTCExtensions.VMAccessForLinux-\<most recent version\>/config/* | The configuration and binaries for VMAccess VM Extension. |
306306
|||
307307

0 commit comments

Comments
 (0)