Introduction

Linux Voice

Article from Issue 198/2017
Author(s):

This month in Linux Voice.

Recently, I had to deal with a server that had a corrupted sudoers file. It's a bit problematic because you need sudo permissions to correct the problem, but you can't get sudo permissions until you fix it. After a bit of nervous to-ing and fro-ing, I came across the pkexec command, which solves the problem by using polkit to grant permissions. Phew. It reminded me of another time I was dealing with the aftermath of a security breach and the whole of /usr/bin was corrupted. We had to find alternatives for all the commands until we had everything fixed (for example, rather than using ls, you can type ./ then tap tab twice). There are a lot of ways of doing things in Linux, and this can make it a little complex sometimes, but it also means that when one way goes wrong, you have other options. These alternative approaches can end up helping in ways that are almost impossible to foresee. I thought about this plurality of options as I read Mike's article on browsing the web via the command line. Yes, it seems a little eccentric when you first think about it, but it can come in useful in many ways, not least when you mess up your graphics drivers.

In this month's Core Technology, Valentine Sinitsyn also takes a look at some more alternatives, specifically with regard to how authentication works (although as responsible admins, we should probably consider sudo or su to be the alternative rather than the default). Simon Phipps is also looking at alternatives, particularly with the nomenclature around Libre, Free, and Open Source.

The range of different options available to users of Linux is a huge advantage. It doesn't really matter what words we use when advocating for Free Software, fixing an unusual situation, or just trying to browse the web while having a drink at an airport. So turn the page, dive in, and join us as we celebrate the diversity of technology in the Linux ecosystem.

– Ben Everard

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus