SHARE
Facebook X Pinterest WhatsApp

Apache Today: Suexec and Apache: A Tutorial

Written By
thumbnail
Web Webster
Web Webster
Jul 12, 2000

[ Thanks to Kevin
Reichard
for this link. ]

“The Apache Web server, like most if not all of the others in
common use today, lets you execute arbitrarily complex operations
through the use of CGI scripts. These can involve database lookups,
system administration functions, real-time control of machinery,
online payments, or almost anything else you can think of.”

“Ordinarily, all of these things occur in the context of the
user running the Apache server itself (typically nobody on Linux
systems). This is fine when you’re using a system that is owned and
used by a single entity…but what if you’re an ISP with multiple
companies being hosted on your system? Or an educational
institution with faculty who want to be able to execute their own
scripts? Either everything has to be accessible to the Apache
nobody user, or you have to run multiple instances of Apache on
multiple ports and IP addresses, one of each per user, with the
concomitant confusion of configuration files.”

“On the other hand, if the server is to be allowed to change
its identity, it needs to be done in a controlled manner, so that
the chance of compromising your system’s security is kept to a
minimum.
(Remember, Apache is usually started as root and only
changes to nobody later!) The suexec (pronounced ‘SUE-ex-Ek’)
tool helps make this possible.
It’s found in the src/support/
directory under your Apache source tree.”


Complete Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

Red Hat reveals major enhancements to Red Hat Enterprise Linux AI
sjvn
Oct 22, 2024
How to Find AWS EC2 Instance Type Over SSH (6 Methods)
Benny Lanco
Sep 23, 2024
Crond: Daemon to Execute Scheduled Commands
Rose Hosting Blog
Sep 20, 2024
A Detailed Introduction to Oracle VirtualBox
Senthil Kumar
Sep 19, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.