public inbox for gentoo-doc-pl@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Łukasz Damentko" <rane@gentoo.org>
To: gentoo-doc-pl@lists.gentoo.org
Subject: [gentoo-doc-pl] Why do we run all commands as root in docs?
Date: Tue, 6 Sep 2005 14:27:07 +0200	[thread overview]
Message-ID: <20050906142707.3d4efa19.rane@gentoo.org> (raw)

Greetings,

I'm not filing a bug but writing here, because i think that this case
needs policy change and some discussion in the team before that as it
will lead to really lots of fixing in our docs.

Now situation looks really strange. We encourage users not to use root
account in security docs, but all over our place, in every code
listing, we have root prompt ("#") which suggests users to use that
account to perform all the actions.

My idea is that we should use "$" - user prompt - whereever command can
be or should be run as normal user.

Example?

http://www.gentoo.org/proj/en/gdp/doc/doc-tipsntricks.xml:

# wget http://www.gentoo.org/dyn/doc-snapshots/docs-latest-en.tar.bz2

Why we should download it as root? Why not just:

$ wget http://www.gentoo.org/dyn/doc-snapshots/docs-latest-en.tar.bz2?

For me, it could reduce bad behaviour of doing simple commands as root,
which is not needed and should be avoided as much as possible.

Of course i know that when all our docs contain such prompts, fixing it
would cost lots of resources and can accept if you refuse due to that.

I also know that users don't have to be informed what those strange
prompt signs (#, $) mean, but that can be easily solved with small note
in index.xml files.

I'm waiting for your opinions. 

with kind regards,

Łukasz Damentko

(who bought many extra fingers already)

-- 
gentoo-doc-pl@gentoo.org mailing list



                 reply	other threads:[~2005-09-06 12:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050906142707.3d4efa19.rane@gentoo.org \
    --to=rane@gentoo.org \
    --cc=gentoo-doc-pl@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox