12

How much disk space is allocated in Ubuntu 12.04 if new user is added? I have 500GB completely allocated for Ubuntu. If a new user is added then how much disk space will be allocated for him?

Braiam
  • 67,791
  • 32
  • 179
  • 269
MaheshK
  • 133
  • 1
  • 9
  • By 'allocated' do you mean how much space is available for the user, or how much they initially use? There are answers for both meanings. – deltab Apr 02 '14 at 15:20

3 Answers3

17

There is no limitations by default. The new user can take all of free space unless you install special quota program. To install it in Ubuntu, you have to write in Terminal:

sudo apt-get install quota

There are plenty of tutorials on how to use quota in Linux around the Internet, just search "quota ubuntu". For quick start, you may use this tutorial.

Danatela
  • 13,243
  • 11
  • 45
  • 72
8

When a new user is created some KByte for his personal folder are allocated.

When the users uses his account some more space is used for config files, caches etc. Depending on the programs used and their settings (like browser cache size) this may grow into a few GByte.

Usually the biggest thing are the personal files a user stores in his account.

5

In a default Ubuntu install everything is installed into one big partition (after setting aside some for swap), so the system and all users will share the one big space.

There are no per-user limits by default except that regular users are not permitted any more space once 95% of the partition is filled. This leaves the remaining 5% usable only by system processes such as temporary files, logs etc. On a modern drive of multi-terabyte size this 5% is usually overkill and you can reduce this as described here although hopefully there is no need.

As mentioned in the other answer you can turn on quotas in Linux which does allow you to configure per-user quotas but I've found this to be quite complicated. There may be a graphical front-end that I'm not aware of that may make it easier.

thomasrutter
  • 36,774