🍹Early to RISA 🧉M to [email protected] • 5 days agoAnon sets up a prank at schoolsh.itjust.worksimagemessage-square78fedilinkarrow-up1700arrow-down113
arrow-up1687arrow-down1imageAnon sets up a prank at schoolsh.itjust.works🍹Early to RISA 🧉M to [email protected] • 5 days agomessage-square78fedilink
minus-square@[email protected]linkfedilink2•4 days agoHuh. I never made that connection before. I always thought ulimit was to prevent excessive disk writes or something
minus-squareoptionallinkfedilink1•4 days agoulimit -H -u 10 will (hard)limit the current process (the shell) to 10 subprocesses. You can also use it to limit the number of open files etc. To globally configure that for a user/group you’d use /etc/security/limits.conf instead. If you want to prevent users from filling up the disk, take a look into quota.
Huh. I never made that connection before. I always thought ulimit was to prevent excessive disk writes or something
ulimit -H -u 10
will (hard)limit the current process (the shell) to 10 subprocesses. You can also use it to limit the number of open files etc.To globally configure that for a user/group you’d use
/etc/security/limits.conf
instead.If you want to prevent users from filling up the disk, take a look into quota.