mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Add "-" to ulimit type
Just edited pam_types to add the '-', as explained in man 5 limits.conf
This commit is contained in:
committed by
Matt Clay
parent
c62430b452
commit
1c76fb14bb
@@ -96,7 +96,7 @@ def main():
|
||||
|
||||
pam_items = [ 'core', 'data', 'fsize', 'memlock', 'nofile', 'rss', 'stack', 'cpu', 'nproc', 'as', 'maxlogins', 'maxsyslogins', 'priority', 'locks', 'sigpending', 'msgqueue', 'nice', 'rtprio', 'chroot' ]
|
||||
|
||||
pam_types = [ 'soft', 'hard' ]
|
||||
pam_types = [ 'soft', 'hard', '-' ]
|
||||
|
||||
limits_conf = '/home/slyce/limits.conf'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user