how to manage a multi user server on linux?

Posted by user1175942 on Server Fault See other posts from Server Fault or by user1175942
Published on 2012-10-15T18:22:44Z Indexed on 2012/10/15 21:40 UTC
Read the original article Hit count: 134

Filed under:

I'm working on a university project, where I have Tomcat as a web server, and I want to create a multi user environment on top of linux, so every user that logs into my website has his own credentials, and he can access only his own data (files and folders...).

The main issue is that the purpose of the website is executing code on the server-side, so I must have a good (reasonable) protection against malicious code. (a user destroying his own user is fine by me)

I thought that defining a linux-user for every website-user is the best solution - it isolates each user from the other, and I can define each one's permissions.

Can I create users in linux using shell commands? Can I configure max quota/memory/cpu for a user?

Anyone has another idea for managing that kind of multi-user environment?

© Server Fault or respective owner

Related posts about linux