Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 1062  / 2 Years ago, sun, november 28, 2021, 6:29:36

When you want to create a bootable usb memory stick, then you must identify as a sudoer. Why is that? I have no difficulty understanding why unprivileged users shouldn't be allowed to fiddle with the installed system, but why shouldn't you be allowed to copy grub onto the memory stick if you have write access to it?


More From » grub2

 Answers
7

Policy Kit foresees the following actions related to Usb Creator



$ pkaction --verbose | grep -A1 '.usb' | less
com.ubuntu.usbcreator.bootloader:
description: Install the bootloader
--
com.ubuntu.usbcreator.format:
description: Format the device
--
com.ubuntu.usbcreator.image:
description: Image the device
--
com.ubuntu.usbcreator.mount:
description: Mount a device


These are actions that only root can execute, given that block devices are owned by root.


[#43443] Tuesday, November 30, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lintical

Total Points: 344
Total Questions: 122
Total Answers: 106

Location: Sint Maarten
Member since Mon, Oct 12, 2020
4 Years ago
lintical questions
Thu, Jan 12, 23, 03:07, 1 Year ago
Mon, Jun 28, 21, 07:01, 3 Years ago
Sat, Aug 7, 21, 04:29, 3 Years ago
Mon, Dec 5, 22, 00:03, 1 Year ago
;