From 35716bf6ec8d6c5e87f5cdf168cdd1fa4b27bc19 Mon Sep 17 00:00:00 2001 From: Ceri Davies Date: Mon, 29 Apr 2002 12:14:08 +0000 Subject: [PATCH] Wrap root in . PR: docs/37532 Submitted by: Martin Heinen Approved by: murray --- .../handbook/advanced-networking/chapter.sgml | 10 +++++----- .../books/handbook/backups/chapter.sgml | 2 +- .../books/handbook/boot/chapter.sgml | 4 ++-- .../books/handbook/config/chapter.sgml | 2 +- .../books/handbook/cutting-edge/chapter.sgml | 2 +- .../books/handbook/install/chapter.sgml | 14 +++++++------- .../books/handbook/linuxemu/chapter.sgml | 8 ++++---- .../books/handbook/mail/chapter.sgml | 2 +- .../books/handbook/mirrors/chapter.sgml | 2 +- .../books/handbook/multimedia/chapter.sgml | 2 +- .../books/handbook/ppp-and-slip/chapter.sgml | 4 ++-- .../books/handbook/printing/chapter.sgml | 18 +++++++++--------- .../books/handbook/serialcomms/chapter.sgml | 2 +- .../books/handbook/sound/chapter.sgml | 2 +- 14 files changed, 37 insertions(+), 37 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml index 921fc0d405..2197203646 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml @@ -2386,7 +2386,7 @@ ISDN BRI line /etc directory of the NIS master, with one exception: the /etc/master.passwd file. This is for a good reason; you do not want to propagate - passwords to your root and other administrative accounts to + passwords to your root and other administrative accounts to all the servers in the NIS domain. Therefore, before we initialize the NIS maps, you should: @@ -2398,7 +2398,7 @@ ISDN BRI line (bin, tty, kmem, games, etc), as well as any accounts that you do not want to be propagated to the NIS clients (for example - root and any other UID 0 (superuser) accounts). + root and any other UID 0 (superuser) accounts). Make sure the /var/yp/master.passwd is neither group @@ -3413,7 +3413,7 @@ lrwxr-xr-x 1 root wheel 14 Nov 8 14:27 libscrypt.so@ -> libscrypt.so.2 you should be warned that bpf is also the device that allows packet sniffers to work correctly (although they still have to be run as - root). bpf + root). bpf is required to use DHCP, but if you are very sensitive about security, you probably should not add bpf to your @@ -4478,7 +4478,7 @@ www IN CNAME @ following checklist, it is assumed that the path to the sandbox is /etc/namedb and that you have made no prior modifications to the contents of this directory. Perform - the following steps as root. + the following steps as root. @@ -5832,7 +5832,7 @@ lp0: TCP/IP capable interface both computers. Configure the network interface parameters for lp0 on both - sites as root. For example, if you want connect the host host1 + sites as root. For example, if you want connect the host host1 with host2 host1 <-----> host2 diff --git a/en_US.ISO8859-1/books/handbook/backups/chapter.sgml b/en_US.ISO8859-1/books/handbook/backups/chapter.sgml index ae956cdb6e..95cc00512d 100644 --- a/en_US.ISO8859-1/books/handbook/backups/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/backups/chapter.sgml @@ -793,7 +793,7 @@ echo "The floppy has been unmounted and is now ready."]]> floppies. To backup all the files in the current directory and sub-directory - use this (as root): + use this (as root): &prompt.root; tar Mcvf /dev/fd0 * diff --git a/en_US.ISO8859-1/books/handbook/boot/chapter.sgml b/en_US.ISO8859-1/books/handbook/boot/chapter.sgml index fbd614d75e..fc145cc8fc 100644 --- a/en_US.ISO8859-1/books/handbook/boot/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/boot/chapter.sgml @@ -607,7 +607,7 @@ boot: If the system console is set to insecure in /etc/ttys, then the system prompts for - the root password before initiating single-user mode. + the root password before initiating single-user mode. An Insecure Console in /etc/ttys @@ -623,7 +623,7 @@ console none unknown off insecure An insecure console means that you consider your physical security to the console to be insecure, and want to make sure only someone who knows the - root password may use single-user mode, and it does not + root password may use single-user mode, and it does not mean that you want to run your console insecurely. Thus, if you want security, choose insecure, not secure. diff --git a/en_US.ISO8859-1/books/handbook/config/chapter.sgml b/en_US.ISO8859-1/books/handbook/config/chapter.sgml index a37c473525..c608dc44c5 100644 --- a/en_US.ISO8859-1/books/handbook/config/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/config/chapter.sgml @@ -381,7 +381,7 @@ exit 0 The startup scripts of FreeBSD will look in /usr/local/etc/rc.d for scripts that have an - .sh extension and are executable by root. Those + .sh extension and are executable by root. Those scripts that are found are called with an option at startup, and at shutdown to allow them to carry out their purpose. So if you wanted the above sample script to be diff --git a/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.sgml b/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.sgml index 45be67436f..987a58b026 100644 --- a/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/cutting-edge/chapter.sgml @@ -1786,7 +1786,7 @@ Building everything.. then set up /etc/make.conf properly to share distfiles. You should set DISTDIR to a common shared directory that is writable by whichever user - root is mapped to by your NFS mounts. Each + root is mapped to by your NFS mounts. Each machine should set WRKDIRPREFIX to a local build directory. Finally, if you are going to be building and distributing packages, you should set diff --git a/en_US.ISO8859-1/books/handbook/install/chapter.sgml b/en_US.ISO8859-1/books/handbook/install/chapter.sgml index 2e3648368a..635ca68857 100644 --- a/en_US.ISO8859-1/books/handbook/install/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/install/chapter.sgml @@ -4096,9 +4096,9 @@ when you've finished. Add User/Groups You should add at least one user during the installation so - that you can use the system without being logged in as root. The + that you can use the system without being logged in as root. The root partition is generally small and running applications as - root can quickly fill it. A bigger danger is noted below: + root can quickly fill it. A bigger danger is noted below: User Confirmation Requested Would you like to add any initial user accounts to the system? Adding @@ -4218,7 +4218,7 @@ when you've finished. login. The user was also added to the group wheel to be able to - become a superuser with root privileges. + become a superuser with root privileges. When you are satisfied, press &gui.ok; and the User and Group Management menu will redisplay. @@ -4254,7 +4254,7 @@ when you've finished. [ Press enter to continue ] - Press Enter to set the root password. + Press Enter to set the root password. The password will need to be typed in twice correctly. Needless to say, make sure you have a way of finding @@ -4332,7 +4332,7 @@ when you've finished. dmesg at the prompt. Login using the username/password you set during installation - (rpratt, in this example). Avoid logging in as root except when + (rpratt, in this example). Avoid logging in as root except when necessary. Typical boot messages: @@ -4506,8 +4506,8 @@ Password: It is important to properly shutdown the operating system. Do not just turn off power. First, become a superuser by typing su at the command line and entering the - root password. This will work only if the user is a member of the - group wheel. Otherwise, login as root and use + root password. This will work only if the user is a member of the + group wheel. Otherwise, login as root and use shutdown -h now. The operating system has halted. diff --git a/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml b/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml index 1b9792845b..ee5d548b31 100644 --- a/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/linuxemu/chapter.sgml @@ -209,7 +209,7 @@ Id Refs Address Size Name libraries? How do you know which shared libraries Linux binaries need, and where to get them? Basically, there are 2 possibilities (when following these instructions you will need - to be root on your FreeBSD system). + to be root on your FreeBSD system). If you have access to a Linux system, see what shared libraries the application needs, and copy them to your FreeBSD @@ -1261,7 +1261,7 @@ DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile <command>make world</command> and a New Kernel The first thing to do is to install the sources. - As user root, do the following: + As user root, do the following: &prompt.root; cd /usr/src &prompt.root; make world @@ -1314,7 +1314,7 @@ DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile Installing Linux Base-system - First the Linux base-system needs to be installed (as root): + First the Linux base-system needs to be installed (as root): &prompt.root; cd /usr/ports/emulators/linux_base &prompt.root; make package @@ -1706,7 +1706,7 @@ options SEMUME=100 #number of UNDO keys &prompt.root; export LD_LIBRARY_PATH=/oracle/IDS/lib:/sapmnt/IDS/exe:/oracle/805_32/lib - Start R3SETUP as user root from installation + Start R3SETUP as user root from installation directory: &prompt.root; cd /oracle/IDS/sapreorg/install diff --git a/en_US.ISO8859-1/books/handbook/mail/chapter.sgml b/en_US.ISO8859-1/books/handbook/mail/chapter.sgml index 6db2c8383d..66b0c46a65 100644 --- a/en_US.ISO8859-1/books/handbook/mail/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/mail/chapter.sgml @@ -599,7 +599,7 @@ postmaster@example.com postmaster@noc.example.net Add a script to /usr/local/etc/rc.d/ that ends in .sh and is executable by - root. The script should also accept the parameters 'start' + root. The script should also accept the parameters 'start' and 'stop'. So that you could, for example, execute /usr/local/etc/rc.d/supermailer.sh start or /usr/local/etc/rc.d/supermailer.sh stop. diff --git a/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml b/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml index decaef10ca..a699bb810d 100644 --- a/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/mirrors/chapter.sgml @@ -2125,7 +2125,7 @@ doc/zh_TW.Big5 directory status files untouched when run this way. The new versions of those files will be written into the specified directory. As long as you have read access to - /usr/src, you do not even need to be root + /usr/src, you do not even need to be root to perform this kind of trial run. If you are not running X11 or if you just do not like GUIs, diff --git a/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml b/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml index cf6f8bea15..6808cc35cf 100644 --- a/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/multimedia/chapter.sgml @@ -236,7 +236,7 @@ pcm0: <SB16 DSP 4.11> on sbc0 If the previous command returned pcm0, you will have to run the - following as root: + following as root: &prompt.root; cd /dev &prompt.root; sh MAKEDEV snd0 diff --git a/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml b/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml index 4d848fd512..0595dbc2f1 100644 --- a/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/ppp-and-slip/chapter.sgml @@ -2003,7 +2003,7 @@ name_of_service_provider: Running <application>PPP</application> - As root, you can run: + As root, you can run: &prompt.root; ppp -ddial name_of_service_provider @@ -2378,7 +2378,7 @@ output ***\x0d, echo \x0aCONNECTED\x0a Ctrl z - ) and as root, type: + ) and as root, type: &prompt.root; slattach -h -c -s 115200 /dev/modem diff --git a/en_US.ISO8859-1/books/handbook/printing/chapter.sgml b/en_US.ISO8859-1/books/handbook/printing/chapter.sgml index 089573d7f3..c5e1a1869f 100644 --- a/en_US.ISO8859-1/books/handbook/printing/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/printing/chapter.sgml @@ -514,8 +514,8 @@ sio2: type 16550A - Become root with the &man.su.1; command. Enter the - root password when prompted. + Become root with the &man.su.1; command. Enter the + root password when prompted. @@ -706,7 +706,7 @@ showpage - Become root with &man.su.1;. + Become root with &man.su.1;. @@ -771,7 +771,7 @@ showpage - Become root with &man.su.1;. + Become root with &man.su.1;. @@ -3293,7 +3293,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\ to have access to a printer in a certain group, and then name that group in the rg capability. - Users outside the group (including root) will be greeted with + Users outside the group (including root) will be greeted with lpr: Not a member of the restricted group @@ -4378,14 +4378,14 @@ cfA013rose dequeued printer is started or the queue is cleared. - If a queue is disabled, no user (except root) + If a queue is disabled, no user (except root) can submit jobs for the printer. An enabled queue allows jobs to be submitted. A printer can be started for a disabled queue, in which case it will continue to print jobs in the queue until the queue is empty. - In general, you have to have root privileges to use the + In general, you have to have root privileges to use the &man.lpc.8; command. Ordinary users can use the &man.lpc.8; command to get printer status and to restart a hung printer only. @@ -4428,12 +4428,12 @@ cfA013rose dequeued Disable queuing of new jobs. If the printer is running, it will continue to print any jobs remaining in the queue. The - superuser (root) can always submit jobs, even to a disabled + superuser (root) can always submit jobs, even to a disabled queue. This command is useful while you are testing a new printer or filter installation: disable the queue and submit jobs as - root. Other users will not be able to submit jobs until you + root. Other users will not be able to submit jobs until you complete your testing and re-enable the queue with the enable command. diff --git a/en_US.ISO8859-1/books/handbook/serialcomms/chapter.sgml b/en_US.ISO8859-1/books/handbook/serialcomms/chapter.sgml index 176bfdcc29..339cf3a06f 100644 --- a/en_US.ISO8859-1/books/handbook/serialcomms/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/serialcomms/chapter.sgml @@ -1642,7 +1642,7 @@ AT&B2&W &prompt.root; cd /dev &prompt.root; sh MAKEDEV cuaa0 - Or use cu as root with the following + Or use cu as root with the following command: &prompt.root; cu -lline -sspeed diff --git a/en_US.ISO8859-1/books/handbook/sound/chapter.sgml b/en_US.ISO8859-1/books/handbook/sound/chapter.sgml index cf6f8bea15..6808cc35cf 100644 --- a/en_US.ISO8859-1/books/handbook/sound/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/sound/chapter.sgml @@ -236,7 +236,7 @@ pcm0: <SB16 DSP 4.11> on sbc0 If the previous command returned pcm0, you will have to run the - following as root: + following as root: &prompt.root; cd /dev &prompt.root; sh MAKEDEV snd0