Remove “This incident will be reported.” from user warnings
github.com
github.com
We were trying sudo and failed with enough silly passwords that we got the "this incident will be reported" message. I confidently told my officemate that these messages were never saved and recorded.
A few moments later, from our open office door (which I assume meant all our conversation was able to be overheard), our IT lady from down the hall came in and said to me "Download the internet, really?"
Because yes, I did type, while not saying I was doing so, "sudo DOWNLOAD THE INTERNET" into the terminal while goofing.
Funny story but I did feel a bit embarrassed at the time.
If you want yes write `yes yes`. And one character commands are almost generally avoided. So don't name it "y".
$ y not
not
not
not
not
not
not
not
not
...Before the days of SMS, and even before the days of instant messengers like ICQ and AIM, I taught the split-screen `talk` command to my girlfriend so we could chat while I was working. We've been married for 20 years now.
The admin came to the lab from time to time and said we're hogging the workstations with the game and banned the game during daytime.
He managed to send back a fleet or something - it was a real time game where you needed to do stuff at the right time (after sometimes a few hours). I do not remember the name of the game but it was fashionable for some time (not sure if it was text based or not)
Anything like mtrek? It's still around [0], and even over telnet [1].
0: https://mtrek.com 1: telnet://mtrek.com:1701
He didn't trust IRC and other chat systems.
Is the end he got caught anyway due to sloppy opsec. Like many other hackers.
Incompatible Timesharing System:
https://en.wikipedia.org/wiki/Incompatible_Timesharing_Syste...
Getting Started Computing at the Al Lab by Christopher C. Stacy. MASSACHUSETTS INSTITUTE OF TECHNOLOGY ARTIFICIAL INTELLIGENCE LABORATORY WORKING PAPER 235 7 September 1982:
https://dspace.mit.edu/bitstream/handle/1721.1/41180/AI_WP_2...
>6.10.3. TALK
>If you want to link to someone who is on another ITS machine, you can use the TALK program. The program is run by typing:
>*:talk uname@host
>To exit TALK terminating the conversation, the user who initiated TALK must type ^C.
>This method of comlinking is less versatile than the backnext commands, and only works across ITS machines (not locally).
>Another useful comlink program is UNTALK. UNTALK is similar to TALK but does not work across machines. However, on a display terminal, UNTALK splits the screen horizontally and allows the two people to type at the same time on their part of the screen.
The "backnext commands" he referred to would actually let you not only perform a text chat link (albeit not split screen), but also take over another user's TTY, to type into and see the output of their DDT shell and programs. There was no security other than obscurity on ITS, and that feature of linking to and sharing another user's TTY was meant for collaboration, helping, and teaching people, and also initializing and configuring output-only serial devices like line printers.
History of the Net is Important, by Keith F. Lynch:
http://www.ais.org/~jrh/acn/ACN8-1.pdf
>[...] ITS stood for the Incompatible Time-sharing System, an obvious take-off on CTSS, the Compatible Time-Sharing System. (Just as Unix is a take-off on the earlier TENEX, TWENEX, and MULTICS.)
>All four ITS machines also had UNTALK, a split-screen conferencing program similar to the later “talk” on Unix and PHONE on VMS. I was told it was written by a user whose ITS username was UNCOLA and who had committed suicide. I don’t know if it was the first program of that type, but it was the first I had seen.
Even before that, ARPANET TIPs supported a low level way of text chatting (not split screen) called a "TIP to TIP Link" (documented on page 5-4 of the "Users Guide to the Terminal IMP") where each participant bounced their packets off of a port on some host, without actually logging in or going through the host.
https://news.ycombinator.com/item?id=13518273
Users Guide to the Terminal IMP (1975):
https://archive.org/details/bitsavers_bbntipADA0eTerminalIMP...
Back in the days of ARPANET mailing lists, there used to be an "educational" mailing list called "please-remove-me", that was for people who asked an entire mailing list to remove them, instead of removing themselves, or sending email to the administrative "-request" address.
So when somebody asked an entire mailing list to remove them, somebody else would add them to the "please-remove-me" mailing list, and they would start getting hundreds of "please remove me" requests from other people, so they could discuss the topic of being removed from mailing lists with people with similar interests, without bothering people on mailing lists whose topics weren't about being removed from mailing lists.
It worked so well that it was a victim of its own success: Eventually the "please-remove-me" mailing list was so popular that it got too big and had to be shut down...
...Then there was Jordan Hubbard's infamous "rwall incident" in 1987:
http://web.mit.edu/sipb/doc/working/izephyr/html/izephyr.htm... https://en.wikipedia.org/wiki/Zephyr_(protocol)
Talk wasn't available yet (pretty sure we were on 4.1 BSD), so we'd use write(1) to communicate to each other (e.g., to figure out where someone was sitting in the lab). To block someone from writing to you (often desired, because write(1) would just spew over whatever you were currently looking at), you'd use the "mesg" command, which our University set as default to 'y'. I figured out that running 'mesg y' effectively just gave open write permission to your tty.
With that knowledge in hand, I started a practical joke where I'd remap someone's keys by redirecting an stty command to their tty, e.g.:
% stty erase e > /dev/tty03
which would make 'e' the backspace key for the duration of their terminal session. Much hilarity ensued.Maybe that was too hard when people used to use hardcopy terminals (actual ttys), although even there it possibly could have done better than it actually does.
But certainly by the time people had softcopy terminals with cursor positioning (like the DEC VT series and its emulators), a better experience could have been possible. For example, what if the functionality of curses was actually in the tty driver, so if another process wrote to the terminal it would appear as a new window, which could then be dismissed without altering the output of the underlying program? Or, to avoid putting too much in kernel space, the tty subsystem could live in a user-space daemon (possibly one process per terminal), and then applications would talk to it over IPC
On Unix, that's what "pseudo ttys" are for (i.e. /dev/pty*)!
For example, that's how Emacs lets you run multiple shell sessions in sub-processes, such that they have full job control (i.e. ^Z and ^C works to interrupt or stop sub-processes in the shell, since they're handled by the TTY). That's also how xterm and the Mac Terminal emulator work, providing the shell sub-process with its own pseudo tty with job control, even though there's not a corresponding /dev/tty* serial port driver. It's like a virtual serial port using a device driver with "TTY Line Discipline" but without an actual TTY.
https://docs.kernel.org/driver-api/tty/tty_ldisc.html
https://en.wikipedia.org/wiki/Line_discipline
ChatGPT correctly explains it better than I can or anything I can find with google:
Unix pseudo ttys, or pseudo-terminal devices, such as /dev/pty*, are a key mechanism in Unix and Unix-like operating systems for enabling communication between different processes. Pseudo-terminals are designed to provide the same interface and functionality as physical terminals or terminal emulators. They consist of a pair of devices, the master side (e.g., /dev/ptmx) and the slave side (e.g., /dev/pts/N), which are used to establish a bidirectional communication channel.
Pseudo-terminals are useful for running programs that expect to interact with a terminal, even when there is no actual terminal involved. This is particularly important for terminal-based applications like Emacs, which can run sub-shells within their own window or buffer.
Emacs, an extensible and highly customizable text editor, can leverage pseudo-terminals to run sub-shells, like bash or zsh, within its own environment. [Omitted detailed instruction on how Emacs sets up a pty for a sub-shell.]
By utilizing pseudo-terminals, Emacs can provide an integrated environment where users can work with both text files and interactive shell sessions seamlessly. This enhances productivity and enables users to harness the full power of Emacs' editing and navigation features while working with the shell.
> On Unix, that's what "pseudo ttys" are for (i.e. /dev/pty*)!
No, that’s not what I was talking about. On just about every Unix, even with ptys, the line discipline code (or STREAMS modules for SysV-derived systems) still runs in kernel mode.
On Linux, you could implement something like what I was talking about with CUSE - have a character device which implemented the termios ioctls in a user-space daemon instead of in the kernel tty driver. That’s very different from how most Unix systems implement ptys
But what I was actually thinking about was a daemon which exposed over IPC an API a lot richer than termios. Something closer to curses.
wall(1)It was waaaay more than just reported to the local sysadmin, and almost got UCB kicked off the ARPANET.
https://en.wikipedia.org/wiki/Jordan_Hubbard#rwall_incident
https://news.ycombinator.com/item?id=31822138
Jordan Hubbard wrote: "One of the people who received my message was Dennis Perry, the Inspector General of the ARPAnet (in the Pentagon), and he wasn't exactly pleased. (I hear his Interleaf windows got scribbled on)"
>Here's the explanation he sent to hackers_guild, and some replies from old net boys like Milo Medin (who said the program manager of the Arpanet in the Information Science and Technology Office of DARPA Dennis G. Perry said they would kick UCB off the Arpanet if it ever happened again), Mark Crispin (who presciently proposed cash rewards for discovering and disclosing security bugs), and Dennis G. Perry himself:
(See https://www.ndia.org/events/2021/8/18/1341---swif-2021/speak... if you don't know who Milo Medin is!)
Milo S. Medin replied:
>Actually, Dennis Perry is the head of DARPA/IPTO, not a pencil pusher in the IG's office. IPTO is the part of DARPA that deals with all CS issues (including funding for ARPANET, BSD, MACH, SDINET, etc...). Calling him part of the IG's office on the TCP/IP list probably didn't win you any favors. Coincidentally I was at a meeting at the Pentagon last Thursday that Dennis was at, along with Mike Corrigan (the man at DoD/OSD responsible for all of DDN), and a couple other such types discussing Internet management issues, when your little incident came up. Dennis was absolutely livid, and I recall him saying something about shutting off UCB's PSN ports if this happened again. There were also reports about the DCA management types really putting on the heat about turning on Mailbridge filtering now and not after the buttergates are deployed. I don't know if Mike St. Johns and company can hold them off much longer. Sigh... Mike Corrigan mentioned that this was the sort of thing that gets networks shut off. You really pissed off the wrong people with this move!
>Dennis also called up some VP at SUN and demanded this hole be patched in the next release. People generally pay attention to such people.
Jordan's infamous rwall incident is the kind of thing that might have triggered the rumored "explosive bolts" the Defense Communication Agency was once talking about installing, that would violently separate the MILNET and ARPANET in case of national emergency.
https://news.ycombinator.com/item?id=34171294
>DCA must have the ability to partition the ARPANET and MILNET in case of an "emergency", and having non-DCA controlled paths between the nets prevents that. There was talk some time ago about putting explosive bolts in the mailbridges that would be triggered by destruct packets... That idea didn't get far though...
I collected dozens of usernames and passwords before the professor of my CS class stopped me one day after class and said, you better stop whatever you're doing. Apparently the system saved the typing of all sessions and the admin actually went through all of them.
The next semester all the terminals had a physical switch installed that had to be pressed to reset the terminal before logon. That killed any running program. I was glad to play a small part in improving the security of my school lab.
Showing my age but this would have been 1984 or so… a remarkably early contribution to security?
I wrote a fake su program that woul d impersonate the real one, asked the admin to help with something, got the root password and went to them to tell them the password a few days later.
And offered my help in exchange of a seat at their shared office and my own workstation. They were glad to get someone because unix was new to them (they were using Novell). It was new to me too but I learned a huge amount of things that were actually bootstrap my IT career after my PhD.
sudo !!# unless previous, this command is working, handle with care.
graybeard chuckles in the server room
I tried to flip it back on just afterward, to resume my business (lol) but found that my login was blocked with a message...come up to security in room 300-something and talk to us to get your account un-suspended.
The issue leading to the frantic shutdown goes as follows:
I had been browsing some of JWZ's online journals in Netscape...the old about:jwz trick.
Within those pages, there's a linked audio clip of the fake *rgasm scene from "When Harry Met Sally".
I clicked on the link not realizing what would happen, and of course this passionate audio clip played at more or less full volume to a computer lab full of university students from China.
(They were extremely "I didn't notice that" about the whole thing, but I was beet red and frantically scanning the room for anyone who I could possibly nervously laugh with...)
Back then Netscape didn't show any audio controls that I could find anywhere when clips like that played, which was also a really frustrating part of this. I guess it just handed off the audio to some process which I could have found via `top` if I had the time.
There was also an internal speaker, nothing with a manual volume control. Great!
Anyway, I went upstairs, got my lecture about other people who could have had sessions terminated while working on the same workstation, got the login back, and fortunately none of the Chinese students seemed to have let my er..._BYU_ CS security admins...know about the situation in the lab. lol.
(No longer a practicing Mormon; still think CDE is cool)
Edit: Just for the memories...at the same time, I had a PT job doing university IT support on a Novell network, and we supported, among other places (the MTC, the laundry, Creamery--PHEW those amazing chocolate malt shakes--but not so phew the time the creamery's huge 1K+ gal. milk vats leaked and there was a foot of standing milk in our PCs there, etc.), the married student housing computer labs.
Colloquially labeled by my boss and others as the "rabbit hutches"...
This was still pretty early days for the web, and I remember periodically getting frantic voicemails from newly-married folks.
A common version of the voice message would be something like, "Hi, uh...I was in the married student housing lab...trying to book airline tickets for my husband to fly home and see his mom...anyway (tearful quivering voice starts)...russian porn came up I guess? I mean I am just guessing...uh, so anyway...(crying harder, phew)...the lab assistant gave me your number, and here's my number, if we need to talk about this or anything, call me I guess?"
I can't imagine what those students must have felt when the lab assistant just shrugged their shoulders regarding "what to do about this" and gave them somebody's office number to call. Up the chain with you!
Gestapo-level perceptions would always tend to kick in at that point...and you had to maintain an ecclesiastical endorsement to continue studies there, so this was a pretty big deal. Anything involving porn was always at the potentially-terminate-your-entire-university-experience level.
(Often the calls to those labs were pretty funny though. Like a toddler put a dorito inside of a CD-ROM drive, bring your hemostat, things like that. Afterward we'd get a Jamba Juice, or get a free cafeteria meal from a really nice food-services manager, chat about Everquest, etc.)
This is a good garden-path sentence.
The other guesses were: CDE - Common Desktop Environment, MTC - Missionary Training Center.
GPT is much better than web search for this, I'll say that. It's ability to use context is invaluable.
GPT is useful, but there's an annoying tendency of it's proponents to promote it with examples they haven't validated.
> UUG is an acronym for: Uniface Users Group. Universal Underwriters Group. Unix User Group.
This user group was already in place by the time Linux came along, so you had the UUG doing Red Hat boxed set giveaways and such. There was a ton of excitement about Linux and not as much about Unix at that point. Then a bit more proper-Unix excitement when OS X came out.
The other ones are correct.
This was in the early days of Napster. Out of curiosity I downloaded and unzipped it in my home directory. I think I started downloading some random file but terminated it before it finished. Several weeks later when trying to log into my account, it didn't work. When I asked the skinny kid in the admin room about it, he lectured me about having the Napster software unzipped in my home directory before telling me to delete it as he re-enabled my account.
I was generally low-trust when it came to anything administration-related at my school, so I kept my own backups of all my shit. That ended up saving my ass. The HP-UX boxen were configured to dump huge core files by default on segfaults. The predictable thing happened as random widely-ignored core files proliferated throughout student home directories. I think about 2 weeks before the end of the semester, some low-level admin kid tried writing a script that recursively walks all the students' home directories and deletes core files to free up disk space. Not wanting the script to interfere with regular workloads during the day, he had it run as a cron job in the middle of the night. The kid fucked up the script, and it instead deleted all the contents of everyone's directory for the whole goddamned department. Well, effectively. I think when the admins got into work the next morning they realized that shit was completely fucked and killed the script. But massive damage had already been done. Two weeks before the end of the semester when final class projects were all coming due. Also, the backups hadn't been working, and nobody had been giving a fuck. Until then.
I had a friend in another lab in the CS department who ran a Tor exit node from his workstation. Fast forward a few weeks, and his advisor sat him down and, with a really serious tone, asked if there's anything he wanted to talk about with respect to his usage of the lab computers. Apparently some of the shit the Tor exit nodes were accessing made some waves in the department. (Bearing in mind that BYU is a very religiously conservative institution.) He somehow survived that incident, but he went out into the Real World (there's a pun here -- you should look up the whole Julie Stoffer debacle sometime) not long after of his own accord.
Then there were the students who abused the lab laser printers to print wedding invitations. All the fucking time. IIRC, it was only 10 cents a page, so it was a steal to print really nice-looking stuff at the time. Even better were the students who fed not-safe-for-laser-printer shit into the them that would melt and gunk up the insides.
Some assholes would often lock the screen rather than log out in order to "reserve" an HP-UX workstation for themselves. That got annoying when things were busy. I'd do a hard reboot whenever I ran across an unoccupied locked workstation. Apparently there were some grad students whose work that they were distributing across several nodes as background jobs would get fucked when the workstations were hard-rebooted. Personally I think that should have been a hard lesson in a "cattle, not pets" approach to distributed systems. Especially when there is effectively no physical security for the compute nodes.
There are also UUG stories. One of my favorite is when the UUG was handing out "Software for Starving Students" CDs full of OSS software in the student quad. They ended up getting reported to the "authorities" for distributing software for free.
But that’s probably why they don’t come out to lecture.
1990, freshman in college, Pascal class on AT&T Unix SVR3 3B2 cluster named "earth", "wind", and "fire". We'd just learned our way around "vi" and how to "uvapc" our Pascal source into a.out.
I discovered anonymous ftp, and "make", and I quickly rose to become the gaming king of Pascal class. I had ularn, nethack, megs and megs of games crammed in my no-quota $HOME, and I'd opened permissions for everyone else to access and play them. I often chit-chatted with a classmate or two over "write" or "ytalk".
Not content to merely play games, I became mischievous with the system and its inner workings. I created a .profile and a .plan, the latter of which used VT100 cursor escape sequences to self-modify the screen, such as changing my $HOME to "/" and I also made a boastful comment about having root access.
It was all in good fun, and then came the day that I discovered /etc/passwd and I attempted to "su" to every single system account I found listed. I mean some of their passwords were just "*" so they must've been wide open!!1
I soon received ominous, chilling email from the unseen sysadmin of the whole cluster. He described to me everything I'd done up to this point, and he informed me that saying I have root access is like telling airport officials that I have a bomb. That point definitely drove it home to me as a young and dumb hacker.
So, for the rest of my short college career, while I did some silly "extra-curricular" things with my own compute resources, I was careful to not try and break system security, or even say that I had, for fear of the wrath of the unseen sysadmin.
Not related to sudo, but this brought back a memory of the cluster I had access to during my college internship. 6 computers, I don't remember what kind or vendor. Named after the starter Pokemon for generations 1 & 2. They were in the rear of the room behind a cage I did not have a key for.
One day a sysadmin came into the room asking "Uhhh... I'm looking for a... totodile?" The way he pronounced totodile made it clear he had no idea what a pokemon was.
He had to remove it and replace something, didn't really give us any details. A few days later he brought the server back and hooked it back up to the cluster. The very first thing we did was rename it to Croconaw. (The evolved form of Totodile).
it's not as if they executed OP. telling a kid to stop screwing around is pretty reasonable.
This is not just an education thing. Remember recently when there was a St. Louis reporter who found a glaring privacy violation in a Missouri state website (in that the website for whatever reason included people's SSN in the clear, but commented out. That reporter was initially treated as if they'd hacked the website and the governor of Missouri publicly spoke and said as much. Fortunately they weren't prosecuted, but even after prosecutors declined to do so, the governor still publicly called the reporter a "hacker".
As an adult that writes software used by a lot of students in a classroom environment, I am glad to see that the spirit it still alive whenever I have a Sentry error come through indicating quite clearly that someone is trying to cheat by dicking around in dev tools. However I’m also certainly going to make the troublemakers shit their pants with a strongly worded console.log().
The only way it was not immediately obvious was because only sub folders were assigned a drive letter, and the network share was hidden in the UI. I found a way around that in the Windows open dialog and then was able to trigger Explorer to the top level directory.
The share also contained private data of applicants (names, addresses, date of birth, education history) which was most concerning to us.
With some friends we wrote a document showing what we found (not explaining how to do it) and posted it to an internal message board. We also sent copies via email to our IT teacher, sysadmin and the principle. Shortly after the sysadmin invited us for a chat and basically told us not to do that again.
A couple of hours later we were invited to the principles office. The principle was away at the time, but the vice principle - who wanted to make a name for himself - immediately suspended us all and said he'd discuss it with the principle but said most likely we would be expelled, and they may need to involve the police.
Our main concern in the post we made was that personal data was effectively publically accessible (to anyone who connects to ethernet - you didn't even need to log in). Even before GDPR, our country had very strong data protection laws which this would have breached.
A few days later a parent sent a letter to the principle, effectively restating what we said, with added threats of reporting them for violating data protection of minors. Strangely after that the issue was dropped and we were allowed back...
/etc/passwd indeed stored the hashes in SVR3, and there was no such thing as /etc/shadow. I was naive enough not to understand hashes, and so I figured that those jumbled letters in the file had to be the actual passwords, and if "*" was in an entry then "*" was, of course, the password! Why didn't it work?!!?
When ‘less’ was created, there was a bug where when you scrolled upwards the passwords would be revealed, so it was decided that the passwords should be replaced with actual asterisks and stored in individual files per-user.
For security, these files were given access rights only for the owning user, and immediately deleted, with an encoded copy of their inode number being stored in /etc/shadow.
Fun fact: forced password changes were initially introduced when disks were getting full and deleted inodes of user password files were due to be overwritten. “For security reasons” was correct but misinterpreted.
That sounds so wrong, anything from a user-written program, `ed`, etc to a symlink/hardlink could read the password.
I believe there is a meme in chat rooms where trolls get unsuspecting users to reveal their passwords by convincing them that the chat replaces it with "***" and so forth. Perhaps the GP is riffing on this.
Man, the internet's no fun anymore.
sudo journalctl /bin/sudo
Historically speaking however the sysadmin with access to the 'mail' command would be able to run that and see mail delivered to root@localhost for these reports. I think at least OpenBSD still does things this way [1], but they moved away from sudo YEARS ago now [2]Of course decent log collection/monitoring should also be able to catch authlog stuff and alert accordingly and I'm sure most organizations rely on solutions like that instead of letting things get lost in email
Potentially terrifying if you don't
But there is a renewed focus on corporate laptops to remove admin rights on windows. Not really because the user is not being trusted, but because malware has a lot more options for bypassing EDR/antimalware and persistence when it runs with admin rights.
I'm sure this will come to Linux too at some point.
In a lot of companies but one they avoided it for fear of receiving emails. On that only company that did it, we made sure that mailbox was clean by actually having a look when cron scripts were crapping out or when users failed sudo repeatedly and contacted the users. It was a much better housekeeping than log on a box and see there are hundreds of unread emails but dismissing it like most do.
In other words, don't think well-configured ansible playbooks are most people's first exposure to linux although it does sound like you're doing things right which is nice to hear
journalctl /bin/su
can, to avoid ambiguity, also be written as journalctl _EXE=/bin/su
See systemd.journal-fields(7) for more information: https://manpages.debian.org/stable/systemd/systemd.journal-f...* Automatic log cleanup to a desired storage size.
* Automatic compression, transparent decompression.
* Filtering by date, or boot number.
* Log shipping, ability to see interleaved logs from multiple machines.
* Microsecond precision for timestamps, multiple timestamp types and output formats.
* Output in JSON or multiple other formats, for trivial parsing.
* Cursors, for easily continuing parsing where you left off.
* Applications can log custom fields. No need to extract data from strings then.
* Captures logs that happen inside initramfs before / is mounted.
* Docker containers can log to the host's journald
It's pretty darn nice, really.
While they're at it, why not update the SSH warning banner with a list of what we do and don't log on this system. As a courtesy to their adversary.
This sudo message has been the same since the dawn of time. There is literally no reason to correct it. This is the one place you don't want to be pedantic, leaking security configuration via stderr.
Nowadays it's even worse than it once was, because now the natural instinct of people is to think that the incident was reported to canonical or ibm. The opposite of how they are supposed to feel about when using free software.
I'd change it to "This attempted was logged" or something like that when that is true. Just so the user is aware that the data they are typing there may be seen by someone else. But by default, in their own systems, that message should never appear, unless they specifically configured it that way.
and it's only been the same since people started to switch to sudo in the late 90s; su never printed such a warning
It has to take the prize for worst UX ever.
sometimes people also complain about xscreensaver's lock screen because it doesn't use a widget library, but the alternative lock screens can often be crashed through bugs in the widget libraries they use
the flaming screen is just the xscreensaver logo (it's supposed to save your screen from burnin, originally)
i hadn't ever heard of anyone thinking it was malware, that's pretty funny
jwz is a more brilliant troll than i gave him credit for
Good. If you're not familiar with what sudo does, then you shouldn't be using it in the first place.
Oh honey....
I just saw an IG post from a collab between a prominently irreverent burger popup in my town, and one of the most progressive wine bars in the city. It had a security guard kicking out a rowdy woman from a bar.
The comments BLEW UP with people who had never had the burgers or been to the bar calling out the "cop culture" and the celebration of authoritarianism in the photo.
It's a joke at this point, how angry people get at things that have the barest tinge of something to be mad about.
> I’m glad that draconian anti-marijuana laws have disappeared. But we need a taboo against public consumption.
https://www.theatlantic.com/ideas/archive/2023/04/weed-smell... by Thomas Chatterton Williams
Some snippets:
> I received a huge amount of pushback for my remark (in addition to quite a lot of agreement), much of it premised on the idea that any social response to public weed smell would inevitably result in the warehousing of Black and brown bodies. In fact, I don’t want the police to put public weed-smokers in jail. I simply think New Yorkers should do a better job of policing themselves: a middle ground in which smokers of any color exercise discretion where the law employs restraint.
> Tolerance is a wonderful value in principle. And as the intolerant have long understood, it is also a value that can be easily exploited. It works best when buttressed by agreed-upon standards and a common investment in informal norms...
> The reflex to dismiss any criticism of violations against communal consideration exemplifies an evolving progressive politics, what the writer Michael Shellenberger has referred to as an ethos of “left-libertarianism.” In ways large and small, it has degraded urban spaces....
> When is the last time you’ve seen someone pounding shots of vodka on the subway? You haven’t, and for good reason. Drug possession was once a crime as well as a taboo. Now that we’ve optimized the admirable goal of ensuring that it isn’t the former, we need a redirect to preserve the latter.
Only 1/2 /s
As a kid the only bit of that message that made any sense was "illegal operation" which made me wonder if I'd broken some law somehow.
I remember looking thru the BASIC manual and seeing “ILLEGAL...” error messages. I assumed it meant that doing whatever this was somehow violated tax laws. Made sense to me since the computer was used for bookkeeping.
"An unexpected error occurred! If this happens multiple times, here is some information you can email our support team:\n{technical output}"
Of course often the support team is just me.
> FATAL ERROR
and being like...uh...do I call the police?
> Could not grab your mouse.
> A malicious client may be eavesdropping on your session or you may have just clicked a menu or some application just decided to get focus.
> Try again.
> [Close]
[1] With the legendary 1.2.13 kernel
This feature seems to come from a world where elite hackers simply repeat the same sudo command over and over hoping it will eventually work.
I cannot really imagine that happening today, at least not in "professional" context.
If I see info in logs and it could help a user (my userbase is internal), I reach out to them. I've coached a number of them through improving something on their end, even if it's not a critical change.
And I'm by no means some sysadmin wizard.
It is more about the general attitude, so thank you, for being a helpful IT admin.
My admins were sadly mostly of the grumpy type, who did not like change, or initiative to solve peoples problem.
No, not a single one.
One day he came home and his parents sat him down to discuss the "illegal activities" he was up to with the computers. He was sweating bullets about the secret warez section of the BBS until eventually he figured out that it was due to an illegal operation crash message!
(In that case it was probably desqview rather than windows)
I thought I was going to jail.
`sudo hi chris`
Anyway fast forward today. I know the answer to the question to whom usually this notification gets sent. They forward it via SMTP server to the person on computing shift (at least for some of the experiments) based on the experiment this person (who tried sudo) account belongs too. probably also some IT email.
Anyway it is stressful for new and young people. but honestly I never read them. I have email rule to put them inside specific folder I don't usually open.
No wonder we've had so many high profile breaches.
Maybe this is what all those layoffs are about.
The fact that our infrastructure STINKS of this is one of the major indications we do not take security seriously.
(Sorry for posting this twice. It was just too relevant here)
How come there are seemingly zero tests for what’s essentially critical infrastructure?
How do you make sure things keep working? How do you prevent regressions as team members change and tribal knowledge and intuition is lost? How do you ensure all future humans working on the project can make meaningful changes with confidence?
That's how 99% of these old timey tools work (coreutils, SSH, SSL, etc). They're getting better but you can definitely feel that they're managed by old hackers that predate CI/CD.
All Due Respect: Press F for Farce. Recently, Call of Duty: Advanced Warfare became roundly mocked when images showed a funeral event where the player is asked to “Press [F] to Pay Respects.”
https://www.gamedeveloper.com/design/all-due-respect-press-f...
>On the other hand, Call of Duty forces the player to Pay Respects for the game to proceed. It’s a mission objective just like any other, complete with an interactive reticle floating above the coffin. Furthermore, it’s embarrassing to ask the player to take this action explicitly. This is a military funeral! What else would you do, blow a raspberry? It’s no wonder players feel insulted.
Ludonarrative Dissonance:
https://en.wikipedia.org/wiki/Ludonarrative_dissonance
>Ludonarrative dissonance is the conflict between a video game's narrative told through the story and the narrative told through the gameplay. Ludonarrative, a compound of ludology and narrative, refers to the intersection in a video game of ludic elements (gameplay) and narrative elements. The term was coined by game designer Clint Hocking in 2007 in a blog post.
That one letter to seven paragraphs ratio is pretty funny when it happens.
ETA: Oh wait it was actually committed? Color me surprised.
(Hopefully someone understands the reference)
https://git.dawidpotocki.com/dawid/xkcd1172/about/
GH mirror: https://github.com/dawidpotocki/xkcd1172
Bit ridiculous to see all the pointless spam/graffiti in the comments on that commit now.
https://github.com/sudo-project/sudo/commit/9757d29a24ac1872...
sohkamyung is not in the sudoers file. This incident will be reported.No administrator wants to be bothered by reports of a legitimate user who failed to type a password correctly a couple of times.
Just because jschmoe seems to get his password wrong 95% of the time doesn't mean that I don't find the 9500 times he flubbed a sudo command valuable signal that something may be up. Especially if he can only recall ever using sudo himself once in a blue moon.
There is the user in the context of the system, then there is the ultimate person interfacing with and feeding the system input and output.
Hell, sudo itself is the perfect illustration of why an operator would want such a log.
Doing that just once is reported with an e-mail to root. (Would you believe it?) People have been complaining about this for years. It's a pretty poor feature.
If the intent is to remind root that some users are missing sudo access who ought ot have sudo access, the phrasing is all wrong: "this incident will be reported" is disciplinary language, like the user has done something wrong.
Likely they are just copying and pasting something from a web search (or got from an AI chat, nowadays).
The entirely separate su program generates no e-mails from people guessing the password wrong. You can grep your auth.log for that, if you care.
I just tried su with one bad password attempt on a Debian box. The program quit immediately and logged this:
Apr 30 2023 15:37:21 localhost su[22401]: FAILED su for root by kaz
Apr 30 2023 15:37:21 localhost su[22401]: - /dev/pts/6 kaz:root
that is the real message to root: the log. Don't bug people with e-mails.The correct requirement of a failed sudo would be to emit a message conveying this meaning: "Sudo didn't execute your command because your account is not listed in the sudoers file. If you think you should be, contact your administrator." It should not be contacting the administrator for you.
TL;DR: Only display the warning if sudo is configured to send emails.
Well, if you have an incident list and nobody's checking it twice ...
> Whether or not sudo sends email is now configurable, so the warning may not be accurate. It is also confusing to the user since they will not know who the incident is being reported to.