summaryrefslogtreecommitdiffstats
path: root/perl-install/authentication.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:28:03 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:28:03 +0000
commitba59d8bd1a5276c67d67ceb042cf086020c98a17 (patch)
treeccd6e26d950d203d2521a373c6054a0763818151 /perl-install/authentication.pm
parent168fa3e917a715bb0a139c03e699595ee5829228 (diff)
downloaddrakx-ba59d8bd1a5276c67d67ceb042cf086020c98a17.tar
drakx-ba59d8bd1a5276c67d67ceb042cf086020c98a17.tar.gz
drakx-ba59d8bd1a5276c67d67ceb042cf086020c98a17.tar.bz2
drakx-ba59d8bd1a5276c67d67ceb042cf086020c98a17.tar.xz
drakx-ba59d8bd1a5276c67d67ceb042cf086020c98a17.zip
no need to create /dev/zero and the like, udev already did it
quite a lot more remain as we either lack prope udev rules or rely on older style entries or are needed in drakx-in-chroot mode
Diffstat (limited to 'perl-install/authentication.pm')
-rw-r--r--perl-install/authentication.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/authentication.pm b/perl-install/authentication.pm
index 02a88737c..9fc00a78e 100644
--- a/perl-install/authentication.pm
+++ b/perl-install/authentication.pm
@@ -797,7 +797,7 @@ sub enable_shadow() {
sub salt {
my ($nb) = @_;
require devices;
- open(my $F, devices::make("urandom")) or die "missing urandom";
+ open(my $F, "/dev/urandom") or die "missing urandom";
my $s; read $F, $s, $nb;
$s = pack("b8" x $nb, unpack "b6" x $nb, $s);
$s =~ tr|\0-\x3f|0-9a-zA-Z./|;