LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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: 45

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,647

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
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: 45

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,647

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Calculate soft limit & hard limit for quotas kennyghh Suse/Novell 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
SSH concurrent session limit and idle session time out lasygsd Linux - Newbie 2 04-21-2009 10:11 PM
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


All times are GMT -5. The time now is 08:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration