1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Greetings, |
5 |
|
6 |
I'm not filing a bug but writing here, because i think that this case |
7 |
needs policy change and some discussion in the team before that as it |
8 |
will lead to really lots of fixing in our docs. |
9 |
|
10 |
Now situation looks really strange. We encourage users not to use root |
11 |
account in security docs, but all over our place, in every code |
12 |
listing, we have root prompt ("#") which suggests users to use that |
13 |
account to perform all the actions. |
14 |
|
15 |
My idea is that we should use "$" - user prompt - whereever command can |
16 |
be or should be run as normal user. |
17 |
|
18 |
Example? |
19 |
|
20 |
http://www.gentoo.org/proj/en/gdp/doc/doc-tipsntricks.xml: |
21 |
|
22 |
# wget http://www.gentoo.org/dyn/doc-snapshots/docs-latest-en.tar.bz2 |
23 |
|
24 |
Why we should download it as root? Why not just: |
25 |
|
26 |
$ wget http://www.gentoo.org/dyn/doc-snapshots/docs-latest-en.tar.bz2? |
27 |
|
28 |
For me, it could reduce bad behaviour of doing simple commands as root, |
29 |
which is not needed and should be avoided as much as possible. |
30 |
|
31 |
Of course i know that when all our docs contain such prompts, fixing it |
32 |
would cost lots of resources and can accept if you refuse due to that. |
33 |
|
34 |
I also know that users don't have to be informed what those strange |
35 |
prompt signs (#, $) mean, but that can be easily solved with small note |
36 |
in index.xml files. |
37 |
|
38 |
I'm waiting for your opinions. |
39 |
|
40 |
with kind regards, |
41 |
|
42 |
£ukasz Damentko |
43 |
|
44 |
(who bought many extra fingers already) |
45 |
-----BEGIN PGP SIGNATURE----- |
46 |
Version: GnuPG v1.4.2 (GNU/Linux) |
47 |
|
48 |
iD8DBQFDHYuK8rb4OBjOeLMRAo/DAJ9++5fJLIGR02IKH0aH0f91RzEG3QCfUrD0 |
49 |
+m1wLfxNN11FYleh9Rd+998= |
50 |
=D2Pn |
51 |
-----END PGP SIGNATURE----- |
52 |
-- |
53 |
gentoo-doc@g.o mailing list |