Language Selection

English French German Italian Portuguese Spanish

Today's Howtos, Tips, Tutorials:

Filed under

Like most people, I have a fairly sizeable collection of audio files stored on my hard disk in .mp3 or .ogg format - music, copies of interviews, podcasts and old radio shows. Which is great for my MP3 player and my laptop computer, but it isn't any good for my basic standalone CD player which doesn't have a clue how to play MP3 files. So until I get a better CD player I use a simple technique to create audio CDs that all CD players can handle.

I started using this technique a couple of years ago and despite a recent spate of free software applications for Linux that can pretty much do the same by simply pointing and clicking, I still find myself reverting to the command line.

Creating audio CD compilations on Linux

phpSysInfo is a customizable PHP script that parses various files in /proc and displays them. It will display information about system facts like Uptime, CPU, Memory, SCSI, IDE, PCI, Ethernet, Floppy, and Video. It now has full internationalization support along with customizable templates.

Phpsysinfo Requirements

Web server (apache2) with php4 or later support

Installing phpsysinfo in Ubuntu

sudo apt-get install phpsysinfo

After completion of your installation this program automatically located at apache2 default document root directory i.e /var/www/phpsysinfo/ folder

Display Your system Information (Uptime,CPU,Memory,SCSI,IDE,PCI,Ethernet,Floppy,and Video) Using Phpsysinfo

Errors like these:

libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering

can occur when the xorg.conf file is hand-edited to add or uncomment the lines:

Load "glx"
Load "dri"

...while the following section is either missing, or commented out:

Section "DRI"
Mode 0666

libGL error: open DRM failed (Operation not permitted)

Rainlendar is a calendar application that doesn’t take up much space on your desktop. You can use it to keep track of events and tasks, and with the pro version you even can sync with network calendars.

Installing rainlendar on ubuntu is extremely simple. Just download the file and extract it wherever you feel like.

Installing Rainlendar2 on Ubuntu

Shadow passwords have been a de facto standard with Linux distributions for years, and as well as the use of md5 passwords. However, there are drawbacks to using the traditional shadow password method, and even md5 is not as secure as it used to be. One drawback to the shadow password file is that any application that requires looking up a single shadow password (i.e., your password) also can look at everyone else's shadow passwords, which means that any compromised tool that can read the shadow file will be able to obtain everyone's shadow password.

There is an alternative to shadow, called tcb, available from the tcb home page written by the Openwall Project. Migrating to tcb is fairly straightforward, although it can take a bit of work. Because only Openwall GNU/*/Linux, ALT Linux, and Annvix support tcb out-of-the-box, to get tcb support in your chosen distribution, you will have to recompile and patch a few programs.

Migrating from shadow passwords to tcb in Linux

There are many articles on the Interwobble telling you how to set the process title on Linux; they all concentrate on the problem of placing an arbitrarily long string in argv[0] to report status information in the process list.

But what if argv[0] is fine, and what you want to do is remove the following arguments from the process list? Perhaps they contain sensitive information, or perhaps they’re just likely to be surprising.

A fictional example may look like this:

Hiding arguments from ps

Open SSH is the most widely used SSH server on Linux. Using SSH, one can connect to a remote host and gain a shell access on it in a secure manner as all traffic is encrypted.

A neat feature of open SSH is to authenticate a user using a public/private key pair to log into the remote host. By doing so, you won't be prompted for the remote user's password.

This tutorial will describe how to create a SSH public/private key pair, how to enable key based authentication and finally how to disable password authentication.

Secure your SSH server with Public/Private key authentification

Image manipulations can be done through command lines. Most of the time, we use GUI software such as GIMP to manipulate graphics, but sometimes it is not convenient to use such huge tool to just perform some simple image manipulation such as resize. Image Magick and Graphics Magick gives us various of command line on image manipulation. In this post, I am going to show you a simple example on how to convert a image from one format to another and simultaneously resize it.


More in Tux Machines

6 smart settings to make your Android phone anticipate your needs

There's no denying that our smartphones have made our lives so much easier, putting our contacts and schedules, our driving directions, the whole internet, right at our fingertips. But if you're using an Android phone you might be leaving even more convenience on the table. There are a bunch of super-smart settings in Nougat and Google Now that’ll make your Android device feel like it’s 10 steps ahead of you. Your Android phone can be proactively telling you how long it’ll take to get to work in the morning, and nudging you when your favorite team is about to take the field. Your device can keep itself unlocked whenever it’s on you, and those snapshots you just took can automatically be arranged into beautiful collages. Battery running low? Android can know to dial down background activity to keep your phone alive. And if you love the idea of asking Google questions without ever touching your phone, you can train your phone to do that, too. Read more

Android and Tizen Leftovers

Update: Convictions Upheld, Sentences Extended In Romanian Microsoft Bribery Trial

According to the blog post, the trial ended on October 3rd, and investigators found that more than 100 people, including former ministers, the mayor of Bucharest, and various businessmen were involved in this latest corruption scandal involving Microsoft. More than 20 million euros were paid by Microsoft there as bribes. [...] These bribery convictions are just the tip of the iceberg. Multiple news outlets are reporting on investigations of bribery in other countries as well as separate investigations by the US Department of Justice and the US Securities And Exchange Commission. Read more

Red Hat News