Hi Davide,

I was thinking of something like this. Would you mind sharing a modulefile with 
this group restriction?

Thanks


 <https://www.njit.edu/>        Glenn (Gedaliah) Wolosh, Ph.D.
Ass't Director Research Software and Cloud Computing
Advanced Research Computing Systems
[email protected] <mailto:[email protected]> • (973) 596-5437 <tel:(973) 596-5437>

A Top 100 National University
U.S. News & World Report






> On Apr 25, 2022, at 2:42 PM, Davide Vanzo <[email protected]> wrote:
> 
> Hi Glenn,
>  
> The way I solved this issue before was to have a dedicated POSIX group to 
> assign as secondary group to all the users you want to have access to the 
> software.
> You can then add the group name in the “group” easyconfig parameter to 
> instruct EasyBuild to change the group ownership of the installed software 
> accordingly.
> Additionally, I modified the generated modules to check if the user loading 
> the module for a restricted software belongs to the appropriate group. If 
> not, the environment variables are not set and an error message is printed on 
> the screen.
>  
> I hope this helps
>  
>  
> Davide Vanzo 
> HPC Architect 
> Azure Specialized Workloads 
> [email protected] <mailto:[email protected]> 
> 
> <image001.png> 
>  
>  
>  
> From: [email protected] <[email protected]> On 
> Behalf Of Glenn (Gedaliah) Wolosh
> Sent: Monday, April 25, 2022 12:44
> To: [email protected]
> Subject: [EXTERNAL] [easybuild] Limiting access to licensed software by 
> groups.
>  
> Hello,
>  
> Some licensed software for example VASP, CASTEP is licensed to research 
> groups. What is the best practice to limit access to these types of 
> installation to the licensed users. I could use /etc/groups and directory 
> permission but I'm not sure that is the best way to do it,
>  
>  
> 
>  
> <https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.njit.edu%2F&data=05%7C01%7Cdavide.vanzo%40microsoft.com%7C92d9b8fd4d344d3c103c08da26e7235f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637865071433716396%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Wl85u386emlIaVV8pO%2BlMolrjK4PxSwamRrFThO%2FO3Q%3D&reserved=0>
>     
> Glenn (Gedaliah) Wolosh, Ph.D.
> Ass't Director Research Software and Cloud Computing
> Advanced Research Computing Systems
> [email protected] <mailto:[email protected]> • (973) 596-5437 
> <tel:(973)%20596-5437>
> 
> A Top 100 National University
> U.S. News & World Report

Reply via email to