From: Ian Jackson Date: Wed, 2 Jun 2021 16:01:52 +0000 (+0100) Subject: accounts: Actually parse ssh: accounts X-Git-Tag: otter-0.7.0~114 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=4eb29f69fa2b281e840d8979d087f05841c00c7d;p=otter.git accounts: Actually parse ssh: accounts Signed-off-by: Ian Jackson --- diff --git a/src/accounts.rs b/src/accounts.rs index 43518200..03655b2c 100644 --- a/src/accounts.rs +++ b/src/accounts.rs @@ -181,6 +181,10 @@ impl AccountScope { let user = next()?.to_owned(); AccountScope::Unix { user } } + "ssh" => { + let user = next()?.to_owned(); + AccountScope::Ssh { user } + } _ => { throw!(InvalidScopedName::UnknownScopeKind) }