LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-28-2010, 11:05 AM   #1
pankajd
Member
 
Registered: Oct 2008
Posts: 54

Rep: Reputation: 15
pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'soft'


hi,
my secure log is flooding with these messages..
sudo: pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'hard'
Dec 28 22:42:29 yn54 sudo: pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'soft'
Dec 28 22:42:29 yn54 sudo: pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'hard'
following is
 
Old 12-28-2010, 11:31 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Open up /etc/security/limits.conf. There will be mentions of "unlimited" which, according to the log message, are invalid. Change them from "unlimited".

I am not sure what the numerical equivalent of "unlimited" is here and the man page doesn't say. Try -1, or try a very large number.
 
Old 12-28-2010, 09:12 PM   #3
pankajd
Member
 
Registered: Oct 2008
Posts: 54

Original Poster
Rep: Reputation: 15
thanks..ut which record is causimg this?
 
Old 12-28-2010, 09:59 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Guessing the uncommented one(s) that say "unlimited".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH concurrent session limit and idle session time out lasygsd Linux - Newbie 3 10-30-2014 07:56 AM
Calculate soft limit & hard limit for quotas kennyghh SUSE / openSUSE 4 03-03-2011 12:49 PM
core dump file size exceeds limit with ulimit -f unlimited. initpidzero Linux - Software 0 07-28-2009 02:08 AM
sending mail when quota crosses soft limit nics Linux - Software 2 05-19-2007 09:30 PM
Purpose of setting a soft limit ? vmniza Linux - General 1 03-11-2004 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration