There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

@nirogu@vivaldi.net cover

Computer scientist and mathematician

This profile is from a federated server and may be incomplete. Browse more on the original instance.

nirogu , to linux
@nirogu@vivaldi.net avatar

Run command as not-root

Hi everyone

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.

Does anyone know how to do it? Thanks in advance!

@linux

ursakhiin ,

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

elscallr ,
@elscallr@lemmy.world avatar

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.

nirogu , to linux
@nirogu@vivaldi.net avatar

Problem with WiFi driver in arch linux

Hi everyone

I've been trying to solve a problem with my arch (endeavour) instalation and wanted to know if anyone here can help

Everything is working well, excepting the WiFi connection. It is extremely slow, sometimes disconnecting from the network, and in the task bar, the WiFi icon shows that the signal strength is weak, although the router is in the same room. Switching between r8168 and r8169 as recommended doesnt work. Any ideas?

@linux

nirogu OP ,
@nirogu@vivaldi.net avatar

@Rustmilian @linux Yeah, it's close to impossible to find documentation on what to do here. I'm trying to find out how is it that Fedora works well with the same hardware, and even considering changing the card itself, but for the moment at least my connection is much more stable after setting the iwlwifi.conf file
Once again, thank you for your help!

nirogu OP ,
@nirogu@vivaldi.net avatar

@Link @linux Yep, writing from Tusky right now. The fediverse is great :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines