Brian, others,
Thanks. Looking at this site, it has a number of useful scripts,
including instructions on how to do what I want. Basically, it updates
/etc/security/limits.conf with prologue and epilogue clauses.
Thanks
Frank
On Sun, 2003-11-23 at 06:39, Brian Barrett wrote:
> You probably don't want to /bin/false everyone on the compute nodes.
> Some thing will break if you do this. One solution I've seen that can
> work quite well is to use PAM to limit logins and such. Argonne has a
> web page full of PBS patches and setup guides. Might give you
> something useful:
>
> http://www-unix.mcs.anl.gov/openpbs/
>
> Brian
>
>
> On Nov 22, 2003, at 6:54 AM, Jeff Squyres wrote:
>
> > Note that LAM/MPI 7.x uses PBS's native job-launching mechanism (named
> > "TM") for starting parallel jobs -- not rsh/ssh. Hence, I *think*
> > that if
> > you set everyone's shell to /bin/false on the compute nodes (not root,
> > of
> > course!), LAM will still function properly.
> >
> > I say this with the strong disclaimer that I have not tested this.
> > Could
> > you give it a whirl with a user or two and see if it works for you?
> >
> >
> > On Thu, 20 Nov 2003, Bernard Li wrote:
> >
> >> I think it is important to educate the users that if they are running
> >> jobs outside of the batch system, it is going to hurt themselves since
> >> it slows down the efficiency of the system. Once you pound that into
> >> their head, hopefully they'll be wise enough NOT to do that.
> >>
> >> I suppose what you could do is to run some cron jobs on the nodes to
> >> kill off shells (depending on what system you use), but I am not 100%
> >> certain whether users will spawn shells to run jobs if they are
> >> distributed through the batch system.
> >>
> >> This is an interesting topic though, for sure :)
> >>
> >> Frank Crawford wrote:
> >>
> >>> Folks,
> >>> Does any one know or have some pointers to any simple methods to
> >>> stop
> >>> cluster users logging into the compute nodes? I want to restrict our
> >>> cluster users to submit all the work to the cluster via PBS.
> >
> > --
> > {+} Jeff Squyres
> > {+} [EMAIL PROTECTED]
> > {+} http://www.lam-mpi.org/
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive? Does it
> > help you create better code? SHARE THE LOVE, and help us help
> > YOU! Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Oscar-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/oscar-users
> >
--
ac3
Suite G16, Bay 7, Locomotive Workshop Phone: 02 9209 4600
Australian Technology Park Fax: 02 9209 4611
Eveleigh NSW 1430
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users