Linux - Reddit – Telegram
Linux - Reddit
776 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Chown easter egg

Yesterday I came across a chown command that uses a period to separate the user and group field is.

chown user.group {file|dir}

Interestingly OSX mention period syntax in the compatibility section of the manpage. The manpage mentions previos versions "of this system" did support ownership of symbolic links. RHEL8 manpage does not mention it but the functionality does work.

Anyway. I thought that was a neat bit of functionality that may proceed most of our careers

https://redd.it/d5igdy
@r_linux
how to detect file leak, too many open files

Hello everyone,

I am facing a weird problem here, we have a single sign on application called CAS. which is an open source solution built in java. Its job is to authenticate users and forward them to another application. For some reason after 4 to 5 hours of operation it stops with too many open files error, I temporally solved it by increasing the nofile limit. But i am not sure that this is the real issue, because we have 3 servers each having the default i.e 4096. I also should note that all three servers generate the error at the same time. I tried to inspect the application log to find if there is an attack or something, but everything looks normal. Is there is a way i could find out if the application does close the connection or not ?

another interesting thing I found, the connection is just a socket connection should not the connection (file) get closed right a way if the user disconnect ?

https://redd.it/d5xr9s
@r_linux
.NET core in various distroes

Since .NET core is open source and Microsoft has already done part of the packaging then I am wondering when we will begin to see .NET core in the main repo in distribution such as Fedora or Debian?

https://redd.it/d5y89r
@r_linux
PacketFence Network Access Control v9.1: Network visualization, Microsoft Intune support and DNS audit log
https://packetfence.org/news/2019/packetfence-v91-released.html

https://redd.it/d5ysa6
@r_linux
Debian considers how to handle init diversity while frictions increase
https://lists.debian.org/debian-devel-announce/2019/09/msg00001.html

https://redd.it/d646x7
@r_linux
Share your mirrors that are properly secured to a high-level with TLS encryption!

Hey all, if you happen to have some highly secure mirrors to recommend I would gladly take up your offer. No need to be distro-specific here since mirrors serve many distros anyway. Here are mirrors that I found to be very good:

1. [https://mirror.aarnet.edu.au/](https://mirror.aarnet.edu.au/)
2. [https://mirror.uta.edu.ec](https://mirror.uta.edu.ec/)
3. [https://mirror.wearetriple.com/](https://mirror.wearetriple.com/)
4. [https://ftp.fau.de](https://ftp.fau.de/)

By highly secure I mean those that greatly prefer to use ciphers that match these standards:

1. TLS\_ECDHE\_RSA over anything else
2. Use GCM over CBC
3. No less than SHA128 and 128 bit keys
4. No less than TLS 1.2
5. Has downgrade attack prevention - you can test it here:

[https://www.ssllabs.com/ssltest/index.html](https://www.ssllabs.com/ssltest/index.html)

Here's a sample result:

[https://www.ssllabs.com/ssltest/analyze.html?d=mirror.aarnet.edu.au&s=202.158.214.106](https://www.ssllabs.com/ssltest/analyze.html?d=mirror.aarnet.edu.au&s=202.158.214.106)

Mirrors that support and/or prefer CHACHA20\_POLY1305 encryption should be most recommended!

An alternative way of checking a mirror's encryption should be opening it directly using firefox and traversing through the padlock, clicking on the ">" at the right side of "Connection | Secure Connection", then clicking More Information.

https://redd.it/d66ql3
@r_linux
Linux users aren't team players?

My cousin works for an IT company (which I cannot name), and according to my cousin, the Linux users, at least the ones working at her company, seem like douchebags and not team players.

Apparently, these Linux users don't like to share their knowledge and solutions, especially Terminal commands, with other people in the workplace, it's like they have a "figure it out yourself" attitude and it's this attitude that causes delays in their work.

Personally, you can have this attitude if your doing your own thing, but if your working with a Team, you have to be a team player and share your knowledge.

https://redd.it/d6834a
@r_linux
Less bloat does not mean less battery consumption

One of the advantages touted by linux is its lack of bloat but because of driver issues and poor optimization this bloat doesn't really seem to matter much at the end. I tested windows against Debian Testing with powertop/tlp, the latest kernel, and an extremely minimal install where I just had a minimal WM and the command line as the home screen. After setting it up with my own shell noscripts/shortcuts/etc to make it easier to use, lowering brightness by a lot, and tuning it with the power management programs, I calculated a 4.2 hour battery life from a 1 minute drainage test (and confirmed this approximate figure an hour later) while just browsing chrome. Windows, while doing pretty much whatever on the other hand gives a 5.2 hour battery life, 4 hours if I'm playing video games. While it may seem logical that less bloat would lead to a longer battery life, this is sadly not the case.

This makes me wonder why this is ever said to be a benefit of linux. Perhaps with older machines when OS storage and RAM were actual limitations, less bloat made sense, but the millions of possibly unnecessary options available on Windows, while perhaps violating the ethos of minimalism, have no actual drawbacks in terms of performance (at least for my machine).

(At least for laptops with newish hardware)

https://redd.it/d684b2
@r_linux
E-waste is a big problem. Linux, by breathing new life into older computers, laptops & phones, could play a valuable role in reducing tech's eco impact. Are we doing enough as Linux peeps to make machines re-useable via our fave OS? Attached article discusses the amount of emissions we could save!
https://www.ns-businesshub.com/science/smartphone-environmental-impact/

https://redd.it/d6by1j
@r_linux
Midnight Commander behaves differently with sudo?

Since I'm mainly managing Nginx I like to always run MC under sudo. But when I do that it no longer recognises my default editor (micro) and always uses nano.
Also switching to plain shell to type commands don't work because it seems the shell is not released for new commands after running "sudo mc".

Is there any way I can fix these two issues?

Thanks!

Edit:

my Fish config looks like this:

export EDITOR="/usr/bin/micro"

export SUDO_EDITOR="/usr/bin/micro"

export VISUAL="/usr/bin/micro"

https://redd.it/d6ch3e
@r_linux