You know… Fedora could make a lot of difference… with experience Awesome… if it could ship out of the box… with tools Awesome.
– An unspoken pledge from a user of @sindresorhus/awesome
I write this with a heavy heart. And to share my pain with you. The pain I was developing for two days. After which I screamed.
sed -i 's|^PermitRootLogin\s+.*|PermitRootLogin yes|' /etc/ssh/sshd_config
If your eyes are not bleeding, I envy you. Because you probably haven’t spent years of sleepless nights reading about Linux security to protect your files. This line is pure blasphemy. It enables password login for root through SSH.
If your eyes are bleeding, I envy you. You haven’t spent hours only to scream at the sed truth - this line doesn’t work. It does nothing. It doesn’t change the file like it is supposed to do. Because of the little +
.
And this… is Not Awesome. It could save me 2 days if… if 5 years ago… somebody would make a decision, to ship sd
instead of sed
into the core Ubuntu docker image.
sd '^PermitRootLogin\s+.*' 'PermitRootLogin yes' < /etc/ssh/sshd_config
There are many stories alike. Human stories. Like how to see how much memory a process takes? Like a human.
ps afu | awk 'NR>1 {$5=int($5/1024)"M";}{ print;}'
Find all files with "chrom"e in current dir?
$ find . -exec grep chrome
find: missing argument to `-exec'
Nope. Perhaps missing rg chrome
could help?
The list of agony is rather huge, and by large margin here I am talking to survivors. Those who passed the trial and adapted themselves to The Penguin Way of doing things. Moving with "awk"ward displacements as "sed"uctive legacy from octal age.
Yea, I know that many are still prefer beer to smoothies and i3
to GNOME
, and the idea of change is nothing close to something one can take easily. Because we know the cost of breaking things. But on the other side, how Awesome one’s experience could be if the default experience for both newbies and die-hard Unix hackers after an incremental lifelearning journey would be a perfect, time saving distro? That is called Fedora Awesome!!!
It may sound utopic and idealistic, because after these 60 years it looks like nothing really changed. But, I am writing this in #engineering channel, and these the gears on the table.
- Stories
- Awesome Lists of Awesome
- Lists of Pain
- Engineering
That should constitute a perfect SALEs pitch I crafted out of procrastination. Instead of debugging some Ansible playbooks with :root:, :password: and :container:.
Hopefully you enjoyed it as well.