Unix and Linux Discussions Tagged with directories |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
8,572 |
UNIX for Beginners Questions & Answers |
|
|
|
14 |
13,484 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
20,336 |
Shell Programming and Scripting |
|
|
|
2 |
13,929 |
Homework & Coursework Questions |
|
|
|
2 |
3,762 |
Programming |
|
|
|
2 |
4,635 |
Shell Programming and Scripting |
|
|
|
3 |
5,536 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
3,455 |
Shell Programming and Scripting |
|
|
|
3 |
1,908 |
Shell Programming and Scripting |
|
|
|
5 |
5,981 |
Shell Programming and Scripting |
|
|
|
1 |
4,823 |
Solaris |
|
|
|
7 |
2,606 |
Shell Programming and Scripting |
|
|
|
3 |
4,096 |
AIX |
|
|
|
3 |
6,614 |
UNIX for Dummies Questions & Answers |
|
|
|
12 |
6,974 |
Linux |
|
|
|
16 |
10,982 |
Homework & Coursework Questions |
|
|
|
1 |
2,264 |
Shell Programming and Scripting |
|
|
|
2 |
40,170 |
Shell Programming and Scripting |
|
|
|
1 |
4,114 |
Shell Programming and Scripting |
|
|
|
7 |
14,802 |
Shell Programming and Scripting |
|
|
|
8 |
17,904 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,230 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,399 |
UNIX for Dummies Questions & Answers |
|
|
|
53 |
23,104 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,484 |
Shell Programming and Scripting |
|
|
|
0 |
6,285 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
14,757 |
Solaris |
|
|
|
2 |
5,668 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
27,910 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,334 |
Shell Programming and Scripting |
|
|
|
7 |
14,310 |
Shell Programming and Scripting |
|
|
|
2 |
3,393 |
Shell Programming and Scripting |
|
|
|
2 |
16,495 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
23,779 |
Shell Programming and Scripting |
|
|
|
1 |
2,735 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,266 |
Shell Programming and Scripting |
|
|
|
3 |
3,846 |
Shell Programming and Scripting |
|
|
|
1 |
3,127 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,985 |
Shell Programming and Scripting |
|
|
|
1 |
2,611 |
UNIX for Dummies Questions & Answers |
createhomedir(1) BSD General Commands Manual createhomedir(1)
NAME
createhomedir -- create and populate home directories on the local computer.
SYNOPSIS
createhomedir [-scbalh] [-n directoryDomainName] [-u username]
DESCRIPTION
createhomedir provides several options for creating and populating home directories.
OPTIONS
-s creates home directories for server home paths only (default).
-c creates home directories for local home paths only.
-b creates home directories for both server and local home paths.
-a creates home directories for users defined in all directory domains of the server's search path.
-l creates home directories for users defined in the local directory domain.
-L causes the created home directory to be localized.
-n directoryDomainName
creates home directories for users defined in a specific directory domain in the server's search path.
-u username
creates a home directory for a specific user defined in the domain(s) identified in the -a, -l, or -n parameter. If you omit the -a,
-l, and -n parameters when you use the -u parameter, -a is assumed.
-i reads username list from standard input and creates specified home directories. Each username should be on its own line.
-h usage help.
FILES
/usr/sbin/createhomedir location of tool
CAVEATS
When using the -a option, search limits of various directory servers (such as Open Directory or Active Directory) can prevent all possible
home directories from being created. In this case, you may need to specify the usernames explicitly.
Mac OS X May 31, 2019 Mac OS X