White space fix only. Translators can ignore.
This commit is contained in:
parent
209f940bf0
commit
9ef75bcd81
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43031
1 changed files with 34 additions and 32 deletions
|
@ -620,9 +620,9 @@ Password:
|
|||
</indexterm>
|
||||
|
||||
<para>&os; provides a variety of different commands to manage
|
||||
user accounts. The most common commands are summarized in Table 4.1,
|
||||
followed by some examples of their usage. Refer to the manual
|
||||
page for each utility for more details and usage
|
||||
user accounts. The most common commands are summarized in Table
|
||||
4.1, followed by some examples of their usage. Refer to the
|
||||
manual page for each utility for more details and usage
|
||||
examples.</para>
|
||||
|
||||
<table frame="none" pgwide="1">
|
||||
|
@ -687,25 +687,25 @@ Password:
|
|||
class="directory">/usr/share/skel</filename></primary>
|
||||
</indexterm>
|
||||
<indexterm><primary>skeleton directory</primary></indexterm>
|
||||
<para>The recommended program for adding new users is &man.adduser.8;.
|
||||
When a new user is added, this program automatically updates
|
||||
<filename>/etc/passwd</filename> and
|
||||
<para>The recommended program for adding new users is
|
||||
&man.adduser.8;. When a new user is added, this program
|
||||
automatically updates <filename>/etc/passwd</filename> and
|
||||
<filename>/etc/group</filename>. It also creates a home
|
||||
directory for the new user, copies in the default
|
||||
configuration files from <filename
|
||||
class="directory">/usr/share/skel</filename>, and can
|
||||
optionally mail the new user a welcome message. This utility
|
||||
must be run as the <username>superuser</username></para>
|
||||
|
||||
|
||||
<para>The &man.adduser.8; utility is interactive and walks
|
||||
through the steps for creating a new user account. As seen in
|
||||
through the steps for creating a new user account. As seen in
|
||||
Example 4.2, either input the required information or press
|
||||
<keycap>Return</keycap> to accept the default value shown in
|
||||
square brackets. In this example, the user has been invited
|
||||
into the <groupname>wheel</groupname> group, which is
|
||||
required to provide the account with superuser
|
||||
access. When finished, the utility will prompt to either
|
||||
create another user or to exit.</para>
|
||||
required to provide the account with superuser access. When
|
||||
finished, the utility will prompt to either create another
|
||||
user or to exit.</para>
|
||||
|
||||
<example>
|
||||
<title>Adding a User on &os;</title>
|
||||
|
@ -759,8 +759,8 @@ Goodbye!
|
|||
</indexterm>
|
||||
|
||||
<para>To completely remove a user from the system, run
|
||||
&man.rmuser.8; as the superuser. This command performs the following
|
||||
steps:</para>
|
||||
&man.rmuser.8; as the superuser. This command performs the
|
||||
following steps:</para>
|
||||
|
||||
<procedure>
|
||||
<step>
|
||||
|
@ -783,8 +783,8 @@ Goodbye!
|
|||
</step>
|
||||
|
||||
<step>
|
||||
<para>Optionally removes the user's home directory, if it is owned by
|
||||
the user.</para>
|
||||
<para>Optionally removes the user's home directory, if it is
|
||||
owned by the user.</para>
|
||||
</step>
|
||||
|
||||
<step>
|
||||
|
@ -802,10 +802,9 @@ Goodbye!
|
|||
<step>
|
||||
<para>Finally, removes the username from all groups to which
|
||||
it belongs in <filename>/etc/group</filename>. If a group
|
||||
becomes empty and the group name is the
|
||||
same as the username, the group is removed. This
|
||||
complements the per-user unique groups created by
|
||||
&man.adduser.8;.</para>
|
||||
becomes empty and the group name is the same as the
|
||||
username, the group is removed. This complements the
|
||||
per-user unique groups created by &man.adduser.8;.</para>
|
||||
</step>
|
||||
</procedure>
|
||||
|
||||
|
@ -835,8 +834,9 @@ Removing user (jru): mailspool home passwd.
|
|||
|
||||
<indexterm><primary><command>chpass</command></primary></indexterm>
|
||||
<para>Any user can use &man.chpass.1; to change their default
|
||||
shell and personal
|
||||
information associated with their user account. The superuser can use this utility to change additional account information for any user.</para>
|
||||
shell and personal information associated with their user
|
||||
account. The superuser can use this utility to change
|
||||
additional account information for any user.</para>
|
||||
|
||||
<para>When passed no options, aside from an optional username,
|
||||
&man.chpass.1; displays an editor containing user information.
|
||||
|
@ -844,16 +844,17 @@ Removing user (jru): mailspool home passwd.
|
|||
updated with the new information.</para>
|
||||
|
||||
<note>
|
||||
<para>This utility will prompt for the user's password when exiting the
|
||||
editor, unless the utility is run as the superuser.</para>
|
||||
<para>This utility will prompt for the user's password when
|
||||
exiting the editor, unless the utility is run as the
|
||||
superuser.</para>
|
||||
</note>
|
||||
|
||||
|
||||
<para>In Example 4.4, the superuser has typed
|
||||
<command>chpass jru</command> and is now viewing the fields
|
||||
that can be changed for this user. If
|
||||
<username>jru</username> runs this command instead, only the
|
||||
last six fields will be displayed and available for
|
||||
editing. This is shown in Example 4.5.</para>
|
||||
<username>jru</username> runs this command instead, only the
|
||||
last six fields will be displayed and available for editing.
|
||||
This is shown in Example 4.5.</para>
|
||||
|
||||
<example>
|
||||
<title>Using <command>chpass</command> as
|
||||
|
@ -906,10 +907,10 @@ Other information:</screen>
|
|||
<primary>accounts</primary>
|
||||
<secondary>changing password</secondary>
|
||||
</indexterm>
|
||||
<para>Any user can easily change their password using &man.passwd.1;.
|
||||
To prevent accidental or unauthorized changes, this command will
|
||||
prompt for the user's original password before a new password can
|
||||
be set:</para>
|
||||
<para>Any user can easily change their password using
|
||||
&man.passwd.1;. To prevent accidental or unauthorized
|
||||
changes, this command will prompt for the user's original
|
||||
password before a new password can be set:</para>
|
||||
|
||||
<example>
|
||||
<title>Changing Your Password</title>
|
||||
|
@ -943,7 +944,8 @@ passwd: done</screen>
|
|||
|
||||
<note>
|
||||
<para>As with &man.chpass.1;, &man.yppasswd.1; is a link to
|
||||
&man.passwd.1;, so <acronym>NIS</acronym> works with either command.</para>
|
||||
&man.passwd.1;, so <acronym>NIS</acronym> works with either
|
||||
command.</para>
|
||||
</note>
|
||||
</sect3>
|
||||
|
||||
|
|
Loading…
Reference in a new issue