Wikipedia:Reference desk/Archives/Computing/2022 April 5
Appearance
Computing desk | ||
---|---|---|
< April 4 | << Mar | April | May >> | April 6 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
April 5
[edit]ionice and drop permissions
[edit]What's the proper way to start a process ionice'd as realtime but with the resulting process starting as a specific normal user instead of as root? 96.232.39.129 (talk) 00:39, 5 April 2022 (UTC)
- The
ionice
program affects scheduling of I/O in Linux. See the Linux General Commands Manual [1] . Philvoids (talk) 17:31, 5 April 2022 (UTC)- Where we read "Realtime [...] This scheduling class is not permitted for an ordinary (i.e., non-root) user." Card Zero (talk) 18:09, 5 April 2022 (UTC)
ionice -c1 su linus -c /bin/whoami
will run whoami
with real-time IO as user linus
LongHairedFop (talk) 18:36, 5 April 2022 (UTC)
- Exactly what I was looking for, thanks. 96.232.39.129 (talk) 10:31, 7 April 2022 (UTC)Resolved