Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gshsec(8) [freebsd man page]

GSHSEC(8)						    BSD System Manager's Manual 						 GSHSEC(8)

NAME
gshsec -- control utility for shared secret devices SYNOPSIS
gshsec label [-hv] name prov prov ... gshsec stop [-fv] name ... gshsec clear [-v] prov ... gshsec dump prov ... gshsec list gshsec status gshsec load gshsec unload DESCRIPTION
The gshsec utility is used for setting up a device which contains a shared secret. The secret is shared between the given providers. To collect the secret, all providers are needed. If one of the components is missing, there is no way to get any useful data from the rest of them. The first argument to gshsec indicates an action to be performed: label Set up a shared secret device from the given components with the specified name. Metadata are stored in the last sector of every component. stop Turn off an existing shared secret device by its name. This command does not touch on-disk metadata! clear Clear metadata on the given providers. dump Dump metadata stored on the given providers. list See geom(8). status See geom(8). load See geom(8). unload See geom(8). Additional options: -f Force the removal of the specified shared secret device. -h Hardcode providers' names in metadata. -v Be more verbose. EXIT STATUS
Exit status is 0 on success, and 1 if the command fails. EXAMPLES
The following example shows how to create a shared secret device. The secret will be split between a slice on a local disk and a USB Pen drive. gshsec label -v secret /dev/ada0s1 /dev/da0 newfs /dev/shsec/secret From now on, when the USB Pen drive is inserted, it will be automatically detected and connected, making the secret available via the /dev/shsec/secret device. SEE ALSO
geom(4), gbde(8), geom(8), newfs(8) HISTORY
The gshsec utility appeared in FreeBSD 5.4. AUTHORS
Pawel Jakub Dawidek <pjd@FreeBSD.org> BSD
October 1, 2013 BSD

Check Out this Related Man Page

GGATEL(8)						    BSD System Manager's Manual 						 GGATEL(8)

NAME
ggatel -- GEOM Gate local control utility SYNOPSIS
ggatel create [-v] [-o ro | wo | rw] [-s sectorsize] [-t timeout] [-u unit] path ggatel attach [-v] [-o ro | wo | rw] -u unit path ggatel destroy [-f] -u unit ggatel list [-v] [-u unit] DESCRIPTION
The ggatel utility is a local GEOM Gate class consumer. It can be used as a replacement for md(4) devices or as a ``GEOMificator'' for non GEOM-aware devices, but it was mainly created as an example on how to use and how to communicate with the GEOM Gate kernel module. Available commands: create Create a ggate provider related to the given regular file or device. attach Attach a worker process to an existing ggate provider. destroy Destroy the given ggate provider. list List ggate providers. Available options: -f Forcibly destroy ggate provider (cancels all pending requests). -o ro | wo | rw Specify permission to use when opening the file or device: read-only (ro), write-only (wo), or read-write (rw). Default is rw. -s sectorsize Sector size for ggate provider. If not specified, it is taken from device, or set to 512 bytes for files. -t timeout Number of seconds to wait before an I/O request will be canceled. 0 means no timeout. Default is 30. -u unit Unit number to use. -v Do not fork, run in foreground and print debug informations on standard output. path Path to a regular file or device. EXIT STATUS
Exit status is 0 on success, or 1 if the command fails. To get details about the failure, ggatel should be called with the -v option. EXAMPLES
``GEOMify'' the ``fd0'' device and use gbde(8) to encrypt data on a floppy. ggatel create -u 5 /dev/fd0 gbde init /dev/ggate5 gbde attach ggate5 newfs /dev/ggate5.bde mount /dev/ggate5.bde /secret cp /private/foo /secret/ umount /secret gbde detach ggate5 ggatel destroy -u 5 SEE ALSO
geom(4), gbde(8), ggatec(8), ggated(8), mount(8), newfs(8) AUTHORS
The ggatel utility as well as this manual page was written by Pawel Jakub Dawidek <pjd@FreeBSD.org>. BSD
April 2, 2011 BSD
Man Page