Specific Permissions For A Python Script
Posted 09 November 2012 - 02:39 PM
Everything works perfectly. The only problem is that script file can access other directories and mess with things. The script deals with only 2 files, "input" and "output". How can I make such thing? Any instructions?
Any help is much appreciated Thanks.
Posted 09 November 2012 - 02:43 PM
- Scott_S likes this
Posted 09 November 2012 - 03:52 PM
Edited by TheNavigator, 09 November 2012 - 03:53 PM.
Posted 10 November 2012 - 09:01 AM
The idea of someone being able to upload a script sounds dodgy, what exactly are you trying to do?
Posted 15 November 2012 - 08:09 AM
It's something very advanced and complicated (as reported by experts who are responsible for the informatic olympiads here. For me it wasn't that hard). An algorithm server.
Ever heard about Codeforces, TopCoder, USACO, Z-Training, etc. ? The international olympiad for informatics?
For your reply, that means I need to turn that "python script" into a service then. True?
Edited by TheNavigator, 15 November 2012 - 08:11 AM.
Posted 16 November 2012 - 06:48 AM
The user I use, although it's a sudoer, but without using sudo commands it can play with stuff, make files here and there, delete some files, etc.
How can I prevent this so the only directory the user can access is the one I specify it for him?
Posted 16 November 2012 - 09:54 AM
There is no simple one stop quick fix, it's just typical sys admin stuff. Can you be specific about where it is your stuck or what it is you don't understand?
Posted 01 December 2012 - 01:37 PM
I guess I need more experience :|
Posted 02 December 2012 - 12:30 PM
I know it's stupid, but I didn't know so because I rarely used a Linux system with multiple users
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users