Changeset 82b662d in clfs-sysroot for BOOK/final-system/common/shadow.xml
- Timestamp:
- Jun 11, 2006, 1:05:33 PM (18 years ago)
- Branches:
- master
- Children:
- 75984cf
- Parents:
- 8f2279f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/shadow.xml
r8f2279f r82b662d 41 41 <para os="d">Prepare Shadow for compilation:</para> 42 42 43 <screen os="e"><userinput>./configure --libdir=/lib -- enable-shared \43 <screen os="e"><userinput>./configure --libdir=/lib --sysconfdir=/etc --enable-shared \ 44 44 --without-libpam --without-audit --without-selinux \ 45 45 --host=${LFS_TARGET} --cache-file=config.cache</userinput></screen> … … 59 59 <term><parameter>--without-audit</parameter></term> 60 60 <listitem><para>Support for auditing is enabled by default, but a 61 alibrary that it needs is not installed in a base LFS system. This61 library that it needs is not installed in a base LFS system. This 62 62 switch disables auditing support.</para></listitem> 63 63 </varlistentry> … … 86 86 <screen os="m"><userinput>make DESTDIR=${LFS} install</userinput></screen> 87 87 88 <para id="shadow-limits-login_access" os="n">Shadow uses two files to configure89 authentication settings for the system. Install these two configuration90 files:</para>91 92 <indexterm zone="shadow-limits-login_access" os="o">93 <primary sortas="e-/etc/limits">/etc/limits</primary>94 </indexterm>95 96 <indexterm zone="shadow-limits-login_access" os="p">97 <primary sortas="e-/etc/login.access">/etc/login.access</primary>98 </indexterm>99 100 <screen os="q"><userinput>cp -v etc/{limits,login.access} ${LFS}/etc</userinput></screen>101 102 88 <para id="shadow-login_defs" os="r">Instead of using the default 103 89 <emphasis>crypt</emphasis> method, use the more secure … … 114 100 </indexterm> 115 101 116 <screen os="t"><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ 102 <screen os="t"><userinput>cp {LFS}/etc/login.defs login.defs.orig 103 sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ 117 104 -e 's@/var/spool/mail@/var/mail@' \ 118 etc/login.defs> ${LFS}/etc/login.defs</userinput></screen>105 login.defs.orig > ${LFS}/etc/login.defs</userinput></screen> 119 106 120 107 <note os="u"> … … 193 180 <seg>chage, chfn, chpasswd, chgpasswd, chsh, expiry, faillog, gpasswd, 194 181 groupadd, groupdel, groupmod, grpck, grpconv, grpunconv, lastlog, 195 login, logoutd, newgrp, newusers, passwd, pwck, pwconv, pwunconv,196 sg (link to newgrp), useradd, userdel, usermod, vigr (link to vipw),197 and vipw</seg>182 login, logoutd, newgrp, newusers, nologin, passwd, pwck, pwconv, 183 pwunconv, sg (link to newgrp), useradd, userdel, usermod, 184 vigr (link to vipw), and vipw</seg> 198 185 <seg>libshadow.[a,so]</seg> 199 186 </seglistitem> … … 407 394 </varlistentry> 408 395 396 <varlistentry id="nologin"> 397 <term><command>nologin</command></term> 398 <listitem> 399 <para>Displays a message that an account is not available. Designed 400 to be used as the default shell for accounts that have been 401 disabled</para> 402 <indexterm zone="ch-system-shadow nologin"> 403 <primary sortas="b-nologin">nologin</primary> 404 </indexterm> 405 </listitem> 406 </varlistentry> 407 409 408 <varlistentry id="passwd"> 410 409 <term><command>passwd</command></term>
Note: See TracChangeset
for help on using the changeset viewer.