Solved

give linux access to student

Posted on 2006-06-28
2
265 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

756 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