[slurm-dev] Re: Authentication and invoking slurm commands from web app

2014-10-02 Thread Brian B.
Hello Jose, It is never a good idea to have the public facing credentials be the same as the private credentials. That is if your public facing server is compromised your internal system is compromised. The limited cases where direct internal access are needed (e.g. SSH) should be handled by ha

[slurm-dev] Re: Authentication and invoking slurm commands from web app

2014-10-02 Thread José Román Bilbao Castro
Thanks Brian, So you propose to have something like an intermediate database that maps web portal users to system users and make all calls internally from the webserver, right?. I just wanted to avoid the intermediate step for simplicity, but it seems to be a bad practice. So, regarding the secon

[slurm-dev] Re: Authentication and invoking slurm commands from web app

2014-10-02 Thread José Román Bilbao Castro
Thanks Lech, That is something to start with. The problem is that I plan to add submission in the future and don't want to start something that will have to be changed too much with time. So I would prefer to be able to firstly execute any slurm command from my webserver and for any user... Regar

[slurm-dev] Re: Authentication and invoking slurm commands from web app

2014-10-02 Thread jette
Brigham Young University has developed a number of web interfaces to SLurm. See: https://marylou.byu.edu/documentation/slurm/script-generator https://marylou.byu.edu/utilization/ Their Javascript tool to generate batch job scripts is here: https://github.com/BYUHPC/BYUJobScriptGenerator Q

[slurm-dev] Re: Authentication and invoking slurm commands from web app

2014-10-02 Thread José Román Bilbao Castro
Nice !!, I think this gives a much more detailed insight into the problem I am facing !. Thanks a lot! 2014-10-02 15:51 GMT+02:00 : > > Brigham Young University has developed a number of web interfaces to > SLurm. See: > https://marylou.byu.edu/documentation/slurm/script-generator > https://mary

[slurm-dev] Re: Authentication and invoking slurm commands from web app

2014-10-02 Thread José Román Bilbao Castro
It seems I was to fast... They don't seem to have open-sourced code. In fact, they ask for specific Keys for each implementation so I suppose this is a closed project for their users only... :-( 2014-10-02 15:51 GMT+02:00 : > > Brigham Young University has developed a number of web interfaces to

[slurm-dev] Re: Authentication and invoking slurm commands from web app

2014-10-02 Thread Lech Nieroda
Lech (sent from mobile) Am 02.10.2014 14:38 schrieb =?ISO-8859-1?Q?Jos=E9_Rom=E1n_Bilbao_Castro?= : Re: [slurm-dev] Re: Authentication and invoking slurm commands from web app Thanks Brian,So you propose to have something like an intermediate database that maps web portal users to system users an

[slurm-dev] Re: Authentication and invoking slurm commands from web app

2014-10-02 Thread Ryan Cox
an take a long time to do it right. Ryan On 10/02/2014 08:20 AM, José Román Bilbao Castro wrote: Re: [slurm-dev] Re: Authentication and invoking slurm commands from web app It seems I was to fast... They don't seem to have open-sourced code. In fact, they ask for specific Keys for each

[slurm-dev] Re: Authentication and invoking slurm commands from web app

2014-10-02 Thread José Román Bilbao Castro
al task. You may want to look for existing solutions like those mentioned by Lech and others, though I haven't looked at those myself. Having done this ourselves, I know that it can take a long time to do it right. Ryan On 10/02/2014 08:20 AM, José Román Bilbao Castro wrote: Re: [slu