this post was submitted on 30 Sep 2024
797 points (97.7% liked)

linuxmemes

20879 readers
2069 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 hour ago

chmod 777 /directory go brrrrrrrrrrrr

[–] Unyieldingly 1 points 2 hours ago

sudo su - ?

[–] [email protected] 7 points 7 hours ago

Why does sudo su exist? sudo -i does exactly what you want.

[–] Ashiette 6 points 8 hours ago
[–] Thcdenton 7 points 11 hours ago
[–] mlg 11 points 16 hours ago (1 children)

Our crappy vendor software will only function if IPv6 is disabled network wide. Even if one machine has it enabled, the whole thing breaks

Lol our former crappy vendor solution required to be run directly from AD Administrator. Pure luck the entire business didn't collapse before we replaced it.

A thread I read a long time ago on r/sysadmin

[–] [email protected] 5 points 16 hours ago

That's at least once a week

[–] [email protected] 5 points 15 hours ago

sudo su -c "man man"

[–] [email protected] 23 points 23 hours ago* (last edited 23 hours ago) (1 children)

Reminds me of all of those vendors that require Windows Admin for no reason.

[–] Landless2029 7 points 23 hours ago (6 children)

Looking at you quickbooks network shares...

load more comments (5 replies)
[–] veni_vedi_veni 30 points 1 day ago* (last edited 1 day ago) (2 children)

I'm in jail because I was not in the sudoer file

[–] nebulaone 4 points 9 hours ago

This incident was, in fact, reported.

[–] [email protected] 3 points 15 hours ago

Well, you were warned 🤷.

[–] barsquid 13 points 22 hours ago (1 children)

Reminds me of software saying to put your docker socket into the docker container you are starting for convenience.

[–] [email protected] 2 points 15 hours ago* (last edited 15 hours ago)

Oh yeah, I'm docking the shit ot of that container!

[–] datelmd5sum 33 points 1 day ago (2 children)

then at first day of work:

just use sudo su, we don't have all day here.

[–] [email protected] 2 points 15 hours ago

And you give them the look and they shut up.

[–] [email protected] 2 points 15 hours ago

"You're absolutely right, we wouldn't want to take too long to break the network or open god rights vulnerabilities"

[–] [email protected] 35 points 1 day ago
[–] bruhduh 32 points 1 day ago* (last edited 1 day ago) (6 children)

Sometimes your package manager asks you for root password every minute while doing few hours long update and cancelling process if you don't enter anything for few minutes, "yay" aur manager looking at you, and you got to do other things than sit and look in the monitor all day long, things like cleaning house or touching grass for example

[–] JustAnotherKay 2 points 15 hours ago

Man if only there was an option like --sudoloop to ensure that doesn't happen

[–] [email protected] 2 points 15 hours ago

See, this is why I love xbps. Does everything in one blow, no bullshit.

[–] ikidd 8 points 23 hours ago (1 children)

sudo visudo

At the end:

Defaults:USER timestamp_timeout=30

USER is obviously changed to your username.

load more comments (1 replies)
load more comments (3 replies)
[–] betterdeadthanreddit 89 points 1 day ago (2 children)

Real pros shuffle across the carpet to build a static charge and do their system administration by electrical fault injection.

load more comments (2 replies)
[–] [email protected] 36 points 1 day ago (1 children)

just worked a job where I did not have privlages to sudo commands. except su. had to sudo su so I could run a script.

[–] [email protected] 7 points 23 hours ago (1 children)

Could you not just use root to give your user sudo? Seems like a pretty dumb restriction

[–] [email protected] 2 points 16 hours ago (1 children)

Possibly but my role was such Im really only supposed to be working on my project and not monkey with the server which is used by other projects. I don't think it was a restriction I think it was just laziness by whoever set it up.

[–] [email protected] 3 points 16 hours ago* (last edited 16 hours ago) (1 children)

Fair enough. Got a colleague who sudo nanos everything then wonders why he keeps getting permission denied errors later lol

[–] [email protected] 2 points 16 hours ago* (last edited 16 hours ago) (1 children)

...file in ~/.config...

- sudo nano /path/to/file... yeah, I wanna fucking save changes... OK, let's see if it works... damn it, this distro fucking sucks man!

[–] [email protected] 1 points 16 hours ago (1 children)

Worst part is he's the sysadmin

[–] [email protected] 1 points 15 hours ago* (last edited 15 hours ago) (1 children)

Jesus 🤦...

And this is why I never get bonuses. I just can't be bothered with kissing upper management ass... tried it once... I walked out of the meeting with me telling them "less talking, more doing"... no one from upper management called me ever again. Even if they did have a computer problem, they just told the secretary to call me.

[–] [email protected] 1 points 8 hours ago

Oh god no not upper management lol we're just in a small company

[–] [email protected] 34 points 1 day ago (1 children)

Come on! I've stopped logging on as root, can't we just leave it at that?

[–] [email protected] 1 points 16 hours ago

Stopped being fun after you destroyed the system a few times... am I right 😏.

load more comments
view more: next ›