Linux - Reddit – Telegram
Linux - Reddit
778 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
My company is asking me if Linux should be allowed as employee OS. Need good arguments to convince them!

**TL;DR: I have a chance on convincing my IT company to add GNU/Linux to the OS that employees can pick for their computers and I need some good arguments why they should allow this.**

​

Hi everyone, I work as a developer for a mid size company in Germany (around 1k employees) and in about 10 days **I have a meeting where I have to explain why GNU/Linux could be a valid alternative for the employees' computers**.

In this meeting it will be discussed which OS the company should officially support and allow their employees to use. Currently the official supported OS is Windows 10 with no admin rights (the OS is fully managed by Office IT).

Many Developers and Operations are complaining for years about this lack of options and recently an internal survey was sent to 150 of them to ask which OS they want to use and if they want to have admin rights. Some really interesting numbers came out of the survey because less than 23% of the people would like to stay with Windows 10 and the remaining 77% is split almost evenly between choosing GNU/Linux and Mac OS.

Office IT is already dealing with Mac OS because of the UX Designers and iOS developers so Mac OS will be almost definitely added since they have already some experience managing it. **For GNU/Linux**, sadly, **is going to be more difficult**, mostly **because of the opposition of the Office IT**, that is missing the internal knowledge of this OS.

The CTO decided to schedule a meeting with all the heads of the various departments, including Security and Office IT to decide which Operative Systems the company should support. I am also invited to this meeting, together with another colleague, because for more than one year we are taking part in a Linux Proof Of Concept inside the company (we are using exclusively GNU/Linux in our daily work).

They want to know from us what is our experience and what works fine and what does not. I don't have any particular issue beside not being able to do audio/video conferences with Webex Teams, mostly because Cisco doesn't provide a GNU/Linux client for it, but I can easily use my Smartphone for these calls. Proxy, Exchange, VPN, everything works just fine for me and my colleague.

Anyway I would like to use this meeting to try to convince the participants that including GNU/Linux, together with Mac OS and Windows would be the best choice. But for this **I need some valid arguments**.

And this is why I am writing here, because I would like to ask the community for help in finding these arguments.

I have already thought about some but I'm not sure how good they are:

