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.
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.
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.
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 -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss