Skip to content

Commit

Permalink
Started with content for sudo examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sounix000 authored and jfaltenbacher committed May 22, 2023
1 parent 8b52634 commit 9322810
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions DC-sudo-run-commands-as-superuser
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ PROFOS="generic"
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
FALLBACK_STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2021-ns"

DOCBOOK5_RNG_URI="urn:x-suse:rng:v2:geekodoc-flat"

14 changes: 8 additions & 6 deletions references/sudo-commands.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,20 @@
xmlns:trans="http://docbook.org/ns/transclusion">
<title>Common &sudo; commands</title>
<info>
<meta name="maintainer" content="Julia Faltenbacher"/>
<meta name="maintainer" content="Souvik Sarkar"/>
</info>
<section xml:id="reference-sudo-common-commands">
<title>Common &sudo; commands</title>
<para>
A paragraph of text.
</para>
<para>
First pull request; to be removed.
By adding &sudo; before any command, you can run commands with elevated
permissions. In addition, you can run commands as another user and use
their environment variables. Using &sudo; helps you accomplish system
administration tasks without logging in as root. This section provides
examples of some common commands that often require administrative
privileges.
</para>
<variablelist>
<title>A title</title>
<title>Switching to another user</title>
<varlistentry>
<term><command>a-command --with-options</command></term>
<listitem>
Expand Down

0 comments on commit 9322810

Please sign in to comment.