Changeset c442d19
- Timestamp:
- 09/23/2003 04:38:50 PM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gimp3, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 9a9a0fec
- Parents:
- d7c254a
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
basicnet/netprogs/ncpfs/ncpfs-config.xml
rd7c254a rc442d19 1 1 <sect2> 2 <title>Configuring nfs-utils</title>2 <title>Configuring <application>nfs-utils</application></title> 3 3 4 4 <sect3><title>Config files</title> … … 9 9 10 10 <para>A config file <filename>~/.nwclient</filename> should be placed 11 in the home directory of each user that intends to use ncpfs.12 The permissions on this file should be set to 600, for obvious security 13 reasons. The configuration file should contain a single line11 in the home directory of each user that intends to use <application>ncpfs 12 </application>. The permissions on this file should be set to 600, for obvious 13 security reasons. The configuration file should contain a single line 14 14 per server that the user will use. Each line should contain 15 15 the server name, the user name, and optionally the password. Below is a 16 16 sample <filename>.nwclient</filename> file.</para> 17 17 18 < para><screen># Begin example <filename>~/.nwclient</filename> config file18 <screen><userinput># Begin example <filename>~/.nwclient</filename> config file 19 19 20 20 Server1/User1 Password … … 22 22 Server2/Guest1 - 23 23 24 # End example .nwclient config file</ screen></para>24 # End example .nwclient config file</userinput></screen> 25 25 26 26 <para>The syntax for the <filename>.nwclient</filename> file is simple, … … 30 30 after the username. If this space is substituted by a tab or multiple 31 31 spaces, you will not get the expected results when attempting to use 32 the ncpfs tools. If no password is supplied, the client utilities will33 ask for a password when it is needed. If no password is needed, for34 instance when using a guest account, a single '-' should be put in35 place of a password.</para>32 the <application>ncpfs</application> tools. If no password is supplied, 33 the client utilities will ask for a password when it is needed. If no 34 password is needed, for instance when using a guest account, a single '-' 35 should be put in place of a password.</para> 36 36 37 37 <para>It should be noted that the ncpmount is not intended to mount … … 41 41 under one mount point uses only one client connection.</para> 42 42 43 <para>If you need to set up the IPX protocol at boot, you can create the 44 following scripts. These scripts assume IPX will be set up on eth0 43 <para>If you need to set up the <acronym>IPX</acronym> protocol at boot, 44 you can create the following scripts. These scripts assume <acronym>IPX 45 </acronym> will be set up on <emphasis role="strong">eth0</emphasis> 45 46 and the network frame type is 802.2. You should confirm that these 46 47 are the correct settings and adjust as necessary.</para> 47 48 48 < para><screen>cat > /etc/sysconfig/network-devices/ifup-ipx0 << "EOF"49 <screen><userinput><command>cat > /etc/sysconfig/network-devices/ifup-ipx0 << "EOF"</command> 49 50 #!/bin/sh 50 51 # Begin /etc/sysconfig/network-devices/ifup-ipx0 … … 59 60 60 61 # End /etc/sysconfig/network-devices/ifup-ipx0 61 EOF62 cat > /etc/sysconfig/network-devices/ifdown-ipx0 << "EOF" 62 <command>EOF 63 cat > /etc/sysconfig/network-devices/ifdown-ipx0 << "EOF"</command> 63 64 #!/bin/sh 64 65 # Begin /etc/sysconfig/network-devices/ifdown-ipx0 … … 73 74 74 75 # End /etc/sysconfig/network-devices/ifdown-ipx0 75 EOF76 <command>EOF 76 77 echo "ONBOOT=yes" > /etc/sysconfig/network-devices/ifconfig.ipx0 77 78 chmod 755 /etc/sysconfig/network-devices/ifup-ipx0 78 chmod 755 /etc/sysconfig/network-devices/ifdown-ipx0</ screen></para>79 chmod 755 /etc/sysconfig/network-devices/ifdown-ipx0</command></userinput></screen> 79 80 80 81 </sect3> -
basicnet/netprogs/ncpfs/ncpfs-desc.xml
rd7c254a rc442d19 14 14 nwtrustee2, nwuserlist, amd nwvolinfo</filename>.</para></listitem> 15 15 16 <listitem><para><emphasis> IPXInterface Utilities:</emphasis>16 <listitem><para><emphasis><acronym>IPX</acronym> Interface Utilities:</emphasis> 17 17 <filename> ipx_cmd, ipx_configure, ipx_interface, ipx_internal_net, 18 18 and ipx_route</filename>.</para></listitem> -
postlfs/config/bootdisk.xml
rd7c254a rc442d19 220 220 <filename>lost+found</filename> directory, which is not needed because 221 221 it is only used by <command>fsck</command>. Since <command>fsck</command> 222 will never be run on this file system, it is unneeded. 223 224 <screen><userinput><command>rmdir /mnt/loop1/lost+found/</command></userinput></screen> </para>222 will never be run on this file system, it is unneeded.</para> 223 224 <screen><userinput><command>rmdir /mnt/loop1/lost+found/</command></userinput></screen> 225 225 226 226 <para>Now make a minimal set of directories.</para> -
postlfs/config/vimrc.xml
rd7c254a rc442d19 32 32 you do copy anything directly from <filename>/etc/skel</filename>.</para> 33 33 34 < para><screen>" Begin .vimrc34 <screen>" Begin .vimrc 35 35 36 36 set nocompatible … … 45 45 set noexpandtab 46 46 47 " End .vimrc</screen> </para>47 " End .vimrc</screen> 48 48 49 49 <para>A <acronym>FAQ</acronym> on the lfs mailing lists regards the -
postlfs/security/pam/linux_pam-inst.xml
rd7c254a rc442d19 6 6 running the following commands:</para> 7 7 8 < para><screen><userinput><command>./configure --enable-static-libpam --with-mailspool=/var/mail \8 <screen><userinput><command>./configure --enable-static-libpam --with-mailspool=/var/mail \ 9 9 --enable-read-both-confs --sysconfdir=/etc && 10 10 make && … … 13 13 ln -sf ../../lib/libpam.so.&Linux_PAM-version; /usr/lib/libpam.so && 14 14 ln -sf ../../lib/libpam_misc.so.&Linux_PAM-version; /usr/lib/libpam_misc.so && 15 ln -sf ../../lib/libpamc.so.&Linux_PAM-version; /usr/lib/libpamc.so</command></userinput></screen> </para>15 ln -sf ../../lib/libpamc.so.&Linux_PAM-version; /usr/lib/libpamc.so</command></userinput></screen> 16 16 17 17 -
postlfs/security/shadow.xml
rd7c254a rc442d19 13 13 <screen><userinput>#MD5_CRYPT_ENAB no</userinput></screen> 14 14 to read: 15 <screen><userinput>MD5_CRYPT_ENAB yes</userinput></screen></para> 16 17 <para>Passwords created after this change will be encrypted using MD5 15 <screen><userinput>MD5_CRYPT_ENAB yes</userinput></screen> 16 Passwords created after this change will be encrypted using MD5 18 17 instead of using DES encryption.</para> 19 18 -
postlfs/security/shadow/shadow-inst.xml
rd7c254a rc442d19 3 3 <application><acronym>PAM</acronym></application></title> 4 4 5 <screen>shadow requires: 6 <xref linkend="Linux_PAM"/></screen> 5 <sect3><title><application>template</application> dependencies</title> 6 <sect4><title>Required</title> 7 <para><xref linkend="Linux_PAM"/></para></sect4> 8 </sect3> 9 </sect2> 10 11 <sect2> 12 <title>Installation of <application>shadow</application></title> 7 13 8 14 <para>Download the patch for shadow from <ulink url="&patch-root;"/>.</para> … … 10 16 <para>Reinstall shadow by running the following commands:</para> 11 17 12 < para><screen><userinput><command>patch -Np1 -i ../shadow-4.0.3-pamfix-1.patch &&18 <screen><userinput><command>patch -Np1 -i ../shadow-4.0.3-pamfix-1.patch && 13 19 LDFLAGS="-lpam -lpam_misc" ./configure --prefix=/usr --libdir=/usr/lib \ 14 20 --enable-shared --with-libpam && … … 21 27 ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so && 22 28 ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so && 23 cp debian/securetty /etc/securetty</command></userinput></screen> </para>29 cp debian/securetty /etc/securetty</command></userinput></screen> 24 30 25 31 -
server/mail/courier/courier-config.xml
rd7c254a rc442d19 9 9 10 10 <para>Make the following changes in this file if you are utilizing 11 <application>MySQL</application>: 11 <application>MySQL</application>:</para> 12 12 <screen><userinput>MYSQL_SERVER localhost 13 13 MYSQL_USERNAME courier … … 19 19 MYSQL_CLEAR_PWFIELD clear 20 20 DEFAULT DOMAIN (your domain) 21 MYSQL_QUOTA_FIELD quota</userinput></screen> </para>22 23 24 <para>If you utilize <application>PAM</application>: 21 MYSQL_QUOTA_FIELD quota</userinput></screen> 22 23 24 <para>If you utilize <application>PAM</application>:</para> 25 25 <screen><userinput><command>cat > /etc/pam.d/esmtp << "EOF</command> 26 26 # Begin /etc/pam.d/esmtp … … 58 58 59 59 # End /etc/pam.d/webmail 60 <command>EOF</command></userinput></screen></para> 60 <command>EOF</command></userinput></screen> 61 62 <para>This command will create the mysql database for authentication:</para> 63 64 <screen><userinput><command>mysqladmin -uroot -p{password} create courier-mail</command></userinput></screen> 65 66 <para>This command will setup the table users for the courier-mail 67 database:</para> 68 69 <screen><userinput><command>mysql -uroot -p{password} courier-mail 70 71 CREATE TABLE users ( 72 id char(128) DEFAULT '' NOT NULL, 73 crypt char(128) DEFAULT '' NOT NULL, 74 clear char(128) DEFAULT '' NOT NULL, 75 name char(128) DEFAULT '' NOT NULL, 76 uid int(10) unsigned DEFAULT '65534' NOT NULL, 77 gid int(10) unsigned DEFAULT '65534' NOT NULL, 78 home char(255) DEFAULT '' NOT NULL, 79 quota char(255) DEFAULT '' NOT NULL, 80 KEY id (id(128)) 81 );</command></userinput></screen> 82 83 <para>This will add the courier user that we specified earilier in the 84 authmysql file:</para> 85 86 <screen><userinput><command>mysql -uroot -p{password} mysql 87 88 grant all privileges on *.* to courier@localhost identified by '{password}' with grant option;</command></userinput></screen> 89 90 91 <para><emphasis>General Settings for Mail</emphasis></para> 92 93 <para>You will need to create the following files with the contents 94 specified.</para> 95 96 <para><filename>/etc/courier/defaultdomain</filename></para> 97 98 <screen><userinput><command>cat > /etc/courier/defaultdomain << "EOF"</command> 99 {yourdomain} 100 <command>EOF</command></userinput></screen> 101 102 <para><filename>/etc/courier/locals</filename></para> 103 104 105 <screen><userinput><command>cat > /etc/courier/locals << "EOF"</command> 106 localhost 107 {yourdomain} 108 .{yourdomain} 109 <command>EOF</command></userinput></screen> 110 111 <para><filename>/etc/courier/esmtpacceptmailfor</filename></para> 112 113 114 <screen><userinput><command>cat > /etc/courier/esmtpacceptmailfor << "EOF"</command> 115 localhost 116 {yourdomain} 117 .{yourdomain} 118 <command>EOF</command></userinput></screen> 119 120 <para><filename>/etc/courier/hosteddomains</filename></para> 121 122 <screen><userinput><command>cat > /etc/courier/hosteddomains << "EOF"</command> 123 {yourdomain} 124 .{yourdomain} 125 <command>EOF</command></userinput></screen> 126 127 128 <para>You will also need to edit the aliases file and change the 129 following entry.</para> 130 131 132 <para><filename>/etc/courier/aliases/system</filename></para> 133 134 <screen><userinput>postmaster: {your adminstrator email}</userinput></screen> 135 136 <para>If you want to deny access from some hosts from sending mail you 137 will need to edit the <filename>/etc/courier/smtpaccess/default</filename>.</para> 138 139 <para>After the above steps are completed you will need to run the 140 following commands:</para> 141 142 <screen><userinput><command>makesmtpaccess 143 makehosteddomains 144 makealiases</command></userinput></screen> 145 146 <para><emphasis><acronym>SMTP</acronym>/<acronym>SMTMP</acronym>-<acronym>SSL 147 </acronym> Configuration</emphasis></para> 148 149 <para>This section will enable the <acronym>SMTP</acronym> Server from Courier</para> 150 151 <para><filename>/etc/courier/esmtpd</filename></para> 152 153 <screen><userinput>ESMTPDSTART=YES</userinput></screen> 154 155 <para><filename>/etc/courier/esmtpd-ssl</filename></para> 156 157 <screen><userinput>ESMTPDSSLSTART=YES</userinput></screen> 158 159 <para><emphasis><acronym>POP</acronym>3/<acronym>POP</acronym>3-<acronym>SSL 160 </acronym> Configuration</emphasis></para> 161 162 <para>This section will enable the <acronym>POP3</acronym> Server from 163 Courier</para> 164 165 166 <para><filename>/etc/courier/pop3d</filename></para> 167 168 <screen><userinput>POP3DSTART=YES</userinput></screen> 169 170 <para><filename>/etc/courier/pop3d-ssl</filename></para> 171 172 <screen><userinput>POP3DSLLSTART=YES</userinput></screen> 173 174 <para><emphasis><acronym>IMAP</acronym>/<acronym>IMAP</acronym>-<acronym>SSL 175 </acronym> Configuration</emphasis></para> 176 177 <para>This section will enable the <acronym>IMAP</acronym> Server from 178 Courier</para> 179 180 <para><filename>/etc/courier/imapd</filename></para> 181 182 <screen><userinput>IMAPDSTART=YES</userinput></screen> 183 184 <para><filename>/etc/courierd/imapd-ssl</filename></para> 185 186 <screen><userinput>IMAPDSSLSTART=YES</userinput></screen> 187 188 <para><emphasis>Creating Maildirectories for System Users</emphasis></para> 189 190 191 <para>This section will explain on how to create MailDirs for 192 your system users.</para> 193 194 <screen><userinput><command>cd /home/{username} 195 maildirmake Maildir 196 chown {username}.{username} Maildir -R</command></userinput></screen> 197 198 <para><emphasis>Setup for Virtual users</emphasis></para> 199 200 <para>This section will explain how to setup Maildir for your virtual 201 users.</para> 202 203 <screen><userinput><command>echo "vmailman:x:9000:9000:Virtual Mailman:/home/vmailman:/bin/bash" >> /etc/passwd 204 echo "vmailman:x:9000:" >> /etc/group</command></userinput></screen> 205 206 <para>Now to setup the maildir for these virutal users.</para> 207 208 <screen><userinput><command>cd /home/vmailman 209 mkdir {virtual_user} 210 cd {virtual_user} 211 maildirmake Maildir 212 chown vmailman.vmailman Maildir -R</command></userinput></screen> 213 214 <para>Add the virtual user to the MySQL database. You need to enter at 215 least on version of the password either clear text or encrypted.</para> 216 217 <screen><userinput><command>mysql -ucourier -p{password} courier-mail 218 219 insert into users values('{virtual_users}@{domain.com}, 220 '{encrypted password or blank}','{clear text password or blank}', 221 '{User's Name}',9000,9000,'{location of Maildir}','{Quota in Bytes'});</command></userinput></screen> 222 223 <para>example</para> 224 225 <screen><userinput>insert into users values ('blfsuser@linuxfromscratch.org',' 226 ','password','BLFS User',9000,9000,'/home/vmailman/blfsuser','');</userinput></screen> 227 228 <para><emphasis>Setup for Web-based Email</emphasis></para> 229 230 <para>This section will explain how to setup Courier Web-based email 231 system.</para> 232 233 <para><emphasis role="strong">Edit note: Remove /usr/libexec with 234 configure flag, should be /usr/sbin. Sync apache directory with apache 235 install for BLFS.</emphasis></para> 236 237 <para>You will need to copy the file webemail from 238 <filename>/usr/libexec/courier/webmail</filename> to your <filename>cgi-bin 239 </filename> directory of your <application>Apache</application> 240 server.</para> 241 242 <screen><userinput><command>cp -a /usr/libexec/courier/webmail /var/www/cgi-bin</command></userinput></screen> 243 244 <para>You will then need to copy the images to a folder under your 245 <filename>htdocs</filename> directory of your 246 <application>Apache</application> server. The directory needs to be named 247 <filename>webmail</filename> or you need to specify it during the configure 248 phase with <command>--enable-imageurl=/url</command>.</para> 249 250 <screen><userinput><command>cp -a /usr/share/courier/sqwebmail/images /var/www/htdocs/webmail</command></userinput></screen> 251 252 61 253 </sect3> 62 63 254 </sect2> 64 255 -
server/mail/courier/courier-exp.xml
rd7c254a rc442d19 2 2 <title>Command explanations</title> 3 3 4 <para><command>COMMAND</command> : This command does something.</para> 4 <para><command>--sysconfdir=/etc/courier</command> : This switch does something.</para> 5 6 <para><command>--with-piddir=/var/run</command> : This switch does something.</para> 7 8 <para><command>--libexecdir=/usr/libexec</command> : This switch does something.</para> 9 10 <para><command>--datadir=/usr/share/courier</command> : This switch does something.</para> 11 12 <para><command> --localstatedir=/var/lib/courier</command> : This switch does something.</para> 13 14 <para><command>--disable-root-check</command> : This switch does something.</para> 15 16 <para><command>--with-db=db</command> : This switch does something.</para> 17 18 <para><command>--with-mailuser=courier</command> : This switch does something.</para> 19 20 <para><command>--withmailgroup=courier</command> : This switch does something.</para> 21 22 <para><command>--enable-workarounds-for-imap-client-bugs</command> : This 23 switch does something.</para> 24 25 <para><command>--with-ispell=/usr/bin/aspell</command> : This switch does something.</para> 5 26 6 27 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.