I have a problem (I tried to find similar topics without results).
My server:
Disks (soft raid 1) - 3TB
128G RAM
1 Problem
I have a package for example 10G in Directadmin and I just created user with this.
user A - 10G
ssh access
cagefs
When I log into the user accont I see:
[test@h1 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 64G 7.7G 53G 13% /
/dev/md3 3T 4.9G 3T 1% /tmp
tmpfs 63G 908K 63G 1% /run/dbus
tmpfs 63G 0 63G 0% /dev/shm
from root: quota -v test
Disk quotas for user test (uid 1006):
Filesystem blocks quota limit grace files quota limit grace
/dev/md1 84 0 0 23 0 0
/dev/md3 148 10485760 11534336 99 1000000 1100000
Why user can see whole of diskspace? I mean 3TB of whole disk if is jailed in cagefs and has correct quota?
2 Problem
user can see whole of available and taken RAM
[test@h1 ~]$ free -m
total used free shared buff/cache available
Mem: 128580 1773 118818 8 7987 125579
Swap: 0 0 0
Is it possible to hide whole available ram from user?
My server:
Disks (soft raid 1) - 3TB
128G RAM
1 Problem
I have a package for example 10G in Directadmin and I just created user with this.
user A - 10G
ssh access
cagefs
When I log into the user accont I see:
[test@h1 ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 64G 7.7G 53G 13% /
/dev/md3 3T 4.9G 3T 1% /tmp
tmpfs 63G 908K 63G 1% /run/dbus
tmpfs 63G 0 63G 0% /dev/shm
from root: quota -v test
Disk quotas for user test (uid 1006):
Filesystem blocks quota limit grace files quota limit grace
/dev/md1 84 0 0 23 0 0
/dev/md3 148 10485760 11534336 99 1000000 1100000
Why user can see whole of diskspace? I mean 3TB of whole disk if is jailed in cagefs and has correct quota?
2 Problem
user can see whole of available and taken RAM
[test@h1 ~]$ free -m
total used free shared buff/cache available
Mem: 128580 1773 118818 8 7987 125579
Swap: 0 0 0
Is it possible to hide whole available ram from user?
Comment