Toon posts:

Default quota's werken niet

Pagina: 1
Acties:

Verwijderd

Topicstarter
Op onze Red Hat Linux 7.3 machine heb ik quota's ingesteld zodat deze direct met het aanmaken van een user toegepast worden. Dit heb ik gedaan met Linuxconf en Webmin.

Als ik nu een gebruiker aanmaak krijgt hij niet de quota toegewezen, heeft iemand een idee waaraan het ligt :?

  • Seth4Chaos
  • Registratie: Maart 2001
  • Niet online

Seth4Chaos

that's me...

Heb je quota-support in je kernel gecompileerd?

Mistakes are proof that you are trying...


  • Steije
  • Registratie: Juni 2000
  • Laatst online: 06-07 10:53
Heb je aangegeven in /etc/fstab dat een partitie van quota's gebruik moet maken?

Some people manage by the book, even though they don't know who wrote the book or even what book.


Verwijderd

Topicstarter
Op donderdag 04 juli 2002 12:24 schreef Steije het volgende:
Heb je aangegeven in /etc/fstab dat een partitie van quota's gebruik moet maken?
Yip
Op donderdag 04 juli 2002 11:41 schreef Seth4Chaos het volgende:
Heb je quota-support in je kernel gecompileerd?
Yip

De quota's zelf werken wel, het gebeurt alleen niet automatisch bij het aanmaken van een nieuwe user.

Verwijderd

Heb je in /etc/adduser.conf een default quota user opgegeven?

Verwijderd

Op donderdag 04 juli 2002 13:08 schreef sharpe het volgende:
Heb je in /etc/adduser.conf een default quota user opgegeven?
Hoe ziet zo'n file eruit? :) Zou nl. wel makkelijk zijn :)

Verwijderd

Op donderdag 04 juli 2002 13:40 schreef CowMike het volgende:

[..]

Hoe ziet zo'n file eruit? :) Zou nl. wel makkelijk zijn :)
Onder debian gnu/linux ziet ie er als volgt uit:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# /etc/adduser.conf: `adduser' configuration.
# See adduser(8) and adduser.conf(5) for full documentation.

# The DSHELL variable specifies the default login shell on your
# system.
DSHELL=/bin/bash

# The DHOME variable specifies the directory containing users' home
# directories.
DHOME=/home

# If GROUPHOMES is "yes", then the home directories will be created as
# /home/groupname/user.
GROUPHOMES=no

# If LETTERHOMES is "yes", then the created home directories will have
# an extra directory - the first letter of the user name. For example:
# /home/u/user.
LETTERHOMES=no
# The SKEL variable specifies the directory containing "skeletal" user
# files; in other words, files such as a sample .profile that will be
# copied to the new user's home directory when it is created.
SKEL=/etc/skel

# FIRST_SYSTEM_UID to LAST_SYSTEM_UID inclusive is the range for UIDs
# for dynamically allocated administrative and system accounts.
FIRST_SYSTEM_UID=100
LAST_SYSTEM_UID=999
# FIRST_UID to LAST_UID inclusive is the range of UIDs of dynamically
# allocated user accounts.
FIRST_UID=1000
LAST_UID=29999

# The USERGROUPS variable can be either "yes" or "no".  If "yes" each
# created user will be given their own group to use as a default, and
# their home directories will be g+s.  If "no", each created user will
# be placed in the group whose gid is USERS_GID (see below).
# If USERGROUPS is "no", then USERS_GID should be the GID of the group
# `users' (or the equivalent group) on your system.
USERS_GID=100

# If QUOTAUSER is set, a default quota will be set from that user with
# `edquota -p QUOTAUSER newuser'
QUOTAUSER="pietje"
DIR_MODE=0755

Waarbij de quota instellingen van de user pietje als standaard voor elke nieuwe user zullen gelden.

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 23:10

deadinspace

The what goes where now?

Op donderdag 04 juli 2002 13:40 schreef CowMike het volgende:
Hoe ziet zo'n file eruit? :) Zou nl. wel makkelijk zijn :)
Als je adduser hebt zou je deze file ook moeten hebben.
Merk op dat adduser niet hetzelfde is als useradd (useradd is standaard tooltje, adduser is wat uitgebreider).

Verwijderd

Topicstarter
bedankt voor de replies maar het is op de een of andere manier al opgelost :)

linuxconf blijkt de quota's verkeerd om te zetten (blocks > inodes en inodes > blocks)

lekker lomp :D
Pagina: 1