Re: Is a home directory for the httpd user safe?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022-02-27 8:39 a.m., Tom Browder wrote:

Your query is probably too vague for a helpful response. What system are you using? What FAQs and documents have you read? What specific details are unclear?

In order to run a service behind my reverse proxy I need to have a defined
user with some kind of writeable home directory.

What "service"? What "reverse proxy"? What is "some kind of writeable"? Any directory chmod'ed to 222 would be "writaeable" by anybody (but you might need 666 to have anybody read it)

The easy choice to get started is to create a /home/apache directory for my
apache user.

www-data (the "industry standard user") is most often not installed in /home. What documentation are you relying upon for your "easy choice"?

Is that safe or should I do something else?

Depends on user/group permissions -- again 222 is probably (but not guaranteed) safe but not very functional

I do have my systemd service file working, so I can create a new user for
that purpose if need be.

If your computer actually boots to a usable interface, systemd is probably running...

Paul
---
Sunday's tired old sys-admin


Thanks.

-Tom



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux