Language Selection

English French German Italian Portuguese Spanish

Blogs

How To Use 'Sudo' And 'Su' Commands In Linux : An Introduction

Filed under
Linux

linux commands sudo and su

Today We're going to discuss sudo and su, the very important and mostly used commands in Linux. It is very important for a Linux user to understand these two to increase security and prevent unexpected things that a user may have to go through. Firstly we will see what these commands do then we'll know the difference between both of them. So let's get started.
 
 
 
 

Read on LinuxAndUbuntu

APT Packaging Management Tool In Detail; Linux

Filed under
Linux


Linux APT Packaging Management Tool In Detail

A package is a 'Software'. Examples of the package can be the browsers (Google chrome, Mozilla, Safari etc.), utilities package (ccleaner, ASC, BleachBit etc.), designing program (Photoshop, Gimp etc.) and Games (Need for Speed, Call of Duty etc.). The packages/software are compiled and set altogether so that when someone executes them, all the files or scripts start and install the programs on the system. 
 
 
 
 
 

Read on LinuxAndUbuntu

Happy New Year From Roy and Rianne

Filed under
Just talk

Xmas tree

2014 was a great year for Tux Machines. The site moved to a new server with much higher capacity and better caching, Rianne and I moved to a better house, and we finally set up a tree the way we wanted to. Financial contributions from readers were enough to subsidise a laptop for Rianne and she now happily submits a lot of links from there.

In 2015 we expect to improve both volume and quality of links. We are going to think of ways to improve the Web site and we openly welcome suggestions from readers. The goal is to make the site more informative more efficiently. We wish to help readers steer away from cruft and gossip and instead identify news of importance, without repetition unless new information and details arise.

My Chromebook with KDE

Filed under
Reviews

I got my new Chromebook... Smile Yes, you've heard me right, but wait before you raise your eyebrows...

HP Chromebook 14

HP Chromebook 14

HP Chromebook 14

HP Chromebook 14

HP Chromebook 14

HP Chromebook 14

I installed Ubuntu on it as my default OS, though I can go back to Chrome OS any time I want. I don't see any point in doing it.

HP Chromebook 14

Roy helped me do the partitioning, configuration and tweaking. We configure it in a way so that I can use it in my work, not just for Facebooking, tweeting and chatting's sake.

HP Chromebook 14

HP Chromebook 14

I am still exploring the machine, basically familiarising with the keyboard and all the function settings on it. The Kubuntu environment which I chose will need some adjustments; also the applications which I downloaded are a bit different from the other laptop's (which I used to work on).

HP Chromebook 14

Change is good, but it requires a lot of patience and adaptation to the new environment.

HP Chromebook 14

I like my Chromebook very much. It is one of the best gifts I have received from my husband. It is more practical, it gives me more confidence to learn and to develop more of my computer skills. Innovation is fast-moving and technology is progressing, so you definitely need to catch up with it. Unless you want to be left behind by choice...

Holidays Calm

Filed under
Site News

Xmas
Our living room this past weekend

TOMORROW is my birthday, so we are going away to Liverpool for a while. Over the holidays we won't be too active in this site, at the very least because there is no major news, no announcements of substance, and we also wish to spend some time with our extended family.

As always, anyone in Tux Machines can create an account and submit stories to the front page (as of late only spammers have been doing that almost every morning). We encourage readers to submit any links which they find relevant and of interest to the community.

Vacation Photos

Filed under
Just talk

Tux and Rianne

Last week we did not post as much news as usual because we went to the south of England with Roy's sister. We did take some photos.

Issues with Kubuntu 14.10

Filed under
Linux

I installed Kubuntu 14.10 a couple of weeks ago. Here's two issues I've discovered, the first one is solved, but the 2nd one isn't.

1) Kdenlive will play videos from the Clip Monitor, and in the Project Monitor. However, after rendering the video, audio is lost.

2) It's not possible to mount an nfs share automatically in /etc/fstab. You have to use
sudo mount -a and enter the root password.

Fireworks! And Tux Machines Works.

Filed under
Just talk

November effigies

