Mkhome

0 Likes

Very useful utility when container's login script looks like:

map r H:=".cn=<VOLUME>.o=<CONTEXT>:<PATH>\%LOGIN_CONTEXT\%CN"

If Container Login Scripts Looks Like:

map r H:=".cn=<VOLUME>.o=<CONTEXT>:<PATH>\%LOGIN_CONTEXT\%CN"

Use:

MKHome -S<SrvName> -B<Path> [-L<Number>] [-X<FName>] [-O] [-C<ContainerName>]

-S - Server Name For Users Home
-B - Directory Root For User Home
-L - Set Space Restriction To <Number> MB
-X - Exclude Space Restrictions For User In List
For Example, File Contents (one user per line):
list.txt ->

.admin.cntx
.user0.cntx
.user5.cntx
-K - Exclude Containers From Processing List
-O - Print Expired Directories
-C - Use Specified Container Name As Base.
-N - Set Space Restrictions On Newly Created Dirs Only.

Example:

MKHome -S.TEMPORARY.CNTX -BSYS:HOME\ -L1024 -Xlist.txt -Kclist.txt -O

Labels:

Collateral
Comment List
Anonymous
Related Discussions
Recommended