New answers tagged limit
The fact that the login UID doesn't change after sudo or su is the whole point of a having login UID, separate from the real and effective UIDs. It's meant for logging purposes. Neither the login UID nor any other UID of a process has a direct impact on a process's limits or performance. Limits are set by the program that logs you in. After that, they are ...
What you want is in this answer and this answer The only thing I'll add is the -u user option for ps eg: ps -u <username> to search processes started by a user.
LVM is not overkill if you have 17 partitions. (IMHO) As for the partition limit, it just happens to be the default. Probably no one expected that many partitions on a device that used to have only a few megs. /usr/src/linux/Documentation/devices.txt: 179 block MMC block devices 0 = /dev/mmcblk0 First SD/MMC card ...
I am not familiar with jailkit so I am not sure about the exact details to implement this, but you could use sluice (http://kernel.ubuntu.com/~cking/sluice/) to rate limit the traffic. A simple solution could be to replace the rsync binary in the user chroot environment with a trivial shell script like: #!/bin/sh -e rsync "$@" | sluice ...
Sounds like user wouldn't voluntarily play nice and use --bwlimit each time they invoke rsync. --bwlimit=RATE limit socket I/O bandwidth iptables approach may be covered by this question+answer: serverfault.com: how can I limit per user bandwidth?
Top 50 recent answers are included