Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run as a restricted user #65

Open
kadirovazizbek opened this issue Jul 13, 2017 · 0 comments
Open

Cannot run as a restricted user #65

kadirovazizbek opened this issue Jul 13, 2017 · 0 comments

Comments

@kadirovazizbek
Copy link

I tried to follow Security steps and created restricted_user using adduser command, set password for it, added necessary lines to sudoers file. Then I commented and uncommented necessary lines. Now when I submit code, it says "Runtime error". As I see, restricted user has no permissions to create log directories and files. I tried to run "sudo -u restricted_user mkdir log" in my "assignments/assignment_8/p1/admin" directory, and got "Permission denied" error. My assignments and tester folders are located in /var/www/acm****/private/ directory. I tried to move them to web root, but no success, the same error.
What steps I missed? Maybe i have to make restricted_user a root?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant