[Tfug] ssh and PAM problem

Jon tfug@tfug.org
Tue Dec 10 18:05:01 2002


John,

I'm not totally familiar with Pamd so I did some searching around. See if
this link helps at all.

http://groups.google.com/groups?q=setrlimit+limit+%237+to+soft%3D-1&hl=en&lr=lang_en&ie=UTF-8&selm=1038821150.19082.79.camel%40hosehead&rnum=3

Jon


On Tue, 10 Dec 2002, John Gruenenfelder wrote:

> One of my users is having trouble ssh'ing into the system.  It only seems to
> occur, however, from the UA's new computer lab in the library basement.  The
> user was finally able to give me a time, so I checked the logs and found:
>
> Dec 10 14:14:26 bach sshd[20520]: Accepted password for mugdha from
>  128.196.208.161 port 35566
> Dec 10 14:14:26 bach ssh(pam_unix)[20522]: session opened for user
>  mugdha by (uid=1005)
> Dec 10 14:14:26 bach pam_limits[20522]: setrlimit limit #6 to soft=-1,
>  hard=-1 failed: Operation not permitted; uid=1005 euid=1005
> Dec 10 14:14:26 bach pam_limits[20522]: setrlimit limit #7 to soft=-1,
>  hard=-1 failed: Operation not permitted; uid=1005 euid=1005
>
> The problem, near as I can tell, is an error with the pam_limits module.  The
> docs say the config file is /etc/security/limits.conf.  However, my config
> file has nothing set (just a bunch of comments and examples).
>
> I can ssh in from other machines in the lab, from home, from across the
> country... why are these machines different?  Any ideas?
>
>
> --
> --John Gruenenfelder    Research Assistant, Steward Observatory, U of Arizona
>                         johng@as.arizona.edu
> Try Weasel Reader for PalmOS  --  http://gutenpalm.sf.net
> "This is the most fun I've had without being drenched in the blood
> of my enemies!"
>         --Sam of Sam & Max
> _______________________________________________
> tfug mailing list
> tfug@tfug.org
> http://www.tfug.org/mailman/listinfo/tfug
>
>