diff options
| -rwxr-xr-x | examples/example/ezjail.flavour | 5 | ||||
| -rwxr-xr-x | man1/ezjail-admin.1 | 30 |
2 files changed, 30 insertions, 5 deletions
diff --git a/examples/example/ezjail.flavour b/examples/example/ezjail.flavour index 093d123..6b33d11 100755 --- a/examples/example/ezjail.flavour +++ b/examples/example/ezjail.flavour | |||
| @@ -17,15 +17,12 @@ | |||
| 17 | # admin::wheel::Admin=User:$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91:/home/admin:/bin/sh \ | 17 | # admin::wheel::Admin=User:$1$p75bbfK.$Kz3dwkoVlgZrfLZdAXQt91:/home/admin:/bin/sh \ |
| 18 | # pgsql:1002:pgsql:1002:Post=Gres::-/usr/local/psql:/bin/nologin' | 18 | # pgsql:1002:pgsql:1002:Post=Gres::-/usr/local/psql:/bin/nologin' |
| 19 | 19 | ||
| 20 | # ezjail-admin script installs all files found in FLAVOUR/root to the | ||
| 21 | # new jail's root | ||
| 22 | # | ||
| 23 | # Files or directories that should not belong to root:wheel will be | 20 | # Files or directories that should not belong to root:wheel will be |
| 24 | # chowned -R according to the following variable | 21 | # chowned -R according to the following variable |
| 25 | # | 22 | # |
| 26 | # Format is as follows: | 23 | # Format is as follows: |
| 27 | # | 24 | # |
| 28 | # user:group:file(s) | 25 | # user:group:file[:file...] |
| 29 | # | 26 | # |
| 30 | # Example: | 27 | # Example: |
| 31 | # | 28 | # |
diff --git a/man1/ezjail-admin.1 b/man1/ezjail-admin.1 index aaa40d2..fd19f55 100755 --- a/man1/ezjail-admin.1 +++ b/man1/ezjail-admin.1 | |||
| @@ -140,6 +140,34 @@ is being sourced, if it exists. | |||
| 140 | 140 | ||
| 141 | .I ezjail-config.sh | 141 | .I ezjail-config.sh |
| 142 | then removes all traces, including itself. | 142 | then removes all traces, including itself. |
| 143 | .SH EZJAIL.FLAVOUR | ||
| 144 | The ezjail.flavour file found in a flavour directory usually provides | ||
| 145 | two variables: | ||
| 146 | |||
| 147 | .B ezjail_flavour_users | ||
| 148 | .br | ||
| 149 | a white space separated list of colon separated entries passed to the | ||
| 150 | pw command after some processing. Refer to the pw(8) man page for more | ||
| 151 | information. Format of an entry in the list is: | ||
| 152 | |||
| 153 | username:uid:group[,group2,..]:gid[,gid2,..]:comment:pw:[-]home:shell | ||
| 154 | |||
| 155 | where each group specified in the group list is being created (with the | ||
| 156 | given gid for each group) if possible and necessary, before the user is | ||
| 157 | added to that group. The character '=' in the comment field is being | ||
| 158 | substituted by ' ' (space) to simplify escaping. The pw is being written | ||
| 159 | verbatim to the passwd db, see pw(8). If the home directory begins with | ||
| 160 | a '-' (dash), it is meant not to be created by the pw command. The dash | ||
| 161 | will of course be removed. It is not possible to specify a shell here | ||
| 162 | that will be installed by a package in /pkg. | ||
| 163 | |||
| 164 | .B ezjail_flavour_files | ||
| 165 | .br | ||
| 166 | a white space separated list of colon separated entries passed to the | ||
| 167 | chown -R command after some processing. Refer to the chown(8) man page | ||
| 168 | for more information. Format of an entry in the list is: | ||
| 169 | |||
| 170 | user:group:file[:file2...] | ||
| 143 | .SH EXAMPLES | 171 | .SH EXAMPLES |
| 144 | ezjail-admin update -p | 172 | ezjail-admin update -p |
| 145 | .br | 173 | .br |
| @@ -166,6 +194,6 @@ EZJAIL_PREFIX/etc/rc.d/ezjail.sh | |||
| 166 | .br | 194 | .br |
| 167 | EZJAIL_PREFIX/share/examples/ezjail/ | 195 | EZJAIL_PREFIX/share/examples/ezjail/ |
| 168 | .SH "SEE ALSO" | 196 | .SH "SEE ALSO" |
| 169 | ezjail(5), ezjail.conf(5), jail(8), devfs(5), fdescfs(5), procfs(5) | 197 | ezjail(5), ezjail.conf(5), jail(8), devfs(5), fdescfs(5), procfs(5), pw(8) |
| 170 | .SH AUTHOR | 198 | .SH AUTHOR |
| 171 | Dirk Engling <erdgeist@erdgeist.org> | 199 | Dirk Engling <erdgeist@erdgeist.org> |
