diff options
author | Aaron Ball <nullspoon@oper.io> | 2020-10-12 19:11:16 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2020-10-12 19:11:16 -0600 |
commit | c6a6581996b2367056c0782f3b5e42bd691d8f53 (patch) | |
tree | 9076ad3ee4db6c365d5f5f14131979f96228b640 /README.rst | |
download | kcpasswd-c6a6581996b2367056c0782f3b5e42bd691d8f53.tar.gz kcpasswd-c6a6581996b2367056c0782f3b5e42bd691d8f53.tar.xz |
This can encrypt the given password, passed as the first argument.
The encrypted value is written to stdout, so to use it it must be
redirected to the intended path.
If the first argument is a path to a file, the file will be read and
decrypted to stdout.
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..6122cb7 --- /dev/null +++ b/README.rst @@ -0,0 +1,15 @@ +README +====== + +The MacOS ``/etc/kcpassword`` file controls logins + +Usage +----- + +To encrypt a password:: + + kcpasswd <password> + +To decrypt a kcpassword file:: + + kcpasswd /path/to/file |