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

Buy Art Online with a Free Return Policy

admin headlines

Quantum basic RDO setup (grizzly) to have original LAN as external on CentOS 6.4

High Performance Linux Router with LMS Web Panel and Radius Server

Using RoundCube Webmail on Debian 7

Tutorial: Set up a GlusterFS Samba Storage Server on Debian 6

Tutorial: Recover from failed apt-get with btrfs, apt-btrfs-snapshot on Ubuntu 12.10

Tutorial: CGI Scripts with Nginx on Ubuntu 12.04

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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