Difference between revisions of "Cool Solution - Automatically create users home directories"

From Univention Wiki

Jump to: navigation, search
Line 1: Line 1:
{{Cool Solutions Disclaimer|Repository=yes|UCS=3.1}}
+
{{Cool Solutions Disclaimer|Repository=yes|UCS=3.2}}
  
 
= Introduction =
 
= Introduction =
To remote mount home directories remotely using NFS they need to be created prior to the first login of the user on the remote system. This listener creates the home directory based on the automounter information.
+
The package ''univention-homedir-autocreate'' creates the users home directory automatically without the need of a login from a user.
 +
However, this packages does not create home directorys on a NFS share. This is done by the listener module ''nfs-homes'' which comes with the package ''univention-nfs''.
  
 
= Installation =
 
= Installation =
After enabling the Cool Solutions Repository you can install the package with the following command:
+
After enabling the [http://wiki.univention.de/index.php?title=Category:Cool_Solutions_-_UCS_3.2 Cool Solutions Repository] you can install the package with the following command:
univention-install univention-homedir-autocreate
+
<pre>
 +
univention-install univention-homedir-autocreate
 +
</pre>
  
 
= Usage =
 
= Usage =
By setting the "Unix Home Directory" or "Home share" and "Home share path" in the Account tab of the UMC the listener gets triggered and creates the respective directory. Additional folders can be created using "univention-skel" upon the first login of the user.
+
By setting the '''Unix Home Directory''' in the Account tab of the UMC, the listener gets triggered and creates the respective directory. Additional folders can be created using "univention-skel" upon the first login of the user.
  
  
 
[[Category:EN]]
 
[[Category:EN]]
 
[[Category:Howtos]]
 
[[Category:Howtos]]

Revision as of 09:28, 6 October 2014

Produktlogo UCS Version 3.2

Note: Cool Solutions are articles documenting additional functionality based on Univention products. Packages provided by a Cool Solutions Repository are built by Univention, but will not be maintained. Not all of the shown steps in the article are covered by Univention Support. For questions about your support coverage contact your contact person at Univention before you want to implement one of the shown steps.

Also regard the legal notes at Terms of Service.


Introduction

The package univention-homedir-autocreate creates the users home directory automatically without the need of a login from a user. However, this packages does not create home directorys on a NFS share. This is done by the listener module nfs-homes which comes with the package univention-nfs.

Installation

After enabling the Cool Solutions Repository you can install the package with the following command:

univention-install univention-homedir-autocreate

Usage

By setting the Unix Home Directory in the Account tab of the UMC, the listener gets triggered and creates the respective directory. Additional folders can be created using "univention-skel" upon the first login of the user.

Personal tools