“sudo is not recognized an an internal or external command”

I literally saw that kind of message very recently on a nixos based machine and I literally had to stand up and do a lap. What in God’s green earth do you mean there’s no ‘sudo’??

@bleistift2@sopuli.xyz
link
fedilink
English
56M

Linux: Keeps the same quirks in shells alive for half a century BeCaUsE bAcKwArDs CoMpAtIbIlItY.

Also Linux:

Nixos scares me

i mean there are other superuser commands, BSD doesn’t use sudo for example, it uses “doas”

If you follow the Arch installation guide it’ll get you to a working system, but you’ll need to install sudo yourself. It’s not strictly required so it’s not installed with the essential packages (or even the packages recommended for most users in the guide).

Surely any user planning on using arch would want sudo. I mean if Ubuntu desktop didn’t come with sudo I’d understand but arch? Linux From Scratch was a thing when I was still playing with Linux (rather than just using it) and that also was very much an if you want it, install it, but that suggested sudo as the likely alternative was the user would log in as root

run0 for you my guy

apt remove sudo

sudo is not installed on several distributions by default, so hardly surprising it’s not there or that you can remove it.

@psud@aussie.zone
link
fedilink
1
edit-2
6M

It’s not surprising you can remove it, but it seems contrary to teaching good habits to not install it by default as a basic utility. You don’t want to train people to log in as root

Actually I think the only way I can log in as root is sudo -i

Pretty sure root has /bin/false as its shell and it’s configured as no login my machines

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 54 users / day
  • 172 users / week
  • 445 users / month
  • 2.42K users / 6 months
  • 1 subscriber
  • 1.61K Posts
  • 35.6K Comments
  • Modlog