<p dir="ltr">Hey Keith. Is this for a production or development environment? For prod, I have typically seen no home directory for users other than root (for both Debian based or RHEL). In either distribution you can explicitly assign a different home folder so you can do /var/www/public_html as the accessible directory using the --home option. If you need that user to be able to ssh into the web server than you can give them access by adding them into the ssh_config file (I forget the details) but search Ubuntu how to for this. </p>
<p dir="ltr">Since you are adding DNS and email (these would typically be different servers in production), this may make it more difficult to not have a default separate home folder.</p>
<p dir="ltr">Nothing Says you have to do it this way. But in production the idea is to reduce the accessible footprint of all users to the minimum needed access.</p>
<div class="gmail_quot<blockquote class=" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Hi,<br>
<br>
I decided to move to Ubuntu 14.04 LTS after 7 years with RHEL/CentOS. I'm very used to RHEL and am experiencing an adjustment with this move.<br>
<br>
With RHEL I would add a user and use that user as the docroot (/home/username/public_html) for the associated vhost. This would give ssh access (after adding to the sshd_config) and sftp access.<br>
<br>
When I add a user to Ubuntu it does not create a home directory.<br>
<br>
When I did the install I selected LAMP,DNS, and mail servers.<br>
<br>
I was not able to shell into the server and found SSH had not been installed. I was surprised. I installed SSHD and now I can access the box via the shell.<br>
<br>
I'm starting to get the feeling I am approaching this build incorrectly.<br>
<br>
I want to build 1 box that handles LAMP+DNS+Mail (Postfix+Dovecot+Spamassassin+<u></u>MySql) Looks like the install did a lot of the heavy lifting by instating and configuring everything.<br>
<br>
So my main question is, am I going about this correctly or am I not understanding the difference between Ubuntu and RHEL?<br>
<br>
Thanks a bunch!!<br>
<br>
Keith<br>
<br>
-- <br>
Keith Smith<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
</div>