summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael2011-11-21 16:59:05 +0100
committermichael2011-11-21 16:59:05 +0100
commit3ce5f60194a8cae2b6e8ad822a372aefee53179f (patch)
treec647578ffb067ac859afb9b94e8b32c98fd7b4b9
parenthomefolder owner (diff)
downloadpbs2-3ce5f60194a8cae2b6e8ad822a372aefee53179f.tar.gz
pbs2-3ce5f60194a8cae2b6e8ad822a372aefee53179f.tar.xz
pbs2-3ce5f60194a8cae2b6e8ad822a372aefee53179f.zip
homefolder owner
-rw-r--r--application/views/scripts/resource/getconfig.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/views/scripts/resource/getconfig.phtml b/application/views/scripts/resource/getconfig.phtml
index 40a918d..9012b7c 100644
--- a/application/views/scripts/resource/getconfig.phtml
+++ b/application/views/scripts/resource/getconfig.phtml
@@ -32,6 +32,7 @@ echo '<?=$this->loginname?>:x:<?=$this->userid?>:<?=$this->userid?>::/home_local
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?>
#chroot /mnt useradd -d '<?=$this->homepath?>' -d '/home_local/<?=$this->loginname?>' -m -s /bin/bash -p '<?=$this->password?>' '<?=$this->loginname?>'