summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authormichael2011-11-21 17:24:48 +0100
committermichael2011-11-21 17:24:48 +0100
commit52a1763ceb14bbf44de67c96686c7ddd7a21922d (patch)
tree49157cfdd5d2eba925a4df3f31090e4942830bff /application/views
parenthomefolder owner (diff)
downloadpbs2-52a1763ceb14bbf44de67c96686c7ddd7a21922d.tar.gz
pbs2-52a1763ceb14bbf44de67c96686c7ddd7a21922d.tar.xz
pbs2-52a1763ceb14bbf44de67c96686c7ddd7a21922d.zip
homefolder owner
Diffstat (limited to 'application/views')
-rw-r--r--application/views/scripts/resource/getconfig.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/scripts/resource/getconfig.phtml b/application/views/scripts/resource/getconfig.phtml
index 54749d4..bc3c66a 100644
--- a/application/views/scripts/resource/getconfig.phtml
+++ b/application/views/scripts/resource/getconfig.phtml
@@ -31,7 +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
-chown -R <?=$this->userid?>:<?=$this->userid?> /home_local/<?=$this->loginname?>
+chown -R <?=$this->userid?>:<?=$this->userid?> /mnt/home_local/<?=$this->loginname?>
#chroot /mnt useradd -d '<?=$this->homepath?>' -d '/home_local/<?=$this->loginname?>' -m -s /bin/bash -p '<?=$this->password?>' '<?=$this->loginname?>'