LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'soft' (http://www.linuxquestions.org/questions/linux-software-2/pam_limits-sudo-session-wrong-limit-value-%27unlimited%27-for-limit-type-%27soft%27-852835/)

pankajd 12-28-2010 11:05 AM

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

AlucardZero 12-28-2010 11:31 AM

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.

pankajd 12-28-2010 09:12 PM

thanks..ut which record is causimg this?

AlucardZero 12-28-2010 09:59 PM

Guessing the uncommented one(s) that say "unlimited".


All times are GMT -5. The time now is 09:24 PM.