Fireworks continue to appear all over the place, even a day after Guy Fawkes Night. Yesterday the city was full of smoke (as though it is under heavy fog all around), but that is just an annually-recurring tradition. It's very bad for the environment, but hey, lots of people enjoy it.

Over 400 Guy Fawkes tried to destroy the House of Lords, just as some gang or a person has been trying now for nearly two months to keep Tux Machines offline. Thankfully, however, the attacks are not succeeding anymore because we have refined our defenses and the offending zombie PCs are being banned left and right (all day long). Surely the plot has been foiled. All we need now is effigies.

How my uncle became a Linux user

Filed under
Linux

It has been a month since my relatives from Bradford visited us here in Manchester. Our usual routine if they come to spend the holidays with us is to go to the gym to work out, to run on the treadmill and play pingpong. The best part of the workout, which we enjoy the most, is swimming afterwards. We get relaxed at the jacuzzi and then get hot and sweaty inside the sauna. It is a good exercise and offers relaxation after a stressful day of work. We have so much fun in the gym.

We arrived home around 8:00 pm after having a good round of walk in Manchester City Stadium. We were lucky to see the Manchester City football team; they had a match against Roma, so crowds were flooding in the streets. There were about a thousand spectators coming to watch the game who walked past us.
At home I prepared the meal. We had candlelights and red wine to enjoy while having our soup, vegetable salad and chicken for dinner; mango smoothies were the final dessert.

After the meal we chatted about the economy, healthcare, jobs, business, and technology in the U.K. I have learned a lot from Albert, my aunt's husband. He is an economist.

Albert explained to me that he was struggling with his PC. It was a brand new PC. It had a touchscreen and the laptop was thin and powerful. Albert's problem was not the laptop. As it turns out, his problem was Windows. The computer came with Windows 8. He already wasted a lot of money because shops exploited him. He did not even have an office suite installed. The computer was useless. He hardly used it. He hardly even had any files on it.

I then explained to Albert about GNU/Linux. I told him about Stallman and GNU. I also told him about the dirty tricks of Microsoft and about the true Bill Gates, including his involvement in GMO. Albert listened to me and he wanted to know more. I hope he learned something from me, just as I had learned from him.

The following morning I asked my husband for help. He was working all night and in the morning he was available to help Albert. Based on Roy's analysis, the machine was full of malware or some other mess. It was almost impossible to do anything with it. Windows 8 was hard to work with and it was hardly even possible to download and install a program like LibreOffice. The interface was confusing. It took ages to do very simple things.

Albert insisted that we should install GNU/Linux, but we didn't have a recent version of a distro at that time. Either way, Albert was so frustrated with Windows that he was willing to throw it all down the drain, along with his files.

This was my first time seeing Windows 8. I usually use Android or KDE. Microsoft Windows has become full of pop-ups, spam, marketing and other garbage. I am glad to use GNU/Linux and Albert will soon join us. By all means, Albert now wants to use Open Source and he already learns how to use LibreOffice.

How to secure the plex web interface behind a reverse proxy

These are some instructions i put together to get plexweb working from home over https using an NGINX reverse proxy. Might be useful to someone.

Read More

Tux Claus

Filed under
Just talk

Tux Claus

Summer is finally over, but summertime or the climate hasn't officially changed yet. I wonder if I can still do something out of the ordinary, but the weather is disrupting my planned activities outside. Sometimes there is sunlight, but the next minute the dark clouds covers the beautiful sky and it makes the day dull and cold.

Two days ago my husband and I went to stroll inside the mall and ended up buying some personal stuff in a store. While I was in a queue to pay my husband was in a hurry to add this tiny bit of stuff which I didn't recognise at first. I thought of ignoring and not buying that tiny little thing. Then my husband said "look what I found" and then I asked what is it -- it's tux! Tux Claus. Soon I saw a tiny penguin dressed in Santa clothes; the design was simple ,but it was artistically made. I know it is still early, but we're both excited to add Tux under our Christmas tree and be merry.

Life Goes On

Filed under
Just talk

Manchester

