From d72cf30c0c896d1df47ffb46179ad43f32be5fe3 Mon Sep 17 00:00:00 2001 From: rpe Date: Sun, 17 Dec 2017 17:03:52 +0000 Subject: [PATCH] allow '-' in usernames requested and OK aja OK halex@ --- distrib/miniroot/install.sub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 5dbf641851b..4b7c76c8295 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1045 2017/12/01 18:19:30 tb Exp $ +# $OpenBSD: install.sub,v 1.1046 2017/12/17 17:03:52 rpe Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer @@ -2052,7 +2052,7 @@ user_setup() { ;; root|daemon|operator|bin|build|sshd|www|nobody|ftp) ;; - [a-z]*([a-z0-9_])) + [a-z]*([-a-z0-9_])) ((${#resp} <= 31)) && break ;; esac -- 2.20.1