---
name: "mkehd"
section: "1"
platform: "linux"
package: "libpam-mount"
version: "0.44-1+lenny3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/mkehd"
---

# mkehd(1)

create an encrypted home directory disk image

## NAME

mkehd - create an encrypted home directory disk image

## SYNOPSIS

**mkehd** \[*options*\]...

## OPTIONS

- **-h**, **-?**

  display help

- **-c** *cipher*

  set the cipher used by the filesystem (default: aes)

- **-f** *filename*

  name of the disk image to generate (default: ciphertext.img)

- **-k** *keybits*

  set the number of bits in cipher key

- **-s** *size*

  size in MB of generated filesystem (default: 20)

- **-t** *fs type*

  type of filesystem to create (default: ext2)

- **-u** *user*

  name of user to create ehd for (default: current user)

## AUTHOR

This manpage was originally written by Bastian Kleineidam \<calvin@debian.org\> for the Debian distribution of pam\_mount (libpam-mount) but may be used by others.

See /usr/share/doc/packages/pam\_mount/AUTHORS for the list of original authors of pam\_mount.
