Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 150491
Collapse All | Expand All

(-)../fr/security/shb-perms.xml (-8 / +5 lines)
Lines 4-11 Link Here
4
4
5
<sections>
5
<sections>
6
6
7
<version>1.0</version>
7
<version>1.1</version>
8
<date>2005-05-31</date>
8
<date>2006-09-16</date>
9
9
10
<section>
10
<section>
11
<title>Lecture pour tous</title>
11
<title>Lecture pour tous</title>
Lines 28-37 Link Here
28
<body>
28
<body>
29
29
30
<pre caption="Trouver des fichiers et répertoires accessibles en écriture pour tous">
30
<pre caption="Trouver des fichiers et répertoires accessibles en écriture pour tous">
31
# <i>/usr/bin/find / -type f \( -perm -2 -o -perm -20 \) \
31
# <i>find / -type f \( -perm -2 -o -perm -20 \) \ -exec ls -lg {} \; 2>/dev/null >writable.txt</i>
32
   -exec ls -lg {} \; 2>/dev/null >writable.txt</i>
32
# <i>find / -type d \( -perm -2 -o -perm -20 \) \ -exec ls -ldg {} \; 2>/dev/null >>writable.txt</i>
33
# <i>/usr/bin/find / -type d \( -perm -2 -o -perm -20 \) \
34
   -exec ls -ldg {} \; 2>/dev/null >>writable.txt</i>
35
</pre>
33
</pre>
36
34
37
<p>
35
<p>
Lines 64-71 Link Here
64
</p>
62
</p>
65
63
66
<pre caption="Trouver des fichiers setuid">
64
<pre caption="Trouver des fichiers setuid">
67
# <i>/usr/bin/find / -type f \( -perm -004000 -o -perm -002000 \) \
65
# <i>find / -type f \( -perm -004000 -o -perm -002000 \) \ -exec ls -lg {} \; 2>/dev/null >suidfiles.txt</i>
68
  -exec ls -lg {} \; 2>/dev/null >suidfiles.txt</i>
69
</pre>
66
</pre>
70
67
71
<p>
68
<p>

Return to bug 150491