diff options
author | Mattias Andrée <maandree@kth.se> | 2023-06-23 19:15:49 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-06-23 19:15:49 +0200 |
commit | 7281ae7db4d9bc9eb2b59134e1dea1231013f1af (patch) | |
tree | 14d15e56dea896c71b0b4576a9633ea759080d58 /key2root-addkey.8 | |
parent | Fix exit status (diff) | |
download | key2root-7281ae7db4d9bc9eb2b59134e1dea1231013f1af.tar.gz key2root-7281ae7db4d9bc9eb2b59134e1dea1231013f1af.tar.bz2 key2root-7281ae7db4d9bc9eb2b59134e1dea1231013f1af.tar.xz |
Use libar2simplified instead of crypt as crypt has a verily limited imput size, and add -h to key2root-addkey, and add key2root-crypt
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | key2root-addkey.8 | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/key2root-addkey.8 b/key2root-addkey.8 index 9faf335..1594d7f 100644 --- a/key2root-addkey.8 +++ b/key2root-addkey.8 @@ -6,9 +6,13 @@ key2root-addkey - add a keyfile for privilege escalation with key2root .SH SYNOPSIS .B key2root-addkey [-r] -.I user +.RI (user .I key-name .RI [ crypt-parameters ] +| -h +.I user +.I key-name +.IR key-hash ) .SH DESCRIPTION The @@ -45,19 +49,27 @@ The name the keyfile shall be given. May not include whitespace characters. .TP .I crypt-parameters -crypt(3) parameters that the keyfile shall be hashed with. +.BR libar2simplified_crypt (3) +parameters that the keyfile shall be hashed with. +.TP +.I key-hash +.BR key2root-crypt (8) +hash of the keyfile. .SH STDIN The .B key2root-addkey utility reads the keyfile to add from standard input, -which must not be a TTY. +which must not be a TTY. However if the +.B -h +option is used, the standard input is not used and +may be a TTY. .SH INPUT FILES None. .SH ENVIRONMENT VARIABLES -No following environment variable affects the execution of +No environment variables affect the execution of .BR key2root-addkey . .SH ASYNCHRONOUS EVENTS @@ -111,6 +123,7 @@ None. .SH SEE ALSO .BR key2root (8), +.BR key2root-crypt (8), .BR key2root-lskeys (8), .BR key2root-rmkey (8) |