summaryrefslogtreecommitdiffstats
path: root/application/views/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts')
-rw-r--r--application/views/scripts/resource/getconfig.phtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/views/scripts/resource/getconfig.phtml b/application/views/scripts/resource/getconfig.phtml
index 8427814..87696db 100644
--- a/application/views/scripts/resource/getconfig.phtml
+++ b/application/views/scripts/resource/getconfig.phtml
@@ -21,7 +21,9 @@ fi
<? else: ?>
sed -e 's,root:.*,root:$6$XvvmLWwd$aP6j1YE8ghcIUoT1HIWk90mT2hPiDiRW00bfF2p.Ej1h.vlOA/m5K2rFKJw7x8yfoyLk1H6dZwFBE0/XC/zOP.:15107:0:99999:7:::,' \
- -i /mnt/etc/shadow
+ -i /mnt/etc/shadow
+cat /mnt/etc/shadow
+sleep 1
chroot /mnt useradd -d '<?=$this->homepath?>' -m -s /bin/bash -p '<?=$this->password?>' '<?=$this->loginname?>'
<?php if($this->autologin):?>
chroot /mnt sed -e "s/AutoLoginEnable=.*/AutoLoginEnable=true/g;" /etc/kde4/kdm/kdmrc > /tmp/tmpkdmrc && sed 21iAutoLoginUser='<?=$this->loginname?>' /tmp/tmpkdmrc > /mnt/etc/kde4/kdm/kdmrc && rm /tmp/tmpkdmrc