At work, I have to run a command in an AWS instance. In that particular instance only exists the root user. The command should not be executed with root privileges (it executes mpirun, which is not recommended to run as sudo or the machine might break), so I was wondering if there is a way to block or disable the sudo privileges while the command is running. As mentioned, the only user existing there is root, so I suppose "sudo -u" is not an option.
It’s not that an Amazon instance can be a docker container. It was more that the behavior you are describing is extremely odd for a full Linux environment but normal for a docker container.
If you created the instance, it isn’t likely a container. But it also sounds like the base image might be poorly set up
You’ll thank yourself for it later. Things like this take a little longer up front but putting them off has a way of making you have to work around it again and again until, when you get around to correcting it, it takes far more time to undo the workarounds than it would’ve taken to correct it the first time.
just need something to do light development (docker, python, rust, with an ide). something i can upgrade (ram, ssd minimum). laptop would best, but desktop works too...
If all the seemingly pointless discussions about which distro is better comes from attachment to a spesific distro and if a distro is just a way to interract with linux than all the discussion about witch distro is better etc. fundementally comes from a a place of love and appreciation for Linux as an OS....
So I like this MacOS feature where your cursor displays in large. I was hoping if anyone knew of such software that replicates this functionality for Linux. Considering MacOS and Linux are both Unix, and libraries are different, could X or Wayland help replicate this?...
Hi, this is a long lasting problem that I didn't really manage to fix when I started using linux (Mint, Cinnamon). But now that I've been using it regularly for half a year and I have more experience in fiddling around, I'm trying to get it resolved....
I am currently using Windows on an older HP Laptop, which I intend to replace with a Framework 16 by next summer, but my Desktop PC at home has been running EndeavourOS, my first ever Linux distro, since last summer, so I have some Arch-based experience....
Hi, lets talk about 2in1 laptops and tablets. Which ones are the best for running linux on them, which ones are your favorites right now, what do you like using them for, etc. I find myself really missing having a 2in1 sometimes, especially for the portability aspects of them....
I’m curious about the possible uses of the hardware Trusted Protection Module for automatic login or transfer encryption. I’m not really looking to solve anything or pry. I’m just curious about the use cases as I’m exploring network attached storage and to a lesser extent self hosting. I see a lot of places where public...
We heard your feedback during the launch of the Fedora Slimbook 16 and, along with the folks from Slimbook, bring you the new Fedora Slimbook 14, a smaller, lighter, cheaper with even better battery life, version of the Fedora Slimbook, powered by an Intel CPU and GPU (unfortunetely no AMD version soon).
I have used Linux on and off for 15 years. I consider myself a casual user and stuck to the mainstream DEs (mostly KDE, XFCE and some Cinnamon). Gnome has been a hurdle for me before and after the big version 40 changes, I couldn’t get my head around how they handled the workspaces and workflow. At some point I I tried out an...
I’m going to replace my host os on my shitty laptop with Linux specifically puppy Linux or alpine Linux from scratch and I need to know how will I get started and make it easier for myself, I use a HP notebook 540
Title. Long,short story: creating or editing files with nano as my non-root user gives (the file) elevated privileges, like I have ran it w/ sudo or as root. And the (only) “security hole” that I can think of is a nextdns docker container running as root. That aside, its very “overkill” security-wise (cap_drop=ALL,...
I’m brand new to Linux, running Mint on an old laptop to get a few more years out of it. I can install things via CLI, but I prefer GUI if available....
I’m considering building a new machine soon and was looking at the Intel Arc GPUs as a possibility. Anyone have experience using them in their system? I’m on Arch btw
I currently have a PC running Windows 11 that my S/O and I use multi-seated with Aster Multiseat. However, we’re both equally sick of Windows and are interested in switching to Linux....