Re: Ubuntu 14.04 LTS

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Keith Smith
Date:  
To: Main PLUG discussion list
Subject: Re: Ubuntu 14.04 LTS
On 2014-12-22 15:33, James Dugger wrote:
> Hey Keith. Is this for a production or development environment? 


Production

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. 


I tie the vhost and user together so there is an sftp path to upload
content.

How would you upload content if you have multiple vhosts and only one
user?

>
> 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.


I agree they would normally be separate. However this server is in my
home office so everything needs to be in one box.

>
> 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.
>


Makes sense.

Thank you for your feedback.


> Hi,
>
> 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.
>
> 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.
>
> When I add a user to Ubuntu it does not create a home directory.
>
> When I did the install I selected LAMP,DNS, and mail servers.
>
> 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.
>
> I'm starting to get the feeling I am approaching this build
> incorrectly.
>
> I want to build 1 box that handles LAMP+DNS+Mail
> (Postfix+Dovecot+Spamassassin+MySql) Looks like the install did a lot
> of the heavy lifting by instating and configuring everything.
>
> So my main question is, am I going about this correctly or am I not
> understanding the difference between Ubuntu and RHEL?
>
> Thanks a bunch!!
>
> Keith
>
> --
> Keith Smith
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss [1]
>
>
> Links:
> ------
> [1] http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


--
Keith Smith
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss