Solved

give linux access to student

Posted on 2006-06-28
2
270 Views
Last Modified: 2013-12-16
We are going to give student access to linux server , create their account in server but still restricted
is there any tutorial or reference to do that (create mass account) but still secure . Since I don't want student mess up with system . let them playing with ssh to learn shell and access to database for learning SQL command.

thanks in advance
0
Comment
Question by:hendri2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 300 total points
ID: 17002018
Linux has fairly good access control to the files. You are probably OK, just giving them an account with their own directory, and file permissions. They can't alter any files outside of their own directory, unless you give them the necessary permissions.

For the database, you will need to create a database forthem to 'play' with, but nothing special - Just give them full access only to that database.


When they're finished delete user, delete home directory, and delete database.

Effectively, you don't need anything special - the operating system will take care of it, However, if you *REALLY* want to secure things, then consider creating a 'chroot' environment:

http://www.fuschlberger.net/programs/ssh-scp-chroot-jail/

Unfortunately, I think this is counter productive, as the enviroment is not particularly 'realistic'.

The ultimate approach for this is to give the student a whole machine to use - A virtual machine. Xen:

http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads.html

Provided you have enough memory and disc space you can give them each a complete virtual machine....and then delete it when they're finished.

(   (()
(`-' _\
 ''  ''
0
 
LVL 24

Assisted Solution

by:slyong
slyong earned 200 total points
ID: 17006419
Most modern Linux distribution are fine with the default setup security.  To batch process adding users, you can have a look at the script here: http://www.dfw.net/~scottvr/batchadd.pl
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question