TUX MACHINES HAS BEEN under attack for nearly two weeks now. We need not really comment on our technical means of defence and how we mostly overcome these attacks (we are not giving too many clues to the attackers, who are mostly deflected with blacklists and redirects for the time being), but for the most part the Web site continues to run and to serve visitors. That's what is important. We work hard to keep posting the latest news and not let distraction, aggravation or sabotage get in the way. It is hard to imagine who would want to attack a site like this. This site is not even political or controversial.

In more general news, Manchester has had a nice and warm September. It continues into October (so far). Today we started seeing some hybrid (partly electric) double-decker buses and today we also found out that the health club we always go to has been voted best in the north west and third-best in the UK for the second year in a row. We still post some news whilst out of the house (if a wireless connection becomes available) and this morning the weather was so fine that we managed to play some badminton outdoors.

Life goes on and no level of attacks on the site is going to stop it. There are many ways to combat DDOS attacks, so they are merely a nuisance. The attackers should know that they are only wasting their time; there are much better things to do in life. Those commandeering Microsoft Windows botnets would be better off targeting the KKK or something, not a GNU and Linux news site.

Tux Machines is under attack

Filed under
Site News

My husband has been spending many of his hours fighting blow by blow in the back end, saving Tux Machines from a cyber attacker who really spent his freaking time hammering the website in an attempt to cripple Tux Machines. At first I was bit astonished by how the website behaved while I was posting some articles, I thought of checking the load to make sure the server worked well and to see that every visitor's page request had been served well, only to know that slowness of the website was been masterminded by an attacker. Perhaps this person is so desperate to put the Tux Machines website down, perhaps an enemy of FOSS and Linux advocacy.

We want to reaffirm our visitors and readers and apologise for the slight inconvenience and weired behavior of the website for the previous hours. All we have done is to protect our readers and visitors from this an acceptable gesture even until now he/she has been trying to penetrate the website. My message to this attacker is, leave Tux Machines in peace and go find some games to play with.

Windows-Shocked

Filed under
Site News

There are rogue bots hammering on this site all day long. It has gone on for quite a few days and it is getting worse. The bots are getting harder to block. Strategies are changing. They are all acting like zombies/botnet and they all have a "Microsoft Windows" in their HTTP header.

The corporate media seems preoccupied with a bug in GNU Bash. It predicts gloom and doom, just as it did when there was a bug in OpenSSL that Microsoft partners dubbed "heartbleed" (although not so much actually happened in terms of damages).

Perhaps it is time to remind that media that Microsoft, with its back doors, is causing turbulence on the Web. Among the outcomes there are GNU/Linux Web sites that are brought down, with administrators who work around the clock trying to block Windows-running PCs from trying to take down their sites.

Rogue Bots

Filed under
Site News

Aggregators in Tux Machines have been universally disabled (temporarily we hope) after a week or so of heavy load that took the site down (well, over capacity and hence not accessible). The culprit seems to be mostly -- although not exclusively -- a bunch of bots that hammer on the aggregators with spammy requests. It's sad that so many hours need to be spent just keeping script kiddies out of the site, resulting in fewer bits of output, slower pageloads (performance degradation), and restlessness (monitoring alerts all day long), not to mention crafting of rules that merely keep the site running. Running Tux Machines is not quite as peaceful and trivial/simple as it may seem from the outside. It's like a full-time job, or at least it feels like it, especially whenever the site gets flooded by rogue bots, necessitating special attention 24/7.

Apple privacy policy frustrates government

The release of the Apple iOS 8 software meant that Apple updated its privacy policy. As a company that has always put personal privacy above all else, this means you can expect your personal information to be even more protected than before. But to what extent should you expect privacy, and at what point is the government going to step in and say no?

What privacy can you expect?

Recent Changes in Tux Machines

Filed under
Site News

Work

TODAY we have taken a bit of a break. It's Sunday after all. But here is a bit of a site status update.

The site's design has evolved a bit and it hopefully makes navigation a little better. SPAM is still a problem, but we do our best to keep it out of the sight of visitors. It's the result of a permissive policy that lets everyone publish a story, blog post, etc.

