<div dir="auto"><div>I mean, you've got the essentials down, instead of modifying a user, I suppose you could create the user with that home directory, but that's really a "do it now, or do it later" ... Either way, you're getting it done.</div><div><br></div><div data-smartmail="gmail_signature">---<br>Thanks,<br>Alexander<br><br>Sent from my Google Pixel 7 Pro</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Feb 28, 2025, 12:04 Keith Smith via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I want to make sure I am doing this correctly.<br>
<br>
I have a unbutu LAMP server running on VirtualBox. This is for testing <br>
and development.<br>
<br>
When I add a virtual host I need to create a user for PHP-FPM.<br>
<br>
To set the user's home directory I use : sudo usermod -d <br>
/var/www/<domain-name>/public_html <user-name><br>
<br>
When I ssh into the server with that user's name and issue "cd ~" I oam <br>
in the home directory. This is the behavior I desire.<br>
<br>
Question is, is there a another way to configure this (specific to <br>
creating a vhost) when creating a vhost?<br>
<br>
Thanks!!<br>
<br>
Keith<br>
<br>
---------------------------------------------------<br>
PLUG-discuss mailing list: <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</blockquote></div>