www.gradient.sunynassau.edu
Faculty Information Page
gradient.sunynassau.edu
by R. Glass

Last modified:
See also: Quick Reference Page for gradient.sunynassau.edu
gradient.sunynassau.edu is the UNIX server that will be used for students in their course work. This server will support courses that require: This document contains the technical information for access by faculty and students having accounts on this system.

Table of Contents

Student Accounts and General Information

Depending on the course requirements, students will have the following configuration in terms of: All features outlined below will be available from the Learning Centers and over the Internet for those students who use a third party Internet Service Provider (Example: Erols, AOL, etc) from their home or offices.

Table of Contents

Email

For all courses / students requiring either e-mail access or web page, the students will be assigned an e-mail address and an account on this system. Students will have an account name of the form:
aaaNNNN
where aaa is the first three letters of their last name and NNNN is the last four digits of their social security number.
Their e-mail address is:
aaaNNNN@gradient.sunynassau.edu
They access their mail via Netscape (pop).

Table of Contents

UNIX Shell Access

For courses that require shell access, a standard UNIX account has been provided and can be accessed via a Telnet program (such that is available with Windows 95) from the laboratories or the Internet.
The home directory for the student is:
/export/home/students/aaaNNNN

Students with shell accounts can choose to read their mail using one of several UNIX mail programs instead of Netscape. Pine is currently available.

For students without shell access, a 'login program' (not really a shell or login program) has been provided that will allow them to:

  1. Change their password.
  2. Set a e-mail forwarding address.
  3. Remove an e-mail forwarding address.
These options appear automatically whenever a student Telnet into gradient.sunynassau.edu.

All students have the capability to forward their mail to another Internet account. This is accomplished by placing a file call .forward in their home directory. This file contains the e-mail address(es) of where they wish the mail to forward to.

Table of Contents

Web pages

Student place their web pages on the server in the following directory:
/web/courses/tcNNNss/aaaNNN
where tcNNNss is the course. t is the time (d or e), c for cmp and ss is the section letters.
For example: D CMP 110 AA has the directory dc110aa.
The students can access their pages by the URL:
http://www.gradient.sunynassau.edu/courses/tcNNNss/aaaNNNN

Table of Contents

Course Account

For each course that requires web pages, a directory and an account for that course has been created. This allows the faculty member to control access to the student pages.

Each course tcNNNss is in fact a user/account on the system. The instructor uses this account to control access to the web pages for their course.

Table of Contents

URL Password

Access to student web pages has been password protected. Whenever someone attempts the access /~tcNNNsss/aaaNNNN they will be prompted for a username and password. Entering this username/password once will allow the browser to access any pages under the course and remains in effect until the user quits the browser. This prevents the casual browser (maybe there was a pun intended) from viewing the students directories.

The username for your course is is the course name (tcNNNss). The initial password will be given to you by the Learning Center staff. The password will be the same for all courses.

If you desire to change the password for your course, see Changing the URL Password

Table of Contents

Managing the Course Account and Student Web Directories.

Since the course account is in fact a user, it is capable of receiving e-mail, a telnet shell session, changing permissions on files it has access right to, etc some tailoring may be useful.

Table of Contents

CGI Access

For the courses that require CGI, a student CGI directory and access has been created. Students place their CGI programs in the directory:
/web/student-cgi-bin/tcNNNss/aaaNNNN
The URL for their CGI programs will be:
http://www.gradient.sunynassau.edu/student-cgi-bin/tcNNNss/aaaNNNN/program.pl
Much of the discussion for controlling access to the students web page directory applies to the student-cgi-bin directory with the exception that there is no .htaccess file or directory index listing.

Table of Contents

Pictorial Representation of Everything I Just Said.

A graphical view of everything I just said can be found at http://www.gradient.sunynassau.edu/Unix_Help/grapview.html

General Information

The information supplied here is general in nature and applicable to most systems.

Creating a Password Protected URL.

Several people have expressed an interest in password protecting a directory (URL). The ability to password protect a URL depends on whether the server configuration grants that access. For both Gradient and Polar, the server configuration allows this feature.
  1. Create a file called .htaccess (dot htaccess).
  2. In that file, place the following lines:
    AuthName some_name
    AuthType Basic
    AuthUserFile name_and_path_to_the_password_file
    <Limit GET POST>
    require valid-user
    </Limit>
    Note 1: I am not sure what the some_name is, but anything there seems to work. As far as I can determine, if you use the same some_name for several URL's then, the username/password is in effect for all the URLS with the same AuthName.
    Note 2: The name of the password file can be anything. Usually the name is .htpasswd (dot htpasswd).
  3. Place the .htaccess file in the directory you wish to be protected.
  4. You now need to create the password file .htpasswd and place the user names and password in it. You do that with the htpasswd command.
    Initially create the file and add a user by typing:
    htpasswd -c name_and_path_to_the_password_file username
  5. You can now add other user names or change passwords by leaving off the -c option (create option).
  6. Notes:
    1. The user will only have to enter the password once per browser session.
    2. The password in the .htpasswd file are encrypted.
    3. Make sure the web server can read both the .htpasswd and .htaccess file. The files should have the same permissions as those of your HTML pages.

Table of Contents


  • Graphical View of www.gradient.sunynassau.edu
  • Quick Reference Page for www.gradient.sunynassau.edu
  • www.gradient.sunynassau.edu
  • Department Home page.

    Page and graphics by R. Glass