summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-08 15:00:07 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-08 15:00:07 +0000
commit773a87f40ae5955a90f608c51985649be1179f26 (patch)
tree4d600fa3605e6a60604a32969526a30a4fa700ff /perl-install/install_steps.pm
parent051de30ec46eb66c1014f9f808a4b2774a578f3f (diff)
downloaddrakx-backup-do-not-use-773a87f40ae5955a90f608c51985649be1179f26.tar
drakx-backup-do-not-use-773a87f40ae5955a90f608c51985649be1179f26.tar.gz
drakx-backup-do-not-use-773a87f40ae5955a90f608c51985649be1179f26.tar.bz2
drakx-backup-do-not-use-773a87f40ae5955a90f608c51985649be1179f26.tar.xz
drakx-backup-do-not-use-773a87f40ae5955a90f608c51985649be1179f26.zip
don't add users in group usb (unneeded (?), anyway doesn't do anything since group usb doesn't exist currently)
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 916fd53b9..8e1771068 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -750,8 +750,6 @@ 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;
@@ -954,7 +952,7 @@ sub miscellaneousBefore {
my %s = getVarsFromSh("$o->{prefix}/etc/sysconfig/system");
$o->{miscellaneous}{HDPARM} = $s{HDPARM} if exists $s{HDPARM};
- $o->{security} ||= any::get_secure_level($o->{prefix}) || ($o->{meta_class} eq 'server' ? 3 : 2);
+ $o->{security} ||= any::get_secure_level($o->{prefix}) || ($o->{meta_class} =~ /server|firewall/ ? 3 : 2);
log::l("security $o->{security}");