@Rustmilian@lemmy.world
@Rustmilian@lemmy.world avatar

Rustmilian

@Rustmilian@lemmy.world

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

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

There’s a source that says something about using the AWS Systems Manager Session Manager by ““Configuring the necessary IAM permissions for your user or role to access the instance using Session Manager 1
Open the AWS Systems Manager console, navigate to the “Session Manager” page, and select the instance you want to access
Click on the “Start session” button to initiate the session with the instance.
Once the session is established, you can run commands as the root user without the need for sudo””
I’m unsure if this achieves exactly what you need though.

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

You can run commands as the new user from the root account.
su -c ‘command’ username
Enter the password for the new user when prompted.
This way at least the main account is still root and the command is being run without root privileges on the new users account.

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

servo (already partially in Firefox) is a very interesting project.

Rustmilian,
@Rustmilian@lemmy.world avatar

He’s referring to www being a pointless subdomain alias, I think.

Rustmilian,
@Rustmilian@lemmy.world avatar

5/6 are the cage as far as I’m concerned.

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

Republicans or Democrats, doesn’t matter.
They’re still a bunch of clown politicians more focused on saving their own ass then doing what’s right.
Y’all can down vote all you want, but deep down you know it’s true.

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

The United States of America is NOT a democracy.
It’s a Constitutional Federal Republic.
This is a FACT.

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

I’m not a fan of all the blank space in their design language, it doesn’t look bad or anything but I don’t have a touch screen and having to move the mouse around so much for long periods of time physically hurts, especially on laptops.
I wish it was more… desktop friendly… If they took more advantage of the dynamic layout capabilities of GTK4 to have a better desktop layout based on their already existing design language while still having this mobile esk layout for other devices, we’d be golden.
If they don’t want to do that, they should at least increase the default mouse speed so it feels better out of the box.

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

Instead of using valid commit messages they just slap on “” which isn’t valid anywhere other than the GitHub web UI.

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

“at this time”

Meaning they’re planning/considering to in the future.

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

So they are considering it.
Thanks for confirming my point.
If they weren’t, they wouldn’t have specified, they’d just say “we will not be accepting Pull Requests”.

You should try being a native English reader.

Ironic

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

It’s exactly what it means.

“Although we’ll be hosting the repository on GitHub, our contribution workflow will remain unchanged and we will not be accepting Pull Requests at this time

We can all read it right there plan as day.
If they weren’t planning to/considering it, then why specify “at this time”?
I’m only a native English speaker, so guess I could be interpreting it wrong.
Do tell oh wise one, what alternative meaning could it possibly have?

Edit : statement from glob himself. 1000000728

Rustmilian,
@Rustmilian@lemmy.world avatar

You’ll see.

Rustmilian, (edited )
@Rustmilian@lemmy.world avatar

What’s funny is I have direct contact with some of the internal Firefox devs. ◉⁠‿⁠◉
I’ll deadass just ask.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #