Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

Automatically give new Linux users a home directory

Up
vote
Down

Cut one step out of setting up a new user account on Linux...
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:
 read more | score:7848 | -Ray, June 12, 2006
More Sysadmin articles...

Colorful Abstract Art

admin headlines

Virtual Hosting: Proftpd, MySQL on Ubuntu 12.10

Installing, Using OpenVZ on CentOS 6.4

KVM Virtualization on Scientific Linux 6.3

Skip Certain Errors In MySQL Replication

Monitoring Linux and Unix Server Temperatures with Opsview

Using PHP5-FPM with Apache 2.4 on Fedora 18

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin