diff options
author | michael | 2011-11-21 17:22:22 +0100 |
---|---|---|
committer | michael | 2011-11-21 17:22:22 +0100 |
commit | 6bc28a976696c7c09679d28dff233f2bbc70c0ea (patch) | |
tree | 91ee29bf83949985286390a3ae45a96ad99b4ded | |
parent | homefolder owner (diff) | |
download | pbs2-6bc28a976696c7c09679d28dff233f2bbc70c0ea.tar.gz pbs2-6bc28a976696c7c09679d28dff233f2bbc70c0ea.tar.xz pbs2-6bc28a976696c7c09679d28dff233f2bbc70c0ea.zip |
homefolder owner
-rw-r--r-- | application/views/scripts/resource/getconfig.phtml | 4 |
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?>' |