In terms of server load, we are still coping most of the time, but sometimes there's a flood of SPAM/rogue traffic that renders the server virtually unreachable. We use some ad hoc filters for to address this nuisance, but if we are away, then the site can be paralysed for a long time. We still need to find better solutions to that.

Thanks in advance for any feedback you may have and thanks for reading Tux Machines.

How to rename files in bulk

Filed under
Howtos

Consider this common scenario. A directory contains multiple files that are named using a common convention: for example, image-001.png, image-002.png, image-003.png, etc. You want to rename the files to, say, upload-001.png, upload-002.png, upload-003.png, etc.

The coders among us can write a bash script to automate the process. For expedience, this post shows how to use the built-in rename command to achieve the same goal.

OMG what happened to CentOS 7 Desktop?

As an Ubuntu user i always keep an eye out on other distros i've used over the years Sabayon, OpenSuse however CentOS is never a desktop distro i'd think of, always felt like heading back to 1990 on the desktop.. Time it seems however have changed

Read More

It's Summer Again

Filed under
Site News

THE WEATHER has been getting more pleasant and the news too is pleasant these days. Software patents are in a state of perpetual demise, Microsoft is dealing with its large-scale demise (layoffs also), FOSS is being adopted by very large nations (Russia and China are among them), the UK has adopted OpenDocument Format as the standard, and our family benefits from government migrations to FOSS (Rianne and I work through a FOSS specialist).

While it may seem like the FOSS world is quiet (judging by the volume of news), the truth of the matter is that FOSS professionals are busy migrating many systems from proprietary to FOSS. These people are committed to the cause not just with words but also with actions.

Tux Machines, realising that games for GNU/Linux are now a dozen a week (not literally), lumps together gaming news. Android, being a Linux-based platform with huge worldwide impact, receives frequent mentions. If anyone wishes to suggest other editorial priorities, please share with us in the comments.

Syndicate content

More in Tux Machines

Security: Linux, Docker and Guix

  • Unpatched Linux bug may open devices to serious attacks over Wi-Fi

    The flaw is located in the RTLWIFI driver, which is used to support Realtek Wi-Fi chips in Linux devices. The vulnerability triggers a buffer overflow in the Linux kernel when a machine with a Realtek Wi-Fi chip is within radio range of a malicious device. At a minimum, exploits would cause an operating-system crash and could possibly allow a hacker to gain complete control of the computer. The flaw dates back to version 3.10.1 of the Linux kernel released in 2013.

  • Docker Attack Worm Mines for Monero
  • Insecure permissions on profile directory (CVE-2019-18192)

    We have become aware of a security issue for Guix on multi-user systems that we have just fixed (CVE-2019-18192). Anyone running Guix on a multi-user system is encouraged to upgrade guix-daemon—see below for instructions. Context The default user profile, ~/.guix-profile, points to /var/guix/profiles/per-user/$USER. Until now, /var/guix/profiles/per-user was world-writable, allowing the guix command to create the $USER sub-directory. On a multi-user system, this allowed a malicious user to create and populate that $USER sub-directory for another user that had not yet logged in. Since /var/…/$USER is in $PATH, the target user could end up running attacker-provided code. See the bug report for more information. This issue was initially reported by Michael Orlitzky for Nix (CVE-2019-17365).

In 2019, multiple open source companies changed course—is it the right move?

Free and open source software enables the world as we know it in 2019. From Web servers to kiosks to the big data algorithms mining your Facebook feed, nearly every computer system you interact with runs, at least in part, on free software. And in the larger tech industry, free software has given rise to a galaxy of startups and enabled the largest software acquisition in the history of the world. Free software is a gift, a gift that made the world as we know it possible. And from the start, it seemed like an astounding gift to give. So astounding in fact that it initially made businesses unaccustomed to this kind of generosity uncomfortable. These companies weren't unwilling to use free software, it was simply too radical and by extension too political. It had to be renamed: "open source." Once that happened, open source software took over the world. Recently, though, there's been a disturbance in the open source force. Within the last year, companies like Redis Labs, MongoDB, and Confluent all changed their software licenses, moving away from open source licenses to more restrictive terms that limit what can be done with the software, making it no longer open source software. Read more Also: Network Time Foundation Joins Open Source Initiative

