diff options
author | michael | 2011-11-21 17:24:48 +0100 |
---|---|---|
committer | michael | 2011-11-21 17:24:48 +0100 |
commit | 52a1763ceb14bbf44de67c96686c7ddd7a21922d (patch) | |
tree | 49157cfdd5d2eba925a4df3f31090e4942830bff | |
parent | homefolder owner (diff) | |
download | pbs2-52a1763ceb14bbf44de67c96686c7ddd7a21922d.tar.gz pbs2-52a1763ceb14bbf44de67c96686c7ddd7a21922d.tar.xz pbs2-52a1763ceb14bbf44de67c96686c7ddd7a21922d.zip |
homefolder owner
-rw-r--r-- | application/views/scripts/resource/getconfig.phtml | 2 |
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?>' |