Skip to content

Commit 6f0e12e

Browse files
committed
Fixed broken links
1 parent 393276d commit 6f0e12e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

articles/confidential-computing/hardening-linux-image-to-remove-sudo-users.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ In the context of admin-less Linux images, the aim is to deploy systems without
3232
## Prerequisites
3333

3434
- If you don't have an Azure subscription, [create a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
35-
- An Ubuntu image - you can choose one from the [Azure Marketplace](https://learn.microsoft.com/en-us/azure/virtual-machines/linux/cli-ps-findimage).
35+
- An Ubuntu image - you can choose one from the [Azure Marketplace](/azure/virtual-machines/linux/cli-ps-findimage).
3636

3737
### Remove sudo users and prepare a generalized Linux image
3838

@@ -41,12 +41,12 @@ The proposed solution results in a Linux image without sudo users.
4141
Steps to create a generalized image that removes the sudo users are as follows:
4242

4343
1. Download an Ubuntu image from the Marketplace.
44-
[Azure supported Ubuntu images](https://learn.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-ubuntu)
44+
[Azure supported Ubuntu images](/azure/virtual-machines/linux/create-upload-ubuntu)
4545

4646
2. Mount the image.
4747

4848
There are several ways to do this, the example uses the loop device to mount the image. It can either be a disk attached or a loop device.
49-
[Mount the image](https://learn.microsoft.com/en-us/azure/virtual-machines/linux/attach-disk-portal?tabs=ubuntu#mount-the-disk:~:text=new%20filesystem%20immediately.-,Mount%20the%20disk,-Create%20a%20directory)
49+
[Mount the image](/azure/virtual-machines/linux/attach-disk-portal?tabs=ubuntu#mount-the-disk:~:text=new%20filesystem%20immediately.-,Mount%20the%20disk,-Create%20a%20directory)
5050

5151
$imagedevice is the root filesystem's partition on the device that contains the image.
5252
```
@@ -79,7 +79,6 @@ If there are any users with sudo privileges, they are listed here,
7979
6. Repeat step 4 to validate that the user has no sudo privilege on the vhd.
8080
8181
7. Unmount the image.
82-
8382
```
8483
umount /mnt/dev/$imagedevice
8584
```

0 commit comments

Comments
 (0)