Replies

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

realcaseyrollins, to technology
astraeus,
@astraeus@programming.dev avatar

I saw this in Carole and Tuesday, they were the only “natural” songwriters left because computers wrote songs for everyone at that point. I don’t know if that’s a realistic take, but it’s depressing nonetheless. Why can’t we have computers do things that take joy from us instead of the things that bring us joy? You know, like cleaning up dumps or solving problems we would rather not think about? Why are they taking the arts away?

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

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

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

BolexForSoup, to linux
BolexForSoup avatar

Looking to dip my toes into Linux for the first time. I have a 2016 Intel MacBook Pro with pretty solid specs collecting dust right now that I think I’m going to use. Research so far has indicated to me that the two best options for me are likely Mint or Elementary OS. Does anyone have any insight? Also open to other OS’s. I would consider myself decently tech savvy but I am not a programmer or anything. Comfortable dipping into the terminal when the need arises and all that.

@linux

astraeus,
@astraeus@programming.dev avatar

Mint doesn’t by default, but it is based on Canonical’s Ubuntu which is not the most privacy friendly distro. Depending on how you install your software, some telemetry might go to Canonical.

jlou, to technology

Longtermism poses a real threat to humanity

https://www.newstatesman.com/ideas/2023/08/longtermism-threat-humanity

"AI researchers such as Timnit Gebru affirm that longtermism is everywhere in Silicon Valley. The current race to create advanced AI by companies like OpenAI and DeepMind is driven in part by the longtermist ideology. Longtermists believe that if we create a “friendly” AI, it will solve all our problems and usher in a utopia, but if the AI is “misaligned”, it will destroy humanity...."

@technology

astraeus,
@astraeus@programming.dev avatar

This article makes me think of two great, classic anime series: Ghost in the Shell and Serial Experiments Lain.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • slotface
  • ngwrru68w68
  • everett
  • mdbf
  • modclub
  • rosin
  • khanakhh
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Youngstown
  • GTA5RPClips
  • InstantRegret
  • provamag3
  • kavyap
  • ethstaker
  • osvaldo12
  • normalnudes
  • tacticalgear
  • cisconetworking
  • cubers
  • Durango
  • Leos
  • anitta
  • tester
  • megavids
  • lostlight
  • All magazines