
Monday, October 23, 2017
Oneway to limit users is by using the ulimit command that is part of the shell.
Typically ulimit commands are placed in /etc/profile so that each user who logsin will execute the commands and set limits on himself. Therefore decide what limits to place on your users and put ulimit commands into /etc/profile.
The most ulimit options are...
- -a Displays all limits
- -c maximum core file size
- -f maximum file size
- -t maximum CPU time in sec
- -n maximum no of open files
- -u maximum no of processes
This example displays the users limit and then changes the maximum number of open files..
Gspace$ ulimit -a |grep open
Monday, October 23, 2017
Computer
kali linux
operating systems
0 Response to Restricting Users with ulimit in linux.
Comments are personally moderated by our team. Promotions are not encouraged.
Post a Comment