this post was submitted on 12 Feb 2024
753 points (97.2% liked)

linuxmemes

21234 readers
23 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
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] Potatos_are_not_friends@lemmy.world 189 points 9 months ago (5 children)

    I used to make jokes to juniors/interns like the above. Then I watched a junior start typing my joke in terminal, and I freaked out and stopped.

    Sometimes I forget these jokes go over the heads of people.

    [–] laurelraven@lemmy.blahaj.zone 76 points 9 months ago (1 children)

    And this is exactly why I don't make those jokes to people unless I know very well they'll get it

    [–] derpgon@programming.dev 32 points 9 months ago (1 children)

    I've seen frustrated senior start writing this. Sometimes it's just a different state of mind that pushes us over critical thinking edge into the void.

    [–] starman2112@sh.itjust.works 19 points 9 months ago (1 children)

    The same brain state that leads to chocolate milk mashed potatoes

    [–] cows_are_underrated@feddit.de 8 points 9 months ago (1 children)

    Do I have to worry that I understand to what you're referring to?

    load more comments (1 replies)
    [–] lightnsfw@reddthat.com 40 points 9 months ago

    Same. I was working on a help desk years ago helping another agent with a call where the customer was being ignorant and I sent him a message that said something like "does he want us to wipe his ass for him too?" (Not that exactly but in the context of the situation it would have been similarly insulting). Next reply I get from the other agent was "he said no".

    😬

    [–] flyingjake@lemmy.one 16 points 9 months ago

    Yeah, you don't want toddlers learning gun safety the hard way

    [–] XTornado@lemmy.ml 8 points 9 months ago

    I mean.... it's the best way to learn by being stupid and doing mistakes, but truly some mistakes are too much damage and does not help to learn or if we talk about other jobs can kill somebody.

    load more comments (1 replies)
    [–] ptz@dubvee.org 118 points 9 months ago (1 children)

    I love when cheaters fail to prosper.

    Back when I still used Reddit, so many posts were just CS students trying to get other Redditors to do their homework for them. I don't think I ever came across any technical interview cheaters, but I'm sure there were some.

    [–] CosmicTurtle@lemmy.world 71 points 9 months ago (5 children)

    I remember one interview I had with a candidate. It was for a database analyst position that required SQL.

    The first round was typically a phone screen where I chat with the candidate, get to know them a bit.

    Second round was code review. I asked them to do a SQL query that did x.

    The queries were simple. The goal was to get the candidate to walk through the query.

    I had one candid that, over screen share, wrote the query flawlessly. Then I asked them to explain what it was doing. The candidate froze.

    I can get understand getting nervous so I moved onto an insert statement. I had them write one and then do another without using certain terms (often leading to a sub query).

    Again, flawless. I asked what situations would you use one over the other.

    Again, they froze. I started to get suspicious that they were cheating and had them, instead of typing the answer, say the answer. When they couldn't, I knew enough that it wasn't going to work.

    [–] stoly@lemmy.world 34 points 9 months ago (4 children)

    I had an applicant very obviously read to me that Wikipedia article about Active Directory.

    [–] possiblylinux127@lemmy.zip 20 points 9 months ago (4 children)

    Knowing how to quickly look something up isn't a bad skill. The problem is when that's all they do

    load more comments (4 replies)
    load more comments (3 replies)
    [–] RegalPotoo@lemmy.world 23 points 9 months ago (4 children)

    A lot of the time I find "spot the bug" questions to be more informative, especially for junior roles. We stopped asking fizz-buzz - just about everyone has heard of it by now and it's pretty easy to just rote learn a solution. Instead we give them the spec for fizz-buzz and a deliberately broken implementation and ask them to fix it. If they get flustered, just asking "what does this program output" usually give a pretty clear indication if they can reason about code in a systematic way.

    load more comments (4 replies)
    [–] redcalcium@lemmy.institute 21 points 9 months ago (3 children)

    I wonder why people do this. You wouldn't apply to a welding job if you can't weld. Why so many people apply to programming positions if they can't actually code (or a database analyst position without knowing SQL)?

    [–] hulemy@ani.social 15 points 9 months ago (2 children)

    Some people seem to think you can just Google stuff or more recently use AI to do the coding, not knowing that being a dev is mostly about knowing what to search and that being a dev isn't just coding.

    load more comments (2 replies)
    load more comments (2 replies)
    load more comments (2 replies)
    [–] MonkeMischief@lemmy.today 91 points 9 months ago (1 children)

    Did they execute the command on localhost or the remote? Because hey if they had privileges to root-nuke the target that's gotta count for something right? Lmao

    [–] neshura@bookwormstory.social 60 points 9 months ago (4 children)

    The way this reads I think the company did not actually provide a good sandboxed environemt. So when they rm -rf /'d the thing they actually deleted a lot of stuff the recruiters still needed (likely the pentest environments for other candidates). Because imo that's the only reason I can think of to just outright ban a candidate from applying for any other role at the company.

    [–] Hillock@feddit.de 38 points 9 months ago (2 children)

    You should ban anyone who tries this regardless of the outcome. There is always a small chance they did it on purpose trying to cause damage. There is no benefit by giving them another chance, you just riks giving them the possibility of doing more damage. If the thing was a mistake, the person will learn from it and find another job.

    [–] cows_are_underrated@feddit.de 26 points 9 months ago (4 children)

    If the task would have been to find general security risks this would have counted. I mean, he did some serious harm, but he was able to find a security issue.

    load more comments (4 replies)
    load more comments (1 replies)
    [–] NocturnalEngineer@lemmy.world 22 points 9 months ago (1 children)

    To be honest, considering the role they're applying for, I would reject their job application too even if it occurred inside a sandboxed environment.

    They should know exactly what rm -rf does. The fact they didn't and they still arbitrary ran the command anyway... massive red flags. Could even say he failed to twart a social engineering attack.

    [–] fkn@lemmy.world 13 points 9 months ago

    The two cases, they knew what it was and they did it maliciously. They didn't know what they were doing and got socially engineered in the process. Both cases are cause for failure.

    [–] extant@lemmy.world 12 points 9 months ago

    To me it reads like the recruiter thought the person was a troll and banned them.

    load more comments (1 replies)
    [–] Lojcs@lemm.ee 88 points 9 months ago (7 children)

    How are you supposed to fine 7 vulernabilities in an hour anyways? No way they expect the applicant to actually find vulernabilities right? So you need to memorize a bunch and see if they are present, which doesn't achieve anything other than testing your memorization abilities

    [–] Hyperreality@kbin.social 98 points 9 months ago (3 children)

    How are you supposed to fine 7 vulernabilities in an hour anyways?

    Threaten the interviewer with a knife until they give you at least 7 vulnerabilities. tapsheadmeme

    [–] teft@lemmy.world 66 points 9 months ago (1 children)

    Once again proving social engineering is king.

    [–] RGB3x3@lemmy.world 16 points 9 months ago

    The biggest vulnerability is the user.

    That being said, click this link to make an easy thousand dollars a day.

    [–] TimeSquirrel@kbin.social 18 points 9 months ago

    They always forget about the rubber hose exploit.

    [–] fkn@lemmy.world 83 points 9 months ago (1 children)

    Using Kali? Easy if you have training. The capstone for our security course a decade ago was too find and exploit 5 remote machines (4 on the same network, 1 was on a second network only one of the machines had access to) in an hour with Kali. I found all 5 but could only exploit 3 of them. If I didn't have to exploit any of them 7 would be reasonably easy to find.

    Kali basically has a library of known exploits and you just run the scanner on a target.

    This isn't novel exploit discovery. This is "which of these 10 windows machines hasn't been updated in 3 years?"

    [–] 0xD@infosec.pub 9 points 9 months ago (1 children)

    Just saying that running automated tools and identifying those vulnerabilities is just the first step to learning hacking, but nothing more. To gain a proper understanding you must be able to find vulnerabilities manually or at least understand a certain exploit such as ETERNALBLUE which you won't really look for manually.

    [–] fkn@lemmy.world 8 points 9 months ago

    Sure. But for an entry level interview as a pen tester... Scanning with Kali should be an easy task.

    [–] laurelraven@lemmy.blahaj.zone 40 points 9 months ago

    It's going to be a system set up with known vulnerabilities that should be easy to locate using common tools already installed on Kali; a real world scenario should (at least in theory) not be that simple, but in a capture the flag pentest environment, that's pretty normal

    [–] 0xD@infosec.pub 18 points 9 months ago

    You can see that the first machine is at /dvwa which is the Damn Vulnerable Web Application and is made for practicing hacking. If you have a basic understanding of the vulnerabilities there finding 7 of them is easy peasy.

    load more comments (3 replies)
    [–] mvirts@lemmy.world 49 points 9 months ago (1 children)

    Sometimes you get what you deserve

    [–] corsicanguppy@lemmy.ca 25 points 9 months ago (1 children)

    It's clear the kid wasn't up to the job. Why sit the interview?

    load more comments (1 replies)
    [–] TxzK@lemmy.zip 39 points 9 months ago* (last edited 9 months ago)

    The only time when doing this shit is acceptable

    [–] some_guy@lemmy.sdf.org 34 points 9 months ago (1 children)

    Hey, I know that princesses are ofter schooled in etiquette more than they get real education. unixqueen might not know shit about Unix / Linux. I find this completely believable, like how Queen Elizabeth didn't know dick about math.

    [–] nifty@lemmy.world 10 points 9 months ago

    Haha fair, I don’t know anything about this poster other than this meme they made, and I didn’t want to post without attributing the original source.

    [–] jimmydoreisalefty@lemmy.world 30 points 9 months ago* (last edited 9 months ago) (1 children)

    edit: spacing, added -rf info

    The Linux rm Command: Everything You Need to Know

    There's more to rm than meets the eye.

    https://www.howtogeek.com/858815/linux-rm-command/


    Use rm -rf to Delete Everything

    If you absolutely need to delete anything and everything, just use the command:

    rm -rf

    That combines the -f flag, which forces deletion, with the -r flag, which will delete folders recursively. We previously included the -v argument (to make it verbose), but it isn't necessary. Just keep in mind that this is basically the nuclear option, and you shouldn't use it unless you're absolutely sure you want something gone forever.

    [–] Cqrd@lemmy.dbzer0.com 37 points 9 months ago (1 children)

    On modern Linux versions you need to add --no-preserve-root or it won't work as nicely

    load more comments (1 replies)
    [–] SomeBoyo@feddit.de 27 points 9 months ago (1 children)

    What would happen to him if he where to miraculously pass the interview?

    [–] nifty@lemmy.world 113 points 9 months ago (10 children)

    Months 1-3: hey he’s new, just getting used to things

    Months 4-6: he’s not good, but maybe trainable?

    Months 7-9: he needs to be on a PIP so we can CYA and fire him

    Months 10-12: phase out and fire

    Rinse and repeat at new companies every year for 5 years, get hired as Engineering Manager at sixth job.

    [–] RegalPotoo@lemmy.world 31 points 9 months ago (1 children)

    Before you become a master you must make one thousand mistakes; some people choose to make the same ten mistakes a hundred times each

    load more comments (1 replies)
    [–] tallricefarmer@sopuli.xyz 22 points 9 months ago

    this is very accurate

    load more comments (8 replies)
    [–] superbirra@lemmy.world 25 points 9 months ago

    the amount of ppl taking those shots seriously (more or less, everybody) is simply flabbergasting omg lol

    [–] CyberDragonCore@programming.dev 24 points 9 months ago (1 children)

    rm -rf /* This will not display warning messages.

    load more comments (1 replies)
    [–] corsicanguppy@lemmy.ca 17 points 9 months ago (3 children)

    atleast

    Okay, you illiterate fuck, this I do for the planet and not for you.

    [–] Urist@lemmy.ml 10 points 9 months ago* (last edited 9 months ago) (1 children)

    Chill out. They may be German or something where shit like that is concatenated into one word.

    load more comments (1 replies)
    load more comments (2 replies)
    [–] prime_number_314159@lemmy.world 9 points 9 months ago (1 children)

    Did they run it with no-preserve-root? Is Kali so old it doesn't have they protection? Did they just see the command in history on a perfectly fine system, and decide never to hire on that basis?

    load more comments (1 replies)
    load more comments
    view more: next ›