Similar story here. I replaced an AMD 3xxx series Hackintosh workstation with an M1 Air after running both together and finding they were exactly as fast as each other.
If you read the source of ‘cat’ and ‘more’ you’ll see that if they are reading /etc/passwd they replace the passwords of system users with ‘*’, unless you are uid 0.
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.
> If you read the source of ‘cat’ and ‘more’ you’ll see that if they are reading /etc/passwd they replace the passwords of system users with ‘*’, unless you are uid 0.
That sounds so wrong, anything from a user-written program, `ed`, etc to a symlink/hardlink could read the password.
Sounds wrong because it is wrong, pure unadulterated intentional B.S.; don't know why the commenter decided to yank our chains like this.
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.
Actually, I just started using Safari at home recently, and I love it. Most Apple stuff, while locked down to some extent, seems to give me the freedom to actually be productive and do the tasks I need to do pretty easily. Sure, you have to adopt the "Apple Way" and use their software in somewhat the way that they designed it to be used, but for the most part it's really flexible and able to be used to achieve all of my goals in a simple way, without much fuss. Windows is laughable today and Linux is open and free but also has a minimal level of "fuss" you need to do in order to keep it working and get new software working. With MacOS I find I have to do almost zero maintenance and most of my time is productive. I'm going to switch my work PC to Mac as well as soon as this pile of silicon I'm using dies.
It really is. I often have to go and modify some (tail-call-optimised-away) code just to get it to turn up in a stack trace so that I can continue with what I’m debugging.
Just yesterday I had to reason about a stack trace involving tail calls. I worked it out. I wouldn't rather lose TCO so I could get stack traces that I don't have to reason about.