From e77801f236925a24b1974016a36a9033ecd84e33 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 15 Dec 2018 22:49:45 -0600 Subject: Admin: ch07: finish (?!) --- src/admin/5_networking.xml | 2 +- src/admin/7_config.xml | 202 ++++++++++++++++++++++++++++++++++++++++++++- src/admin/adminbook.xml | 2 +- 3 files changed, 203 insertions(+), 3 deletions(-) (limited to 'src/admin') diff --git a/src/admin/5_networking.xml b/src/admin/5_networking.xml index 06bd313..a195c3c 100644 --- a/src/admin/5_networking.xml +++ b/src/admin/5_networking.xml @@ -129,7 +129,7 @@ ip tuntap del name $1 Advanced: Using "predictable" network interface names -
+
Advanced: Multiple interfaces Note that by default, all interfaces must be active before the rest of the system will consider the network to be active. This will cause network services to delay start-up until all interfaces are active. If this is not desired, you may set rc_depend_strict to NO in /etc/rc.conf. diff --git a/src/admin/7_config.xml b/src/admin/7_config.xml index d971448..7bedb96 100644 --- a/src/admin/7_config.xml +++ b/src/admin/7_config.xml @@ -221,7 +221,7 @@
-
+
<filename>/etc/conf.d/gettys</filename>: System console configuration
Purpose @@ -412,4 +412,204 @@ There are a few comments in the /etc/inputrc file. Since the GNU readline library is not packaged for the Adélie Linux system, it is not possible to read the manual page.
+
+ <filename>/etc/issue</filename>: System identification configuration +
+ Purpose + The /etc/issue file determines the message that will be displayed on virtual terminals and consoles before the login prompt. +
+
+ Syntax + Text file. Escape sequences are supported. +
+
+ External References + For more information, refer to the Issue Files section of the agetty(8) manual page. The agetty(8) manual page is available in the util-linux-doc package. +
+
+ +
+ <filename>/etc/localtime</filename>: Time zone configuration +
+ Purpose + The /etc/localtime file determines the system's time zone. The system time zone is shown in date(1), file modification times, log files, and other functions. It is important to ensure this file is correct. +
+
+ Syntax + Binary time zone file. Please do not edit the file directly in an editor. +
+
+ Detailed Information + The tzdata package provides a number of time zone files in the /usr/share/zoneinfo directory. When configuring the system time zone, you should make a symbolic link from your time zone to /etc/localtime. Alternatively, if you are using a split /usr (not common), you may copy the file directly. For example, to set the system time zone to American Central Time, you would run ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime; or, if you are using a split /usr (not common), you would run cp /usr/share/zoneinfo/America/Chicago /etc/localtime. For a full list of time zones available, run find /usr/share/zoneinfo. +
+
+
+ <filename>/etc/login.defs</filename>: Login configuration +
+ Purpose + The /etc/login.defs file determines the configuration for the shadow package, which is responsible for all logins and the su command on the Adélie Linux system. +
+
+ Syntax + Each line describes a configuration value; the name and value are separated by whitespace. Blank lines and comment lines are ignored. Comments may not appear anywhere other than the beginning of a line. +
+
+ External References + For more information, refer to the login.defs(5) manual page. The login.defs(5) manual page is available in the shadow-doc package. +
+
+
+ <filename>/etc/motd</filename>: Login message configuration +
+ Purpose + The /etc/motd file determines the message that will be displayed to users when they log in to the system. +
+
+ Syntax + Plain text. +
+
+ Detailed Information + The entire contents of the /etc/motd file are displayed to a user when they log in to the system. No command substitution or escape sequences are recognised; the file is entirely plain text. The default login message provides pointers on where to find the documentation for the Adélie Linux system. +
+
+
+ <filename class="directory">/etc/profile.d/</filename>: Shell startup configuration +
+ Purpose + The /etc/profile.d directory contains files that determine the shell environment for all users on the system. +
+
+ Syntax + Shell scripts. +
+
+ Detailed Information + The /etc/profile script is sourced by most shells during interactive logins. This script enumerates all shell scripts present in /etc/profile.d and sources them. Adding an executable shell script to /etc/profile.d allows you to set environment variables or add shell functions for interactive use. Note that most shells will not source these files during non-interactive logins. +
+
+
+ <filename>/etc/rc.conf</filename>: Service manager configuration +
+ Purpose + The /etc/rc.conf file determines the behaviour of the service manager, which is partially responsible for system initialisation. +
+
+ Syntax + Shell script. Variables are in lowercase. Booleans may be set as YES or NO. +
+
+ Detailed Information + The /etc/rc.conf file defines the following configuration variables: + + Configurable variables in <filename>/etc/rc.conf</filename> + + + + Variable + Meaning + Default + + + + + rc_parallel + + Determines whether the system should attempt to start multiple services at the same time. + DangerThis option may harm the stability of your system or render it inoperable. Take extreme caution before changing the default. + + NO + + + rc_interactive + Determines whether the system should allow a user to hold the "I" key during system initialisation to choose which services to start. + NO + + + rc_shell + Determines the shell to spawn if the system fails to initialise correctly. + /bin/sh + + + rc_depend_strict + Determines whether all providers of a dependency are required to start before dependent services are started. For an example, refer to . + YES + + + rc_logger + Determines whether system initialisation activity is logged to disk for review by the system administrator. + YES + + + rc_log_path + Determines the path in which to write the system initialisation activity log, if rc_logger is set to YES. + /var/log/rc.log + + + rc_verbose + Determines if the service manager should output extra messages, which can be useful for debugging an issue with services. + NO + + + rc_nocolor + Determines if colourful output should be suppressed. + NO + + + unicode + + Determines if the system terminal supports Unicode. + WarningDisabling Unicode support may cause some applications to work improperly. + + YES + + + rc_sys + Determines the system environment. This may be autodetected. Only set this option if autodetection does not work. Valid options are "" for a typical Adélie Linux system; "docker" for a Docker container; "lxc" for a LXC container; "openvz" for an OpenVZ container; "xen0" for a Xen domain 0 instance; and "xenU" for a Xen guest domain instance. + + + + rc_tty_number + Determines how many TTYs the service manager should allow services to configure. This does not impact the number of TTYs actually allocated; refer to for this option. + 12 + + + rc_controller_cgroups + Determines whether cgroups should be used for services. Refer to the kernel documentation on cgroups for more information. + NO + + + +
+
+
+
+ <filename>/etc/resolv.conf</filename>: Network name resolution configuration +
+ Purpose + The /etc/resolv.conf file determines how names are resolved on the network. This includes the domain suffix that should be searched when the system searches for a host name on the network. This additionally includes the nameservers used to resolve names into IP addresses (typically via DNS). +
+
+ Syntax + Each line describes a configuration value; the name and value are separated by whitespace. Blank lines and comment lines are ignored. +
+
+ Detailed Information + For more information about configuring name resolution, refer to . +
+
diff --git a/src/admin/adminbook.xml b/src/admin/adminbook.xml index c91a91f..0c94bd2 100644 --- a/src/admin/adminbook.xml +++ b/src/admin/adminbook.xml @@ -35,7 +35,7 @@ Preface - This Administrator's Handbook is the official comprehensive manual to administrating systems running the Adélie Linux 1.0 operating environment. It includes differences between Adélie Linux and other Linux and Unix® environments, and detailed information on the design and implementation of Adélie Linux 1.0. + This Administrator's Handbook is the official comprehensive manual for the day-to-day use and administration of systems running the Adélie Linux 1.0 operating environment. It additionally includes differences between Adélie Linux and other Linux and Unix® environments, and detailed information on the design and implementation of Adélie Linux 1.0. Many contributed to the final version of this handbook. This includes MarcusComstedt, MichaelSiegel, and TambraWilcox. It is assumed that you, the reader, are familiar with using a terminal or command line interface, and the use of Unix commands. If you are not yet familiar with these concepts, start with our User's Handbook, which will assist you in learning them. Please also ensure that you are comfortable and properly rested before reading this handbook. This will allow you to learn quicker, and be able to recall the information you have learned easier. -- cgit v1.2.3-60-g2f50