Cover | Table of Contents | Colophon
http://geo.trippy.org/nt-slashcode/.
root access, along with at least some
basic system administration experience. If you're new at this,
read the instructions completely before beginning an installation, then
follow along.
slash. This user will own all files and directories
associated with Slash. Machines running multiple Slash sites should
have a different system user for each site.
root access, along with at least some
basic system administration experience. If you're new at this,
read the instructions completely before beginning an installation, then
follow along.
slash. This user will own all files and directories
associated with Slash. Machines running multiple Slash sites should
have a different system user for each site.
http:// in URLs pointing to the site. For example,
Slashdot's FQDN is (more or less) slashdot.org. It must be a valid DNS
name for the network on which the site will serve requests.
http://slashcode.com/, the Slashcode
web site. Slash-based, naturally, it serves as a community newspaper
for Slash site administrators and operators, and is the definitive
source of the most up-to-date information about installing and
maintaining Slash. After your site is up and running, submit a
"YASS" (Yet
Another Slash
Site) announcement for free advertising. For now,
simply locate and download the latest stable release. http://sourceforge.net/projects/slashcode/.
(Slashcode's Quick Links Slashbox has a
convenient link to this page.) Scroll down to "Latest File
Releases" and choose the Download link for
"slashcode". ("Slashcode-dev" is the latest
development version for the next release and may not be stable enough
for regular use.) As of this writing, the current stable release is
Slash 2.2.3, with a development release of 2.3.0.# cd /usr/local/src root
access. For users without prior administrative experience, this can be
a daunting task. The O'Reilly and Associates guides
UNIX in a Nutshell and Running
Linux are both good Unix references.nobody account for this purpose. Another good option is to
create a new user named slash. The more services running as
nobody, the more damage an attacker can do if he gains
access to the account.
slash user needs to belong to a group as well.
This is convenient and practical. Any other user with membership in
the slash group can work with Slash files and
directories that allow group access. The easiest way to create a new
group is with the groupadd command, provided by some
operating systems (it handles details such as choosing the next
available group number automagically):# groupadd slash
slash group. On the nanodot.org machine, this line
is:slash:x:501:dkrieger
dkrieger is in the
slash group. The group number is
501, the lowest unused number above 500. (On many
Linux machines, group and
user numbers below 500 are reserved for special system groups and
users. This can vary between operating systems.)
imagedir Slash configuration variable to
point to the root URL for the image server. Most of the other standard
performance improvement suggestions also apply.
Author flag is set on their accounts. In a fresh
Slash installation, there is only one Author. The administrative account
created during the site installation stage will have a user ID of 2 and a
seclev of 10,000.
root account on a Unix machine. Its wielder is allowed
to do powerful things because he is not prevented from doing stupid things.
Consequently, the initial administrative account has full access to every
function of the web interface, including promoting and demoting other Authors
and modifying site configuration variables.
A seclev can exceed 10,000, but this bestows no additional privileges.
You're either omnipotent or you're not.Author flag is set on their accounts. In a fresh
Slash installation, there is only one Author. The administrative account
created during the site installation stage will have a user ID of 2 and a
seclev of 10,000.
root account on a Unix machine. Its wielder is allowed
to do powerful things because he is not prevented from doing stupid things.
Consequently, the initial administrative account has full access to every
function of the web interface, including promoting and demoting other Authors
and modifying site configuration variables.
A seclev can exceed 10,000, but this bestows no additional privileges.
You're either omnipotent or you're not.users table in the database to recover from your mistake.
allow_anonymous
variable controls whether anonymous users can post comments. Earlier
versions of Slash stored these variables in a special file. They moved into
the database with Version 2.0, and the Slashteam added a browser-based
interface. The Vars link in the Admin menu
leads to the Variables interface (see Figure 3-3).
allow_anonymous, are treated as booleans. In Perl, anything that evaluates to 0 or the empty
string ("") is considered "false". Everything else is considered "true",
including the strings true and false. To
avoid ambiguity, the default variables use the numbers 1 and 0 to indicate true
and false, respectively.
related_links database table. This table associates words
with HTML links. For example, if the word "slash" occurs in the
Story (and not as part of another word), a related link to the Slashcode site
will be created. Some sites have used this to generate advertising revenue in
a subtle Google-esque scheme. These can be edited through the
max_submissions_allowed per day. They must be at least
submission_speed_limit seconds apart.
max_submissions_allowed per day. They must be at least
submission_speed_limit seconds apart.Billy Miles writes, "As a multiple abductee, I must protest..."