Hi,
I want to be able to enable compiler access for a user when a specific program is called. So want I want to happen is something like this:
- user logs on through SSH
- runs command 'bundle install'
- before the bundle command is run compiler access is enabled for the user
- after the bundle command has finished running compiler access is disabled for the user
This process needs to be transparent to the user if possible.
I have toyed with the idea of writing a wrapper script that replaced bundle, this script is responsible for enabling and disabling compiler access. I've had trouble getting this to work as obviously the user running the program doesn't have permission to give themselves compiler access.
Any bright ideas? Thanks
I want to be able to enable compiler access for a user when a specific program is called. So want I want to happen is something like this:
- user logs on through SSH
- runs command 'bundle install'
- before the bundle command is run compiler access is enabled for the user
- after the bundle command has finished running compiler access is disabled for the user
This process needs to be transparent to the user if possible.
I have toyed with the idea of writing a wrapper script that replaced bundle, this script is responsible for enabling and disabling compiler access. I've had trouble getting this to work as obviously the user running the program doesn't have permission to give themselves compiler access.
Any bright ideas? Thanks