Linux Voice

Article from Issue 198/2017

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.


Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

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

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Introduction

    If you're a Linux Voice reader, you may be wondering what this magazine you have in your hands is – I'll get to that, but first I'll start with a little background information. 

  • Introduction

    This month in Linux Voice.

  • Introduction

    What does the word Linux mean to you?

  • Introduction

    It's no secret that 2016 has brought a lot of change to the world. The political destinies of both Europe and America have shifted in ways that seemed almost inconceivable just a few years ago, and that's without mentioning the scores of beloved celebrities that are no longer with us. Here in the UK there's been yet another political shift this month, though one we've long seen coming. 

  • Introduction

    Looking forward to a third decade of the KDE desktop.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95


njobs Europe
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia