Language Selection

English French German Italian Portuguese Spanish

HowTos

Getting started with Postfix, an open source mail transfer agent

Filed under
OSS
HowTos

Postfix is a great program that routes and delivers email to accounts that are external to the system. It is currently used by approximately 33% of internet mail servers. In this article, I'll explain how you can use Postfix to send mail using Gmail with two-factor authentication enabled.

Before you get Postfix up and running, however, you need to have some items lined up. Following are instructions on how to get it working on a number of distros.

Read more

today's howtos

Filed under
HowTos
  • The template user with PAM and login(1)

    When you build a new service (or an appliance) you need your users to be able to configure it from the command line. To accomplish this you can create system accounts for all registered users in your service and assign them a special login shell which provides such limited functionality. This can be painful if you have a dynamic user database.

    Another challenge is authentication via remote services such as RADIUS. How can we implement services when we authenticate through it and log into it as a different user? Furthermore, imagine a scenario when RADIUS decides on which account we have the right to access by sending an additional attribute.

    To address these two problems we can use a "template" user. Any of the PAM modules can set the value of the PAM_USER item. The value of this item will be used to determine which account we want to login. Only the "template" user must exist on the local password database, but the credential check can be omitted by the module.

  • Pseudo-blank ("empty") records and fields
  • Elementary OS (Loki) Installation Steps for Laptop and Desktop
  • LibreOffice Impress: Change Default Template

Basic Vim Commands Every Linux User Should Know

Filed under
HowTos

A comprehensive guide explaining basic vim commands that will be useful to any Linux user be it a sysadmin or a developer.
Read more

Syndicate content

More in Tux Machines

The History of Various Linux Distros

Linux has been around for almost 30 years. Yes, it’s that old, and it did make history. If you are interested in the history of some of the major Linux distros, here it is in a nutshell – the history of various Linux distros, like Ubuntu, Fedora, REHL, Linux Mint, Slackware, etc. The reasons for their creation and their philosophy will be briefly discussed. Read more

Security: Updates, Reproducible Builds, Microsoft's Spying Marketed as 'Security', and Xbash Hype

Games: Distance, Ballistic Overkill, GOG, Valve, and Wolfenstein: The Old Blood

today's howtos