Wrap root in <username>.

PR:		docs/37532
Submitted by:	Martin Heinen <martin@sumuk.de>
Approved by:	murray
This commit is contained in:
Ceri Davies 2002-04-29 12:00:22 +00:00
parent fe2e71a157
commit c56ca257a6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12905

View file

@ -6273,7 +6273,7 @@ C:\="DOS"</programlisting>
<qandaentry>
<question id="su-wheel-group">
<para>Why do I get the error, <errorname>you are not in the correct
group to su root</errorname> when I try to su to root?</para>
group to su root</errorname> when I try to su to <username>root</username>?</para>
</question>
<answer>
@ -6736,7 +6736,7 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
<qandaentry>
<question id="forgot-root-pw">
<para>I have forgotten the root password! What do I do?</para>
<para>I have forgotten the <username>root</username> password! What do I do?</para>
</question><answer>
<para>Do not Panic! Simply restart the system, type
@ -6747,7 +6747,7 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
<command>mount -u /</command> to remount your root filesystem
read/write, then run <command>mount -a</command> to remount all
the filesystems. Run <command>passwd root</command> to change
the root password then run &man.exit.1; to continue
the <username>root</username> password then run &man.exit.1; to continue
booting.</para>
</answer>
</qandaentry>
@ -6975,7 +6975,7 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
<para>Take the <literal>ntalk</literal> service, for
example (see /etc/inetd.conf). This service used to run
as userid root. Now it runs as userid tty. The tty user
as userid <username>root</username>. Now it runs as userid <username>tty</username>. The <username>tty</username> user
is a sandbox designed to make it more difficult for
someone who has successfully hacked into the system via
ntalk from being able to hack beyond that user id.</para>
@ -7262,7 +7262,7 @@ define(`confDELIVERY_MODE',`deferred')dnl</programlisting>
<para>The reason why <filename>.shosts</filename>
authentication does not work by default in more recent
versions of FreeBSD is because &man.ssh.1;
is not installed suid root by default. To
is not installed suid <username>root</username> by default. To
<quote>fix</quote> this, you can do one of the
following:</para>
@ -7900,7 +7900,7 @@ ttyvb "/usr/libexec/getty Pc" cons25 off secure</programlisting>
Newer versions of XFree86 do not install the servers setuid to
<username>root</username> for just this reason.</para>
<para>Obviously, running an X server as the root user is not
<para>Obviously, running an X server as the <username>root</username> user is not
acceptable, nor a good idea security-wise. There are two ways
to be able to use X as a regular user. The first is to use
<command>xdm</command> or another display manager
@ -9029,7 +9029,7 @@ Key F15 A A Menu Workplace Nop</programlisting>
you will be prompted for the path to a shell).</para>
<para>Some people use <username>toor</username> for
day-to-day root tasks with a non-standard shell, leaving
day-to-day <username>root</username> tasks with a non-standard shell, leaving
<username>root</username>, with a standard shell, for
single user mode or emergencies. By default you cannot log
in using <username>toor</username> as it does not have a
@ -10447,7 +10447,7 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
<filename>/etc/gettytab</filename>, see &man.gettytab.5;).
The terminal type for this port is <literal>dialup</literal>.
The port is <literal>on</literal> and is
<literal>insecure</literal>---meaning root logins on the port
<literal>insecure</literal>---meaning <username>root</username> logins on the port
are not allowed. For dialin ports like this one, use the
<devicename>ttyd<replaceable>X</replaceable></devicename> entry.</para>
@ -10455,7 +10455,7 @@ device sio7 at isa? port 0x2b8 tty flags 0x781 irq 7 vector siointr</programlist
the terminal type. Many users set up in their <filename>.profile</filename> or
<filename>.login</filename> files a prompt for the actual terminal type if the
starting type is dialup. The example shows the port as
insecure. To become root on this port, you have to login as a
insecure. To become <username>root</username> on this port, you have to login as a
regular user, then &man.su.1; to become
<username>root</username>. If you use <literal>secure</literal>
then <username>root</username> can login in directly.</para>