summaryrefslogtreecommitdiff
path: root/configs/gnome/root-image/root/customize_root_image.sh
diff options
context:
space:
mode:
authorDrtan Samos <drtan@lavabit.com>2013-05-12 22:14:54 +0200
committerDrtan Samos <drtan@lavabit.com>2013-05-12 22:14:54 +0200
commit9634f272c7a530cef989b1b441b0f9fae9df9028 (patch)
tree2d3a5c6ac1a8d896abdd32dd18c34c7c689dd130 /configs/gnome/root-image/root/customize_root_image.sh
parentbda557274665afd020b5c03fb8e800b457f771c0 (diff)
Enable administrative actions during the GNOME session by providing a password for the ISO unprivileged user.
Diffstat (limited to 'configs/gnome/root-image/root/customize_root_image.sh')
-rwxr-xr-xconfigs/gnome/root-image/root/customize_root_image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/gnome/root-image/root/customize_root_image.sh b/configs/gnome/root-image/root/customize_root_image.sh
index 37bd015..c3a82a5 100755
--- a/configs/gnome/root-image/root/customize_root_image.sh
+++ b/configs/gnome/root-image/root/customize_root_image.sh
@@ -10,7 +10,7 @@ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
usermod -s /bin/zsh root
cp -aT /etc/skel/ /root/
-useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /bin/zsh parabola
+useradd -m -p "$(openssl passwd -1 parabola)" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /bin/zsh parabola
chmod 750 /etc/sudoers.d
chmod 440 /etc/sudoers.d/g_wheel