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:8267 | -Ray, June 12, 2006
More Sysadmin articles...

Buy Digital Art on Acrylic

admin headlines

Tutorial: OpenSUSE 12.3 Samba Server with tdbsam

Set up vsftpd, TLS on Debian 6

ROSA Marathon 2012 Disk Encryption

Secure FTP Site with FileZilla

Configure a pfSense 2.0 cluster with CARP

Install Alfresco 3.4.d, Tomcat, PostgreSQL on Fedora 15

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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