Skip to content

Commit 0daec8d

Browse files
author
daobrien
committed
Clean up statement about using --force and --assumeyes.
1 parent 93563e7 commit 0daec8d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

en-US/Design.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,12 @@
260260
Avoid using the <option>--force (-f)</option> and <option>--assumeyes (-y)</option> options on most commands, especially when logged in as the <systemitem>root</systemitem> user. This can lead to unintended consequences, such as removing files or directories by mistake or installing packages or other software that may not suit your system. Refer to the following examples:
261261
</para>
262262

263-
<screen>[root@serverc pam.d]# rm -f system-auth password-auth (omit the -f)
264-
[root@serverc ~]# yum install -y new-package (omit the -y)
263+
<screen>[root@serverc pam.d]# rm -f system-auth password-auth
264+
[root@serverc ~]# yum install -y new-package
265265
</screen>
266+
<para>
267+
In the examples shown above, omit the <option>-f</option> and <option>-y</option> options, respectively.
268+
</para>
266269
<para>
267270
In some cases, such as in Ansible Playbooks or other automation scripts, it may be necessary to use these options.
268271
</para>

0 commit comments

Comments
 (0)