There is no /etc/password--we mean /etc/passwd. While I'm here, add a

missing word and use the man page entity for vipw(8) instead of a
<command> tag.
This commit is contained in:
Dima Dorfman 2005-07-29 08:22:19 +00:00
parent a70748c8ca
commit 251c1eae37
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=25268

View file

@ -766,10 +766,10 @@ exec /usr/sbin/ppp -direct $IDENT</programlisting>
<para>You should use this script as the <para>You should use this script as the
<emphasis>shell</emphasis> for all of your dialup users. <emphasis>shell</emphasis> for all of your dialup users.
This is an example from <filename>/etc/password</filename> This is an example from <filename>/etc/passwd</filename>
for a dialup PPP user with username for a dialup PPP user with username
<username>pchilds</username> (remember do not directly edit <username>pchilds</username> (remember do not directly edit
the password file, use <command>vipw</command>).</para> the password file, use &man.vipw.8;).</para>
<programlisting>pchilds:*:1011:300:Peter Childs PPP:/home/ppp:/etc/ppp/ppp-dialup</programlisting> <programlisting>pchilds:*:1011:300:Peter Childs PPP:/home/ppp:/etc/ppp/ppp-dialup</programlisting>
@ -927,7 +927,7 @@ exec /usr/sbin/ppp -direct pap$IDENT</programlisting>
a username/password in a username/password in
<filename>/etc/ppp/ppp.secret</filename> file, or <filename>/etc/ppp/ppp.secret</filename> file, or
alternatively add the following option to authenticate users alternatively add the following option to authenticate users
via PAP from <filename>/etc/password</filename> file.</para> via PAP from the <filename>/etc/passwd</filename> file.</para>
<programlisting>enable passwdauth</programlisting> <programlisting>enable passwdauth</programlisting>