Unix and Linux Discussions Tagged with directories |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
5,766 |
UNIX for Beginners Questions & Answers |
|
|
|
14 |
7,228 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
18,287 |
Shell Programming and Scripting |
|
|
|
2 |
11,743 |
Homework & Coursework Questions |
|
|
|
2 |
2,987 |
Programming |
|
|
|
2 |
3,793 |
Shell Programming and Scripting |
|
|
|
3 |
3,453 |
UNIX for Beginners Questions & Answers |
|
|
|
8 |
2,854 |
Shell Programming and Scripting |
|
|
|
3 |
1,511 |
Shell Programming and Scripting |
|
|
|
5 |
5,495 |
Shell Programming and Scripting |
|
|
|
1 |
3,095 |
Solaris |
|
|
|
7 |
2,192 |
Shell Programming and Scripting |
|
|
|
3 |
3,031 |
AIX |
|
|
|
3 |
6,134 |
UNIX for Dummies Questions & Answers |
|
|
|
12 |
5,820 |
Linux |
|
|
|
16 |
7,081 |
Homework & Coursework Questions |
|
|
|
1 |
1,977 |
Shell Programming and Scripting |
|
|
|
2 |
39,140 |
Shell Programming and Scripting |
|
|
|
1 |
3,871 |
Shell Programming and Scripting |
|
|
|
7 |
12,344 |
Shell Programming and Scripting |
|
|
|
8 |
16,957 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,825 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,167 |
UNIX for Dummies Questions & Answers |
|
|
|
53 |
19,850 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,289 |
Shell Programming and Scripting |
|
|
|
0 |
5,893 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
14,355 |
Solaris |
|
|
|
2 |
5,306 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
27,438 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,627 |
Shell Programming and Scripting |
|
|
|
7 |
13,768 |
Shell Programming and Scripting |
|
|
|
2 |
3,010 |
Shell Programming and Scripting |
|
|
|
2 |
15,830 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
23,365 |
Shell Programming and Scripting |
|
|
|
1 |
2,412 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,106 |
Shell Programming and Scripting |
|
|
|
3 |
3,327 |
Shell Programming and Scripting |
|
|
|
1 |
2,733 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,717 |
Shell Programming and Scripting |
|
|
|
1 |
2,429 |
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