Add "-" to ulimit type

Just edited pam_types to add the '-', as explained in man 5 limits.conf
reviewable/pr18780/r1
Sebastien ROHAUT 10 years ago
parent 4c22ee75b1
commit 9cb97b2898

@ -95,7 +95,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_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 = '/etc/security/limits.conf' limits_conf = '/etc/security/limits.conf'

Loading…
Cancel
Save