passwd: compat extrausers
group: compat extrausers
-Install default test user and first slice:
+Now you will want to end env.sh configuration for this slice
-$ sudo cp -v extrausers/* /var/lib/extrausers/
-`extrausers/group' -> `/var/lib/extrausers/group'
-`extrausers/passwd' -> `/var/lib/extrausers/passwd'
+$ vi env.sh
+
+And create ZFS filesystem and md5 pool in it:
+
+$ sudo ./bin/init-slice.sh
>> /var/lib/extrausers/passwd
fi
-ZSLICE=`echo $SLICE | sed 's!^/!!'`
if [ ! -e $SLICE/$uid ] ; then
mkdir $SLICE/$uid
chown $uid:$PORT $SLICE/$uid
--- /dev/null
+#!/usr/bin/perl
+use warnings;
+use strict;
+
+use BerkeleyDB;
+use Data::Dump qw(dump);
+
+my %h;
+tie %h, "BerkeleyDB::Hash", -Filename => $_[0];
+
+print dump( \%h );