Gentoo Archives: gentoo-commits

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/doc/it/security: shb-limits.xml
Date: Sun, 26 Feb 2012 15:07:41
Message-Id: 20120226150707.096A22004C@flycatcher.gentoo.org
1 swift 12/02/26 15:07:07
2
3 Modified: shb-limits.xml
4 Log:
5 Various IT translation updates (bug #405905)
6
7 Revision Changes Path
8 1.6 xml/htdocs/doc/it/security/shb-limits.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/it/security/shb-limits.xml?rev=1.6&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/it/security/shb-limits.xml?rev=1.6&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/it/security/shb-limits.xml?r1=1.5&r2=1.6
13
14 Index: shb-limits.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/it/security/shb-limits.xml,v
17 retrieving revision 1.5
18 retrieving revision 1.6
19 diff -u -r1.5 -r1.6
20 --- shb-limits.xml 3 May 2010 21:21:28 -0000 1.5
21 +++ shb-limits.xml 26 Feb 2012 15:07:06 -0000 1.6
22 @@ -1,5 +1,5 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/it/security/shb-limits.xml,v 1.5 2010/05/03 21:21:28 scen Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/it/security/shb-limits.xml,v 1.6 2012/02/26 15:07:06 swift Exp $ -->
26 <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
27
28 <!-- The content of this document is licensed under the CC-BY-SA license -->
29 @@ -7,8 +7,8 @@
30
31 <sections>
32
33 -<version>1.5</version>
34 -<date>2010-04-26</date>
35 +<version>3</version>
36 +<date>2011-11-15</date>
37
38 <section id="limits_conf">
39 <title>/etc/security/limits.conf</title>
40 @@ -78,16 +78,12 @@
41 <title>Quote</title>
42 <body>
43
44 -<warn>
45 -Assicurarsi che i filesystem con cui si lavora supportino le quote. Per usare
46 -le quote su ReiserFS, si deve patchare il kernel con le patch disponibili su
47 -<uri link=
48 -"ftp://ftp.namesys.com/pub/reiserfs-for-2.4/testing/quota-2.4.20">Namesys</uri>.
49 -Tools per l'utente sono disponibili sul sito del <uri link=
50 -"http://www.sf.net/projects/linuxquota/">progetto Linux DiskQuota</uri>. Anche
51 -se le quote funzionano con ReiserFS, incontrare problemi quando si cerca di
52 -usarle non è raro; gli utenti sono avvertiti!
53 -</warn>
54 +<impo>
55 +Controllare che il file system che si sta utilizzando supporti le quote.
56 +Strumenti per l'utente sono disponibili in <uri
57 +link = "http://www.sf.net/projects/linuxquota/">the Linux DiskQuota
58 +project</uri>.
59 +</impo>
60
61 <p>
62 Mettere le quote ad un filesystem restringe l'uso del disco ad un singolo utente
63 @@ -107,9 +103,9 @@
64 /dev/sda1 /boot ext2 noauto,noatime 1 1
65 /dev/sda2 none swap sw 0 0
66 /dev/sda3 / reiserfs notail,noatime 0 0
67 -/dev/sda4 /tmp ext3 noatime,nodev,nosuid,noexec,usrquota,grpquota 0 0
68 -/dev/sda5 /var ext3 noatime,nodev,usrquota,grpquota 0 0
69 -/dev/sda6 /home ext3 noatime,nodev,nosuid,usrquota,grpquota 0 0
70 +/dev/sda4 /tmp ext3 noatime,nodev,nosuid,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv=1 0 0
71 +/dev/sda5 /var ext3 noatime,nodev,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv1 0 0
72 +/dev/sda6 /home ext3 noatime,nodev,nosuid,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv1 0 0
73 /dev/sda7 /usr reiserfs notail,noatime,nodev,ro 0 0
74 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
75 proc /proc proc defaults 0 0
76 @@ -147,8 +143,11 @@
77 </pre>
78
79 <p>
80 -Adesso si configura il sistema in modo che controlli le quote una volta alla
81 -settimana, aggiungendo la seguente riga a <path>/etc/crontab</path>:
82 +Il kernel Linux tiene traccia dell'uso delle quote mentre il sistema lavora. Se
83 +per qualche ragione il file quota si rovina o si ritiene che i dati non siano
84 +corretti, bisogna portare il sistema in modalità single-user (o almeno
85 +assicurarsi non si verifichino scrutture nel file system) ed esemguire
86 +<c>quotacheck -avugm</c>.
87 </p>
88
89 <pre caption="Aggiungere il controllo delle quote a crontab">