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

Buy Art Online with a Money-Back Guarantee

Selected articles

Librenix T-Shirts and Coffee Mugs!

Scripting: A parallel Linux backup script

Missing the point of the Mac Mini

MiniLesson: An introduction to Linux in ten commands

Tutorial: Introduction to Linux files

Why software sucks

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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