summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 76bd0e08f..155900821 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -696,6 +696,8 @@ sub addUser {
$_->{uid} = $u; $uids{$u} = 1;
$_->{gid} = $g; $gids{$g} = 1;
+
+ push @{$_->{groups} ||= []}, 'usb' if $o->{security} <= 3;
}
any::write_passwd_user($p, $_, $o->{authentication}{md5}) foreach @$users;