P
P
Pinkman2020-10-22 21:46:28
linux
Pinkman, 2020-10-22 21:46:28

How to allocate disk space to a user?

Good evening! You need to allocate 5GB of space to the new user. Those. so that he has only 5GB for all his files. How can this be done in Ubuntu?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2020-10-22
@famousman204

Through quota. You can read it here: https://www.dmosk.ru/miniinstruktions.php?mini=quo...

Y
Yaroslav, 2020-10-22
@xenon

You can make (via dd) a file of the desired size, format it and mount it via mkfs. Give the user permissions to this file system. Iron will not go beyond its limits.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question