unix shell scripting

hi experts,
i m a btech student......my mini project is making a secure unix shell which is intented to stop mal practice in educational environment...........in other words need to create a new shell in which commands like cp do not work....can anyone suggest me how to begin with it....refrence of book name would also be very greatful....

---------- Post updated at 07:51 AM ---------- Previous update was at 07:50 AM ----------

also can anyone suggest me how to draw its global architecture....ALSO CAN ANYONE PLEASE ARRANGE ME PDF OF UNIX ADMINISTRATION SYTEM 5 BY REBECCA THOMAS

The book you refer to is an antique (1989): Here is a listing from Amazon USA. It is also listed on Amazon UK.
http://www.amazon.com/Unix-Administration-Guide-System-V/dp/0139428895
Are you sure you have the right book?
We at unix.com cannot distribute copyright material.

Writing a new Shell is not trivial. What programming level have you reached?

If this is a course task you may find reading about the "chroot" command useful (but don't issue the command unless you know what you are doing).
Most main Shells come with a Restricted version. e.g. "rksh" is the restricted version of "ksh".

1 Like

SIR,
i have created a new shell.....now i m luking at various commands that can be restricted for the students during exams so that they dont use previously written programs,,,,....advice on better book names for this purpose would be of great help...thanks alot for ur reply....i almost have lost all hope of completing the project on time...:frowning:

Hello,

Per our forum rules, all users must write in English, use semi-formal or formal English language and style, and correct spelling errors.

The reason for this is that most software and operating systems are written in English and these are software related technical forums.

In addition, nearly 95% of all visitors to this site come here because they are referred by a search engine. In order for future searches on your post (with answers) to work well, you need to spell correctly!

So, as a benefit and courtesy to current and future knowledge seekers, please be careful with your language, check your spelling and correct your spelling errors. You might receive a forum infraction if you don't pay attention to this.

Also, do not write in cyberpunk or abbreviated chat style under any circumstances and do not use profanity. This is not a chat room, it is a formal knowledge base to serve you and everyone, of all ages and cultural backgrounds.

Thanks!

The UNIX and Linux Forums