Language Selection

English French German Italian Portuguese Spanish

Giving users a home directory automatically

Filed under
HowTos

If you are using LDAP or NIS to manage users you might discover users having problems because they don't have a home directory on each machine they can connect to. Thankfully there is a simple solution for creating home directories upon demand for users.

The Pluggable Authentication Modules library, or PAM, is a collection of shared libraries which control how users login to systems. There are a number of modules installed which can be used to restrict user access to systems in different ways. There are also several utility modules which can be used to customise login behaviour.

In the past we've shown how to limit the times of day users can login by making use of the pam_time.so library.
Amongst the utility libraries included as standard with your Debian GNU/Linux installation (located in the directory /lib/security) is pam_mkhomedir.so which can be used to create a new home directory for users who do not already have one.

To enable this module we need to add the following line to /etc/pam.d/common-account:

Full Story.

More in Tux Machines

Google Summer of Code 2018 for Qt and Qt Roadmap for 2018

  • The Qt Project and Google Summer of Code 2018
    This year, for the first time, the Qt Project will be participating in the Google Summer of Code initiative.
  • Qt Roadmap for 2018
    Qt 5.9 LTS is a solid baseline, which continues to improve still during 2018. Qt 5.10 was released in December, but there is more cooking. We are currently finalizing the Qt 5.11 release for May and looking towards Qt 5.12 LTS in November. In addition to the Qt framework we are actively developing our tooling offering. Tune in for an overview what we have in the works for 2018.
  • Qt Has A Super Busy Year Ahead With A Lot Of Features Planned For 2018
    Tuukka Turunen of The Qt Company has shared some of the company's plans for the Qt toolkit in 2018. There is a lot ahead for this open-source, cross-platform toolkit in 2018 with another long-term support release later this year, new Qt Python bindings, a safety-critical renderer and more.

Calculate Linux 17.12.2 released

We are pleased to announce the release of Calculate Linux 17.12.2, based on Gentoo 17.0. Therefore, the whole of the packages were rebuilt and some fixes done. Read more

The Community Has Brought The Unity 8 Desktop To Ubuntu 18.04

Besides bringing Ubuntu Touch to new mobile devices, the UBports team has also managed to continue their community-driven work on advancing the Unity 8 convergence desktop after Canonical abandoned work on it last year. They now have Unity 8 working on top of Ubuntu 18.04 LTS. The UBPorts' fork of Unity 8 is now working on Ubuntu 18.04 LTS where as previously they were focused on older versions of Ubuntu. Installation instructions can be found via this GitHub repository with this being work found outside of the official Ubuntu archives. Ubuntu 16.04 LTS and 18.04 LTS users can make use of the project's install scripts where they have assembled an APT archive with their own packages of Unity 8 complete with Mir. Read more

Android Leftovers