1. **tech employees want to be able to pick their favorite OS**. Why? Because people is more productive if it use an OS that they are comfortable with. Because it is frustrating to switch between different OS in the office and at home (especially if is an imposed decision). Because the ability of making this choice can have a weight when someone is evaluating if he should join the company or not (if you check [StackOverflow survey](https://insights.stackoverflow.com/survey/2018#technology-_-developers-primary-operating-systems), 1 out of 4 developers has GNU/Linux as preferred OS).
2. **if you have to deploy on GNU/Linux, it is better to also develop on GNU/Linux**. I got this answer from several colleagues. Some are very frustrated when they try to use Docker on Windows, even with the Windows Subsystem For Linux, because it doesn't just work like it does on GNU/Linux (their words, not mine).
3. **you'll save money on hardware**. As I said before, is practically sure that Mac OS will be added as an option and, if you don't allow the people who want GNU/Linux to have it, they will probably pick Mac as fallback. This means buying dozens, if not hundreds, of expensive Mac Book Pro instead of cheaper and easily upgradeable Dell notebooks. It will also be easier to convert a GNU/Linux notebook into a Windows one and the other way around if, for some reason, some
one is not happy with their choice.
4. **possibly saving some license costs**. If an employee doesn't need to use Microsoft Office, the license cost can be saved. I have Libreoffice installed and, for the few times a month I have to open a PowerPoint presentation or an Excel spreadsheet, it is good enough. Not sure if we can save also the cost of the Windows license but that can also be an additional plus.
5. **instead of Office IT, the community can provide support**. By community I mean an internal to the company community of GNU/Linux users: if you want to use GNU/Linux you must be aware that Office IT will only deliver the hardware and than you'll have to do everything on your own. There will be a public space on the Company wiki, maintained by the community, where you can find instructions on how to setup your machine, and there will be a dedicated Webex Teams text chat group where it will be possible to give and get live help from other colleagues. But if you want to just have Office IT to fix your issue, you should stick to Windows.

These are the main arguments I found so far but **I would be really grateful if I can get more here**.

Beside the arguments to allow using it, **I need to make also the Security team happy**, they have some concern: **they want a way to check on all the employee machines if the OS is correctly patched and what packages are currently installed**. It would be great if someone here could give me some technical advice on how this can be done (some software/tool name that can do this would be a good start).

Some questions that might raise:

* **Are we talking about using GNU/Linux on servers or desktop?** We are talking about desktops (mostly Dell notebooks). All the company servers are already running Red Hat Enterprise Linux or CentOS.
* **Why Fedora?** Because the company uses RHEL and CentOS on all the servers and they wantet to stick to the Red Hat world as much as possible when the POC was created (at first they even tried to use CentOS but the outdated packages made using the latest notebook a nightmare). But Ubuntu 18.04 got already approved by the License team because of Windows Subsystem for Linux so, it is not completely excluded.
* **Do you want to convince your company to use exclusively GNU/Linux?** No, as I said, the company currently only allow Windows on employees' computers, soon will allow to pick Mac as an alternative and I have a chance to convince them to add also GNU/Linux as an option.
* **Why should I spend time helping you?** Because the company I work for has around 1000 employees and you could help making many penguin users happy providing some valid argument for this topic.

https://redd.it/bpgmad
@r_linux
Permissively-licensed MTP device implementation

Introducing cmtp-responder - a permissively licensed Media Transfer Protocol (MTP) responder implementation which allows embedded devices to provide MTP services and supports a core set of MTP operations.


[https://www.collabora.com/news-and-blog/blog/2019/05/16/permissively-licensed-mtp-device-implementation/](https://www.collabora.com/news-and-blog/blog/2019/05/16/permissively-licensed-mtp-device-implementation/)

https://redd.it/bpfgpk
@r_linux
new password manager

Hi Everyone,

Just wanted to share a great discovery I made last year. I am a heavy user of the command line and I had long been searching for a good password manager that fit my way of working. I found it in [Avendesora](https://avendesora.readthedocs.io). I find most other password managers very constraining and cumbersome. And I am not comfortable trusting the security of pre-packaged or cloud-based managers.

You can run Avendesora from the command line, or you can link it to a hot key so that you can auto-type passwords into running applications such as a web browser or a terminal window.

Avendesora is capable of both storing and generating secrets like passwords and security questions, and its generator is very flexible. And unlike most password managers that are designed largely to just manage usernames and passwords, Avendesora is designed to hold a wide variety of information about an account and make it easily available.

Just to give an example of how flexible it is, I have an account at a cryptocurrency exchange that contains two different usernames (public and private), 4 different passwords (login, trading, funding, and master), and a time-based second-factor (OTP). With Avendesora I can enter my username, login password, and OTP in a single keystroke. Approving an action that requires a secondary password also requires a single keystroke, Avendesora recognizes the page from the URL and uses the appropriate password.

Avendesora also has a nice API, which I use to write little utilities that need access to account information or passwords. For example, I used it to export selected accounts to BitWarden so I can access them on my phone.

Avendesora is free software, is written in Python, and uses GPG for encryption. I have looked at the source; it is cleanly and thoughtfully written. I find no hint of questionable code. It seems well documented and well supported.

I have been using Avendesora for a while now and love it. I recommend that you check it out.

\-Tiana

https://redd.it/bpghcr
@r_linux
Kernel 5.1 Boot news ?



I've read that kernel 5.1 can boot to a device-mapper device without using initramfs. More details:

"previous kernel versions required the presence of an initramfs image to boot the system to a file system locate in a device-mapper device, but there were many cases where users couldn't use an initramfs image, so this new feature comes in handy when you want to boot to a device-mapper device without the need of an initramfs image, just by using a simple kernel boot parameter".

Maybe this can help booting linux on arm devices/boards/smartphones ?

https://redd.it/bphjnt
@r_linux
Does anyone know what happened? It's not loading my normal ubuntu, instead it's running a terminal
https://redd.it/bplrfm
@r_linux
Practicing Data Recovery - methods?

So it's been a long, long time since I've had to attempt to recover any data. Anything that is important to me (photos) I keep multiple backups of in different locations.

That being said, linux is a pretty powerful tool for data recovery and I just happen to have retired a couple of old 500GB HDD's.

I saw a post today about a guy who is having to do some data recovery because of a power outage (I personally use a pure-sine UPS). The post got me thinking, if for whatever reason I had to recover some data tomorrow - I don't really have a clue.

So, I'm going to load up those old HDD's with some random data - screw up the drives and see how recovery goes.

My questions to those of you who know:

**What are some scenarios of types of data that would be easy or difficult to recover, ranked from easy to hard?**
i.e., Recovering an Operating System drive, recovering photos, recovering plain text, recovering pdf's, recovering compressed files, recovering encrypted things (and then being able to access the encrypted data provided you still have the key).

Are full disks harder/easier to recover than ones with x% of space available, certain types of file formatting systems more or less difficult, certain operating systems make recovery more or less difficult, etc.

**What are some methods that I could use to "break" the drives that would require recovery (that is possible without special equipment) that simulate something that might actually happen to a person?**

i.e., sudo rm -rf /\*, deleting partitions, partitioning incorrectly, deleting boot sectors, simply accidentally deleting the wrong file, doing something weird while compressing files, etc.

I'm only going to attempt recovery at a software level using free tools available on linux, no hardware or dissassembly and no proprietary tools.

https://redd.it/bpe9yz
@r_linux
I am a design student willing to contribute to opensource

this is little offtopic to /r/linux

I am an animation student willing to contribute to opensource. What are some oss projects(strictly technical/only design) I can contribute to?



Thanks!

https://redd.it/bpnitt
@r_linux
Visudo help with id command

Hello,

​

I am setting up a bash/html CGI that will allow me to generate graphs with GnuPlot under RedHat 7.6.


My tutor ask me to create a cgi noscript that will be able to return a sudo id (root) without a password.


Actually, if I add the id command in one of my cgi-noscript, the return is :


uid=48(apache) gid=48(apache) groups=48(apache) context=system_u:system_r:httpd_sys_noscript_t:s0



But I want this return :


uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023




So I going on the the visudo file and I add :


httpd ALL=(root) NOPASSWD: id


But it doesn't work. And I don't know if I have to put "httpd" or "apache"...
The objective is to learn how this file works.


Can you help me ?

https://redd.it/bpp14l
@r_linux