summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/views/scripts/resource/getconfig.phtml4
1 files changed, 1 insertions, 3 deletions
diff --git a/application/views/scripts/resource/getconfig.phtml b/application/views/scripts/resource/getconfig.phtml
index 9012b7c..54749d4 100644
--- a/application/views/scripts/resource/getconfig.phtml
+++ b/application/views/scripts/resource/getconfig.phtml
@@ -31,9 +31,7 @@ echo '<?=$this->loginname?>:<?=$this->password?>:15107:0:99999:7:::' >> /mnt/etc
echo '<?=$this->loginname?>:x:<?=$this->userid?>:<?=$this->userid?>::/home_local/<?=$this->loginname?>:/bin/bash' >> /mnt/etc/passwd
echo '<?=$this->loginname?>:x:<?=$this->userid?>:' >> /mnt/etc/group
-chroot /mnt chown -R /home_local/<?=$this->loginname?>
-
-chroot /mnt chgrp -R /home_local/<?=$this->loginname?>
+chown -R <?=$this->userid?>:<?=$this->userid?> /home_local/<?=$this->loginname?>
#chroot /mnt useradd -d '<?=$this->homepath?>' -d '/home_local/<?=$this->loginname?>' -m -s /bin/bash -p '<?=$this->password?>' '<?=$this->loginname?>'