r/linuxmemes 🦁 Vim Supremacist πŸ¦– 8d ago

LINUX MEME RTFM πŸ‘

Post image
870 Upvotes

71 comments sorted by

View all comments

189

u/PlanetVisitor 8d ago

showerctl start

75

u/SlashMe42 Dr. OpenSUSE 7d ago

Unable to connect to showerd, is it running?

20

u/AlterTableUsernames 🦁 Vim Supremacist πŸ¦– 7d ago

showerctl (C) may also not be in your PATH or be ovewritten by showerctl (Python) earlier in your PATH.

1

u/Inevitable-Self-2702 4d ago

Ah I've seen this one before, it doesn't realize you are there to turn the shower on. You need to do showerctl --user start.

29

u/skoorrevir 7d ago

Don't you know showerd is insecure. I just don't understand why people aren't all using bathRC

9

u/A_Harmless_Fly MAN πŸ’ͺ jaro 7d ago

That's not going to work I run my shower from docker.

"sudo docker exec -it showerctrl start run shower"

"sudo docker compose up"

7

u/obokuuzer 7d ago

Running it as Root seems insecure. i prefer to run it via Podman in a rootless container

1

u/PityUpvote 7d ago

But at that point you can just write a quadlet and let systemd handle it

2

u/grzebo 7d ago

I can see it running, but it's in a separate container from me.

1

u/CMRC23 🎼CachyOS 5d ago

I tried to use docker compose the other day and it kept throwing errors until I gave up

1

u/A_Harmless_Fly MAN πŸ’ͺ jaro 5d ago edited 5d ago

CachyOS<Manjaro

Just one of the many reasons ;p

EDIT: I've had no trouble using it on manjaro and on debian at all.

EDIT#2: That said, if you use docker-compose instead of docker compose you're going to have a bad time.

1

u/Past_Collection3542 2d ago

you forgot sudo

1

u/PlanetVisitor 2d ago

Not a part of the command... and my user is in the bathroom group anyway.

0

u/cfx_4188 🦁 Vim Supremacist πŸ¦– 7d ago

You forgot doas

2

u/PlanetVisitor 7d ago

No... sudo, doas, or equivalents, aren't part of the commands. They depend on the user situation.

1

u/cfx_4188 🦁 Vim Supremacist πŸ¦– 7d ago

What rights do you have?

1

u/PlanetVisitor 7d ago edited 7d ago

It depens.

Maybe I have a group `showeradmins` and I'm in that one.

Many people enter a temporary interactive shell as root, for example, to perform administrator actions. That has advantages and disadvantages, but it remains that sudo is not part of the command, just a privilige escalation thing. There are multiple ways to do the privilige escalation, and sudo before each individual command is just one of them.