this post was submitted on 30 Sep 2024
830 points (97.6% liked)

linuxmemes

21060 readers
88 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    (page 2) 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 13 points 3 weeks 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

    load more comments (1 replies)
    [–] [email protected] 13 points 3 weeks ago (1 children)

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

    load more comments (1 replies)
    [–] [email protected] 26 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

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

    [–] [email protected] 7 points 3 weeks ago (2 children)

    Looking at you quickbooks network shares...

    [–] [email protected] 2 points 3 weeks ago (3 children)

    Its not like QuickBooks are sensitive data or anything

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

    More like I come in to fix someone's aging infrastructure and find a QuickBooks share with read/write everyone because people are too lazy to RTFM.

    Ahem...

    [–] [email protected] 1 points 3 weeks ago

    That's the supported configuration. There support will not support anything else. It is total BS which makes sense because they want to silo you to the cloud

    load more comments (2 replies)
    load more comments (1 replies)
    [–] [email protected] 34 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

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

    load more comments (2 replies)
    [–] [email protected] 8 points 3 weeks ago (1 children)

    Tell me you use Ubuntu without telling me you use Ubuntu.

    Wait till you try this on Debian or non Ubuntu variants.

    [–] [email protected] 1 points 3 weeks ago (7 children)

    I ask out of ignorance - why would it be different?

    load more comments (7 replies)
    [–] [email protected] 35 points 3 weeks ago (2 children)

    then at first day of work:

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

    load more comments (2 replies)
    [–] [email protected] 36 points 3 weeks ago
    [–] [email protected] 34 points 3 weeks ago* (last edited 3 weeks ago) (4 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

    [–] [email protected] 9 points 3 weeks ago (1 children)

    sudo visudo

    At the end:

    Defaults:USER timestamp_timeout=30

    USER is obviously changed to your username.

    [–] [email protected] 4 points 3 weeks ago
    [–] [email protected] 7 points 3 weeks ago (2 children)

    If I remember correctly the default sudo timeout is set to 5 minutes on Yay, you should be able to increase it to something more reasonable

    [–] [email protected] 2 points 3 weeks ago
    load more comments (2 replies)
    [–] [email protected] 13 points 3 weeks ago

    Wasn't it 2017 where they had the race condition in sudo su as the command elevates up to root and drops back down?

    Every other year, sudo su was not unsafe but merely ghetto. 'sudo su' is the dutch-rudder of 'sudo'.

    [–] [email protected] 4 points 3 weeks ago (11 children)

    Can't programs steal sudo access if the timeout isn't 0?

    load more comments (11 replies)
    [–] [email protected] 37 points 3 weeks ago (1 children)

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

    load more comments (1 replies)
    [–] [email protected] 37 points 3 weeks 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] 8 points 3 weeks ago (1 children)

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

    [–] [email protected] 2 points 3 weeks 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] 5 points 3 weeks ago* (last edited 3 weeks 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 3 weeks ago* (last edited 3 weeks 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 3 weeks ago (5 children)

    Worst part is he's the sysadmin

    load more comments (5 replies)
    [–] [email protected] 9 points 3 weeks ago (1 children)

    Guilty as charged, officer.

    [–] [email protected] 2 points 3 weeks ago

    I bet you distro hop a lot.

    [–] [email protected] 9 points 3 weeks ago (1 children)

    I get tired of typing the same command twice.

    [–] [email protected] 46 points 3 weeks ago (1 children)

    helenslunch doesn't know about sudo !!

    [–] [email protected] 8 points 3 weeks ago

    Not even arrow keys

    load more comments
    view more: ‹ prev next ›