summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-01-20 18:11:23 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-01-20 18:11:23 +0100
commit9cd01b560b8e857c2f076d4fe96630c5890959fa (patch)
tree32241fe5cb094180e75bfd76bd694ddcb92dd7a5
parentca2633a50f54a8a37fb07112185ed1a4a5b1cc30 (diff)
downloadcwrap_website-9cd01b560b8e857c2f076d4fe96630c5890959fa.tar.gz
cwrap_website-9cd01b560b8e857c2f076d4fe96630c5890959fa.tar.xz
cwrap_website-9cd01b560b8e857c2f076d4fe96630c5890959fa.zip
uid_wrapper: Extend the example a bit to make it more clear.
-rw-r--r--uid_wrapper.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/uid_wrapper.html b/uid_wrapper.html
index 6d1721d..e806133 100644
--- a/uid_wrapper.html
+++ b/uid_wrapper.html
@@ -69,8 +69,10 @@
</ul>
<h2>Example</h2>
-<pre>$ LD_PRELOAD=libuid_wrapper.so UID_WRAPPER=1 UID_WRAPPER_ROOT=1 id
-uid=0(root) gid=0(root) groups=100(users),0(root)</pre>
+<pre>$ id
+uid=1000(asn) gid=100(users) groups=100(users),478(docker)
+$ LD_PRELOAD=libuid_wrapper.so UID_WRAPPER=1 UID_WRAPPER_ROOT=1 id
+uid=0(root) gid=0(root) groups=0(root)</pre>
</div> <!-- /col -->
</div>