Red Hat: OpenShift, RHEL, Dependency Analytics, vDPA and More

  • Red Hat Expands the Kubernetes Developer Experience with Newest Version of Red Hat OpenShift 4

    Red Hat, Inc., the world's leading provider of open source solutions, today announced Red Hat OpenShift 4.2, the latest version of Red Hat’s trusted enterprise Kubernetes platform designed to deliver a more powerful developer experience. Red Hat OpenShift 4.2 extends Red Hat’s commitment to simplifying and automating enterprise-grade services across the hybrid cloud while empowering developers to innovate and enhance business value through cloud-native applications.

  • RHEL and Insights combo illuminates threats and spotlights performance for Red Hat systems

    When Red Hat Inc. officially rolled out its Red Hat Enterprise Linux 8, or RHEL 8, operating system in May, the open-source software company also included Red Hat Insights with every subscription for the new release. Based on data supplied by one of the company’s top executives, that has proven to be a wise decision. Insights is a software as a service product that works from a rules-based engine to offer continuous connected analysis of registered Red Hat-based systems. “We’ve seen an 87% increase since May in the number of systems that are linked in,” said Stefanie Chiras (pictured), vice president and general manager of the RHEL Business Unit at Red Hat. “We’re seeing a 33% increase in coverage of rules-based and a 152% increase in customers who are using it. That creates a community of people using and getting value from it, but also giving value back because the more data we have the better the rules get.”

  • What’s new in Red Hat Dependency Analytics

    We are excited to announce a new release of Red Hat Dependency Analytics, a solution that enables developers to create better applications by evaluating and adding high-quality open source components, directly from their IDE. Red Hat Dependency Analytics helps your development team avoid security and licensing issues when building your applications. It plugs into the developer’s IDE, automatically analyzes your software composition, and provides recommendations to address security holes and licensing problems that your team may be missing. Without further ado, let’s jump into the new capabilities offered in this release. This release includes a new version of the IDE plugin and the server-side analysis service hosted by Red Hat.

  • Breaking cloud native network performance barriers

    Up until now we have covered virtio-networking and its usage in VMs. We started with the original vhost-net/virtio-net architecture, moved on to the vhost-user/virito-pmd architecture and continued to vDPA (vHost Data Path Acceleration) where the virtio ring layout was pushed all the way into the NIC providing wiresspeed/wirelatency to VMs. We now turn our attention to using vDPA for providing wirespeed/wirelatency L2 interfaces to containers leveraging kubernetes to orchestrate the overall solution. We will demonstrate how Containerized Network Functions (CNFs) can be accelerated using a combination of vDPA interfaces and DPDK libraries. The vDPA interfaces are added as a secondary interface to containers using the Multus CNI plugin. This post is a high level solution overview describing the main building blocks and how they fit together. We assume that the reader has an overall understanding of Kubernetes, the Container Network Interface (CNI) and NFV terminology such as VNFs and CNFs.

  • Top 5 stress reliefs for sysadmins

Purism shows off more pictures of Librem 5 Phone and PureOS UI

As the first batch of the Librem 5 phones starts reaching its respectful owners, we can now have a better look at the product from its pictures taken by the customers. Before we check them out, let’s get to know a bit more about these phones. The Librem 5 smartphones are powered by PureOS, which is a Linux-based mobile operating system. The brains behind this product, namely Purism, have made it their top priority to offer such phones that provide security, privacy, and freedom to the customers. Accordingly, this product has been made for people who want to have complete control over their phones. You should check out this article if you want to know more about the Librem 5 smartphones. Now coming back to the news, people who have ordered this phone are in for a treat as the Librem 5 comes with a black anodized aluminum case. Not only it’s stylish, but it also maintains high radio reception quality – thanks to its non-metal backing. It accompanies easier-to-slide, flush hardware kill switches. Read more Also: Nathan Wolf: New Life to Rock Candy Gamepad for PS3 | Another Repair