Solved

give linux access to student

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to use question mark (?) in filename with html 25 134
Linux FTP Error 5 58
rsyslog raw message 4 60
Linux kernel panic ext3-fs error 14 75
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses

734 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