@astraeus@programming.dev
@astraeus@programming.dev avatar

astraeus

@astraeus@programming.dev

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

astraeus,
@astraeus@programming.dev avatar

“Why are you destroying your yard with an abundance of bees and butterflies? This isn’t fantasy land we need nothing but grass here to look nice”

astraeus,
@astraeus@programming.dev avatar

If only everyone realized that grass is just a weed and not worth the maintenance and effort we put into it, it’s sad how ubiquitous it is in some places

astraeus, (edited )
@astraeus@programming.dev avatar

Some legal software only runs on Windows, including some of the proprietary video software used by courts and police departments. There’s a ton of reason they should move towards interoperability in the legal system, but a lot of this software is contract-bound and carries lofty promises of security and privacy.

That being said, I would try to run those on Wine if it’s possible.

astraeus,
@astraeus@programming.dev avatar

Same, love using it for terminal and vscode

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

astraeus,
@astraeus@programming.dev avatar

Unfortunately hiding sudo from root would lead to much greater issues. You can remove sudo privileges from a non-root user, but I don’t think there’s a feasible way to do so for root.

Does your new user have a proper shell setup? If you type bash in the new user’s terminal does it give you anything?

astraeus,
@astraeus@programming.dev avatar

It’s nothing but root all the way down

astraeus,
@astraeus@programming.dev avatar

There are no other users at all? Seems like a lot of stuff simply wouldn’t work without a single non-root user, not to mention this is a pretty bad security stance considering the only user is the most powerful one.

If you do have another user on the instance you can su as that other user, nobody for example, from the root account. Run ‘cat /etc/passwd’ and you will see every available user on the instance.

astraeus,
@astraeus@programming.dev avatar

I just got three bills in the mail over the course of a month for a single procedure. They haven’t said they’re done billing me yet, so I can’t assume the bill storm is over

astraeus,
@astraeus@programming.dev avatar

Windows has lost a ton of market share, unfortunately it gave much of that market share to MacOS

astraeus,
@astraeus@programming.dev avatar

You’ve read your last complementary article this month. The second Library of Alexandria doesn’t burn down, it gets locked behind a paywall.

Ubuntu 24.04 LTS Committing Fully To Netplan For Network Configuration (www.phoronix.com)

The Canonical-developed Netplan has served for Linux network configuration on Ubuntu Server and Cloud versions for years. With the recent Ubuntu 23.10 release, Netplan is now being used by default on the desktop. Canonical is committing to fully leveraging Netplan for network configuration with the upcoming Ubuntu 24.04 LTS...

astraeus,
@astraeus@programming.dev avatar

24.04 LTS is a distribution intended primarily for servers, desktop is not the priority environment.

astraeus,
@astraeus@programming.dev avatar

Performance-tweaked, because Microsoft is incapable of performance tweaking their own operating system

astraeus,
@astraeus@programming.dev avatar

Why remove the bloat? That’s where all the core kernel utilities live!

astraeus, (edited )
@astraeus@programming.dev avatar

I can’t tell you the number of times I have in fact edited files using vim even with a WM and DE. I just treat my laptop like it’s a server I connect directly to now

Oh, or even better how many times I used the terminal in VSC to vim edit something 😂

astraeus,
@astraeus@programming.dev avatar

I have the opposite problem on Windows, my computer stops running whenever it goes to sleep. I think it’s Nvidia-related, but I’m not entirely sure how to track it down. The errors I get are not very helpful.

astraeus,
@astraeus@programming.dev avatar

As basic as the instructions might be, super useful stuff for bulk operations in here. Thanks for the post!

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