From 4eb29f69fa2b281e840d8979d087f05841c00c7d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 2 Jun 2021 17:01:52 +0100 Subject: [PATCH] accounts: Actually parse ssh: accounts Signed-off-by: Ian Jackson --- src/accounts.rs | 4 ++++ 1 file changed, 4 insertions(+) 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) } -- 2.30.2