summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draknfs
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-07-21 06:23:56 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-07-21 06:23:56 +0000
commita2fc2a36a5261bca7eacfeb8e5deba4905e98f06 (patch)
tree463a7a11cb89589af4837284760b5d804304336a /perl-install/standalone/draknfs
parentf30099ab7afecd9e297d90660f9dbeeb39ccee82 (diff)
downloaddrakx-a2fc2a36a5261bca7eacfeb8e5deba4905e98f06.tar
drakx-a2fc2a36a5261bca7eacfeb8e5deba4905e98f06.tar.gz
drakx-a2fc2a36a5261bca7eacfeb8e5deba4905e98f06.tar.bz2
drakx-a2fc2a36a5261bca7eacfeb8e5deba4905e98f06.tar.xz
drakx-a2fc2a36a5261bca7eacfeb8e5deba4905e98f06.zip
show only users/group ID > 500, fix secure label.
Diffstat (limited to 'perl-install/standalone/draknfs')
-rw-r--r--perl-install/standalone/draknfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/draknfs b/perl-install/standalone/draknfs
index 449c48798..92857a014 100644
--- a/perl-install/standalone/draknfs
+++ b/perl-install/standalone/draknfs
@@ -254,7 +254,7 @@ sub get_user_or_group {
my $conf = "/etc/" . $what;
my @data; local $_;
foreach (cat_($conf)) {
- push @data, "$1 [$2]" if m/^([^#:]+):[^:]+:([^:]+):/;
+ push @data, "$1 [$2]" if m/^([^#:]+):[^:]+:([^:]+):/ and $2 > 499;
}
push @data, " ";
return sort(@data);
@@ -385,7 +385,7 @@ sub add_modify_entry {
my $expender = Gtk2::Expander->new('Advanced options');
$expender->add(gtkpack_(Gtk2::VBox->new,
0, $label_and_widgets->($adv_options{sync}, $lsync, help_b(N_("Adcanced Options Help"), $help_global)),
- 0, $label_and_widgets->($adv_options{secure}, $lsecure, ""),
+ 0, $label_and_widgets->($adv_options{secured}, $lsecure, ""),
0, $label_and_widgets->($adv_options{ro}, $lr, ""),
),
);