|
Lines 6273-6279
Link Here
|
| 6273 |
<qandaentry> |
6273 |
<qandaentry> |
| 6274 |
<question id="su-wheel-group"> |
6274 |
<question id="su-wheel-group"> |
| 6275 |
<para>Why do I get the error, <errorname>you are not in the correct |
6275 |
<para>Why do I get the error, <errorname>you are not in the correct |
| 6276 |
group to su root</errorname> when I try to su to root?</para> |
6276 |
group to su root</errorname> when I try to su to <username>root</username>?</para> |
| 6277 |
</question> |
6277 |
</question> |
| 6278 |
|
6278 |
|
| 6279 |
<answer> |
6279 |
<answer> |
|
Lines 6736-6742
Link Here
|
| 6736 |
|
6736 |
|
| 6737 |
<qandaentry> |
6737 |
<qandaentry> |
| 6738 |
<question id="forgot-root-pw"> |
6738 |
<question id="forgot-root-pw"> |
| 6739 |
<para>I have forgotten the root password! What do I do?</para> |
6739 |
<para>I have forgotten the <username>root</username> password! What do I do?</para> |
| 6740 |
</question><answer> |
6740 |
</question><answer> |
| 6741 |
|
6741 |
|
| 6742 |
<para>Do not Panic! Simply restart the system, type |
6742 |
<para>Do not Panic! Simply restart the system, type |
|
Lines 6747-6753
Link Here
|
| 6747 |
<command>mount -u /</command> to remount your root filesystem |
6747 |
<command>mount -u /</command> to remount your root filesystem |
| 6748 |
read/write, then run <command>mount -a</command> to remount all |
6748 |
read/write, then run <command>mount -a</command> to remount all |
| 6749 |
the filesystems. Run <command>passwd root</command> to change |
6749 |
the filesystems. Run <command>passwd root</command> to change |
| 6750 |
the root password then run &man.exit.1; to continue |
6750 |
the <username>root</username> password then run &man.exit.1; to continue |
| 6751 |
booting.</para> |
6751 |
booting.</para> |
| 6752 |
</answer> |
6752 |
</answer> |
| 6753 |
</qandaentry> |
6753 |
</qandaentry> |
|
Lines 6975-6981
Link Here
|
| 6975 |
|
6975 |
|
| 6976 |
<para>Take the <literal>ntalk</literal> service, for |
6976 |
<para>Take the <literal>ntalk</literal> service, for |
| 6977 |
example (see /etc/inetd.conf). This service used to run |
6977 |
example (see /etc/inetd.conf). This service used to run |
| 6978 |
as userid root. Now it runs as userid tty. The tty user |
6978 |
as userid <username>root</username>. Now it runs as userid <username>tty</username>. The <username>tty</username> user |
| 6979 |
is a sandbox designed to make it more difficult for |
6979 |
is a sandbox designed to make it more difficult for |
| 6980 |
someone who has successfully hacked into the system via |
6980 |
someone who has successfully hacked into the system via |
| 6981 |
ntalk from being able to hack beyond that user id.</para> |
6981 |
ntalk from being able to hack beyond that user id.</para> |
|
Lines 7262-7268
Link Here
|
| 7262 |
<para>The reason why <filename>.shosts</filename> |
7262 |
<para>The reason why <filename>.shosts</filename> |
| 7263 |
authentication does not work by default in more recent |
7263 |
authentication does not work by default in more recent |
| 7264 |
versions of FreeBSD is because &man.ssh.1; |
7264 |
versions of FreeBSD is because &man.ssh.1; |
| 7265 |
is not installed suid root by default. To |
7265 |
is not installed suid <username>root</username> by default. To |
| 7266 |
<quote>fix</quote> this, you can do one of the |
7266 |
<quote>fix</quote> this, you can do one of the |
| 7267 |
following:</para> |
7267 |
following:</para> |
| 7268 |
|
7268 |
|
|
Lines 7900-7906
Link Here
|
| 7900 |
Newer versions of XFree86 do not install the servers setuid to |
7900 |
Newer versions of XFree86 do not install the servers setuid to |
| 7901 |
<username>root</username> for just this reason.</para> |
7901 |
<username>root</username> for just this reason.</para> |
| 7902 |
|
7902 |
|
| 7903 |
<para>Obviously, running an X server as the root user is not |
7903 |
<para>Obviously, running an X server as the <username>root</username> user is not |
| 7904 |
acceptable, nor a good idea security-wise. There are two ways |
7904 |
acceptable, nor a good idea security-wise. There are two ways |
| 7905 |
to be able to use X as a regular user. The first is to use |
7905 |
to be able to use X as a regular user. The first is to use |
| 7906 |
<command>xdm</command> or another display manager |
7906 |
<command>xdm</command> or another display manager |
|
Lines 9029-9035
Link Here
|
| 9029 |
you will be prompted for the path to a shell).</para> |
9029 |
you will be prompted for the path to a shell).</para> |
| 9030 |
|
9030 |
|
| 9031 |
<para>Some people use <username>toor</username> for |
9031 |
<para>Some people use <username>toor</username> for |
| 9032 |
day-to-day root tasks with a non-standard shell, leaving |
9032 |
day-to-day <username>root</username> tasks with a non-standard shell, leaving |
| 9033 |
<username>root</username>, with a standard shell, for |
9033 |
<username>root</username>, with a standard shell, for |
| 9034 |
single user mode or emergencies. By default you cannot log |
9034 |
single user mode or emergencies. By default you cannot log |
| 9035 |
in using <username>toor</username> as it does not have a |
9035 |
in using <username>toor</username> as it does not have a |
|
Lines 10447-10453
Link Here
|
| 10447 |
<filename>/etc/gettytab</filename>, see &man.gettytab.5;). |
10447 |
<filename>/etc/gettytab</filename>, see &man.gettytab.5;). |
| 10448 |
The terminal type for this port is <literal>dialup</literal>. |
10448 |
The terminal type for this port is <literal>dialup</literal>. |
| 10449 |
The port is <literal>on</literal> and is |
10449 |
The port is <literal>on</literal> and is |
| 10450 |
<literal>insecure</literal>---meaning root logins on the port |
10450 |
<literal>insecure</literal>---meaning <username>root</username> logins on the port |
| 10451 |
are not allowed. For dialin ports like this one, use the |
10451 |
are not allowed. For dialin ports like this one, use the |
| 10452 |
<devicename>ttyd<replaceable>X</replaceable></devicename> entry.</para> |
10452 |
<devicename>ttyd<replaceable>X</replaceable></devicename> entry.</para> |
| 10453 |
|
10453 |
|
|
Lines 10455-10461
Link Here
|
| 10455 |
the terminal type. Many users set up in their <filename>.profile</filename> or |
10455 |
the terminal type. Many users set up in their <filename>.profile</filename> or |
| 10456 |
<filename>.login</filename> files a prompt for the actual terminal type if the |
10456 |
<filename>.login</filename> files a prompt for the actual terminal type if the |
| 10457 |
starting type is dialup. The example shows the port as |
10457 |
starting type is dialup. The example shows the port as |
| 10458 |
insecure. To become root on this port, you have to login as a |
10458 |
insecure. To become <username>root</username> on this port, you have to login as a |
| 10459 |
regular user, then &man.su.1; to become |
10459 |
regular user, then &man.su.1; to become |
| 10460 |
<username>root</username>. If you use <literal>secure</literal> |
10460 |
<username>root</username>. If you use <literal>secure</literal> |
| 10461 |
then <username>root</username> can login in directly.</para> |
10461 |
then <username>root</username> can login in directly.</para> |