[ale] user limits

Jim Kinney jim.kinney at gmail.com
Tue Oct 7 16:13:06 EDT 2008


Yep. However, a need to send the user notice of _why_ they can't open
that file using the file->open from OpenOffice is rearing it's head and
I see to existing mechanism that offers such a notice.

pam limit hit
 if $USER .xsession
 xmessage "foo is failing because bar"
 else console dump

On Tue, 2008-10-07 at 15:58 -0400, James Sumners wrote:
> I assume such signaling would be handled by the application that
> handles the user login. I recently wrote a PAM based login program and
> that is the way I understand how it works. Basically, whatever
> application handles the user login process must setup the user's
> environment and load the appropriate PAMs. Then, any processes that
> are started from that controlling application inherit the PAM
> environment that has been setup. So this controlling application will
> intercept any signals sent from PAM and handle them appropriately.
> 
> On Tue, Oct 7, 2008 at 3:35 PM, Jim Kinney <jim.kinney at gmail.com> wrote:
> > This is weird. Pam can block users from chewing up too many resources
> > but where does it output it's signaling? I can set a low limit on
> > noprocs and login and get a "Resource Temporarily Unavailable" message
> > on the console. But that's useless if it's a mouse click on a launcher
> > icon...
> >
> > On Tue, 2008-10-07 at 19:23 +0000, hbbs at comcast.net wrote:
> >> For what it's worth, this behavior is native to OpenVMS...it's just too bad that the OS is limited to Itanium and Itanium's future is...iffy.
> >>
> >> - Jeff
> 
> 
> 



More information about the Ale mailing list