|
Prospective Students
Current Students
|
Frequently Asked Questions
FAQ01: How do I get help if my question is not in this list?Ask an operator in the "ops" office (S-3-157) behind the window in the UNIX/PC Lab (S-3-158) or send an email to operator "at" cs.umb.edu or phone 617-287-6480. Operator hours are: Mon./Wed. 9am-8pm, Tue. 9am-5pm, Thu. 9am-9pm, Fri. 9am-6pm, Sat./Sun. 12noon-6pm. If you know your question is about campus-wide IT issues, send an email to helpdesk "at" umb.edu.Last modified: 2011-07-26 FAQ02: How do I get a UNIX account for my course?Run the Apply Procedure to get a UNIX account or add another course software. The Apply Procedure is what you use to initialize your UNIX account, give your user name and password, and specify what course you are using the account for. You should go through the Apply Procedure every time you take a new CS course (unless the CS professor is not using the course software). You keep your home directory and username for the duration of your studies here, but the Apply Program will give you a course directory, add you to the class mailing list, and give you persmission to use any other resources that you may need for each course. Some courses require a special server machine with unique capabilities (e.g., some database), and you should expect your instructor to tell you which one to use.
FAQ03: How do I get a PC account in the lab?In order for students to use the lab PCs, instructors have to inform the lab operator to set up PC accounts for their courses. With these accounts, students can log on using any of the lab PCs. They can customize their desktops and the settings will be saved in our server and loaded on any PC in the lab. Students are warned not to leave any files on the C: drive since they will be deleted without notice. The procedure to set up a PC account is as follows: 1. After the class group is formed, the lab operator will set up student accounts on the lab PCs for students in the group, using names that are the same as on UNIX. We will inform the instructor of a common default password for the class to use for their first login only. 2. During the first logon session, students will have to change their account's password to a good one of their own. From then on only their new password will work for them. 3. UNIX home directories and printers are shared to PCs using samba. 3.1. To get a samba account, students should see the operator on duty. You will type in your password yourself without having to disclose it. For harmony, your PC username will match your UNIX username, and the samba password you set will be the password you use to log in to your PC. [Windows caches those credentials and offers them automatically when it mounts shares from file servers. Thus, opening your UNIX home will not stop to make you type a username and password into a pop-up window.]FAQ04: How do I check my disk usage?1. You can check your disk usage with the du command. Seeman du.
The main thing to know is that the -s flag gives a Sum for a subtree
without showing every subdir in it.
2. It is very efficient to use the results of overnight du runs that
are stored.
The script ~operator/bin/DU mimics the du command, but uses the
output of the overnight du runs instead of walking the tree in real
time. It is a goof in perl; anyone who wants to copy and modify it to
do better is welcome to do so. Mail sysprog about it.
Recall that the file contents are static and only reflect the tree as
it was at 05:00 or so today.
FAQ05: How do I avoid trouble from disk quotas?Disk space is a perpetual problem. Nice users can run out of space because others use way too much disk. Therefore we impose disk quotas on student homes and mailboxes. Note that disk space is provided separately for CS courses and PhD research, so that stuff doesn't count against home usage. 1. HOMES All student homes must use less than 200 Mb of disk. All alumni homes must use less than 50 Mb of disk. The lab directors may refine their policy on quota values (up or down), at any time. 2. MAILBOXES All student mailboxes must use less than 2 Mb of disk. In the mail spool, we will impose on students a soft quota of 2 Mb, and a hard quota of 5 Mb. That means you will be warned if you go over 2 Mb, and that your mail will bounce if you go over 5 Mb. If necessary, ask an operator how to save mail under your home, or to your PC. 3. THE QUOTA MECHANISM There are two limits associated with each user, per filesystem: the soft limit and the hard limit. When usage exceeds the soft limit, you see messages to reduce usage. When usage exceeds the hard limit, you cannot write to your files. The system will not allow a user to exceed his or her hard limit. However, a system administrator may set a soft limit (sometimes referred to as a quota) which can be temporarily exceeded by the user. The soft limit must be less than the hard limit. Once the user exceeds the soft limit a timer begins. While the timer is ticking, the user is allowed to operate above the soft limit but cannot exceed the hard limit. Once the user goes below the soft limit, the timer gets reset. However, if the user's usage remains above the soft limit when the timer expires, the soft limit is enforced as a hard limit. By default, the softlimit timer is seven days. The value of the timer is shown by the timeleft field in the quota command. For example, let's say a user has a soft limit of 10,000 blocks and a hard limit of 12,000 blocks. If the user's block usage exceeds 10,000 blocks and the timer is also exceeded (more than seven days), the user will not be able to allocate more disk blocks on that file system until his or her usage drops below the soft limit You can check you quota status with the commandquota -v. Note that
the filesystem names will not exactly match the paths like
/home/username that you are used to seeing, because we use the
automounter. The relation between your home and which filesystem it
is in is declared in /etc/auto_home. If you are not sure ask an
operator.
4. REDUCING DISK SPACE USAGE
It is a big win to compress text files with gzip. See `man gzip`.
Also, you should be copying files out to your PC and burning your own
archive disks and such.
5. IF YOU ARE OVER QUOTA
At login time, before /etc/motd is displayed, you may see a message
from the quota command about being over and having to reduce your
usage by so much. You can see that any time by running the quota
command. If you are over your hard limit and cannot write into your
home or mailbox, recall that each host has a /tmp directory where you
can do scratch work. This can help you examine archives or compressed
files that you cannot uncompress in your home. Also recall that your
mailbox is an ordinary file, /usr/spool/mail/$USER that you can copy
from and to. Thank you for your cooperation towards fairness and
better service for all.
FAQ06: How do I log on to CS networks from off-site?Use ssh Version 2; connect to users.cs.umb.edu or whatever hosts you were told to use. We recommend the free PuTTY package, from http://www.puttyssh.org/.FAQ07: How do I transfer files to/from my PC?Use sftp, the secure version of the File Transfer Protocol. A PC client program, psftp, comes along with PuTTY.FAQ08: How do I create my homepage?We support homepages addressed by: http://www.cs.umb.edu/~username, where username is your UNIX login. Your homepage must be named index.html and be in a publicly readable directory named public_html under your home directory.FAQ09: How do I choose a good password?A good password is at least six letters and is not in any dictionary or any list of people or place names. It combines numbers, upper and lowercase letters, and at least one non-numeric, non-alphabetic symbol: (~<>|\#$%^&*). Passwords are too easy to guess if they contain:
FAQ10: How do I write a CGI script?Users may invoke CGI scripts from their home pages by following these guidelines: 1. Make a script or program that prints good, legal HTML to itsSTDOUT.
You should run your program under the shell and check its output
before wiring it up into your home page. Until it gives good output
you'd be wasting your time fooling with having the web server call it.
Run weblint against it.
2. Refer to your program by way of our CGI server.
For example, "http://cgi1.cs.umb.edu/~username/myprog.cgi".
That hostname cgi1 is an alias for a box with a web server that can
see your home page and is configured to run CGI programs. We don't
allow CGI to run on the main web server. That is so that in case
some program goes nuts it won't drag down the whole site.
3. The error log of the httpd on cgi1 is
/data/httpd_logs_cgi1/error_log. Users may read that file in pursuit
of their errors.
4. CGI scripts can introduce security holes or be CPU hogs. Please be
very careful in using them: follow a good cookbook and do not "give
away the store." Thanks.
FAQ11: How do I get an alumni account?The Department Computer Science at UMass Boston supplies accounts to enrolled students, to graduates of the CS program, and to faculty and research associates. If your account is currently shut off, we will re-enable it while you either (1) apply for an alumni account as below, or (2) copy out your files before the account is deleted. Please advise us which you will do, by sending email to operator(at)cs(dot)umb(dot)edu. Alumni accounts must be authenticated, and have a valid address. We invite and require you to authenticate yourself by U.S. Mail. Please mail us a photocopy of your driver's license (in lieu of National ID Card), or your passport or some official picture ID. You should obliterate your SSAN, as we don't want to know it. Mark your photocopy with (1) your login name, (2) the date and type of degree you received from UMass Boston, and (3) your current U.S. Mail address. Mail to: Computer Science Alumni SysadminUMass-Boston 100 Morrissey Blvd. Boston, MA 02125-3393 We will keep your info OFF-LINE, but may share it with the Alumni Office so they can beg you for money. The lab directors have required authentication since Nov. 1, 2002. Users who registered have valid login shells. Other old friends do not, and unused accounts get deleted routinely. Please keep your account active by logging in to alumni.cs.umb.edu at least every quarter-year, and keep your mailbox small. Thank you! FAQ12: How do I find someone's email address?Local users have the address "username@cs.umb.edu". Faculty have aliases "First.Last@cs.umb.edu". The `finger` program uses fuzzy matching against the passwd database, and is available on most of our hosts.FAQ13: How do I print?1. To print to the student laser printer (e.g. lj2), with the provided student environment, simply use the lpr command:lpr myfile.c
You can specify the printer name with -P flag - like so:
lpr -Plj2 myfile.c
To save paper, use the mpage utility - like so:
mpage -xUH -Plj2 myfile.c
If you replace 'x' with the number 2, it will print two regular pages
onto one.
mpage -2UH -Plj2 myfile.c
Please look at the man page for more info:
man mpage ...
2. To see what is in the queue:
lpq (or lpq -Plj2)
You should see something similar to the following:
Printer: lj2@v1 'HP LaserJet 8150DN located in S-3-157A'
Queue: 1 printable job
Server: pid 2637 active
Unspooler: pid 2638 active
Status: processing 'dfA222ulab.cs.umb.edu', size 845, format 'f',
IF filter 'ifhp' at 20:55:17.490
Filter_status: getting end using 'pjl job/eoj' at 20:55:21.456
Rank Owner/ID Class Job Files Size Time
1 eoneil@ulab+222 A 222 myfile.c 845 20:55:14
3. To remove a print job from the queue, type "lprm" followed by the job number associated with your file, in
this example 222. (see above)
lprm 222 (or lprm -Plj2 222)
When you pick up a job at the printer make sure to take only your own
output. Anything else you find there you should stack neatly.
FAQ14: How do I use remote (IMAP/POP) mail service?If you have an internet connection, you can retrieve your mail from our mail machine using Microsoft Outlook, Netscape, Eudora, or any other PC mail client. See your software for instructions. Our POP server is at pop.cs.umb.edu.Our IMAP server is at imap.cs.umb.edu. Our SMTP server is at smtp.cs.umb.edu. Please use these aliases as they are guaranteed to work. Our SMTP server only handles outbound mail for clients on our LAN. Please do not configure your client to use it from home, unless our postmaster has told you to do so: your mail will be refused, and the log messages are annoying. If your internet connection is through an ISP, please use their SMTP server for your outbound mail. If they don't offer one, get another ISP. We might make an exception in an extreme case, but we haven't had to yet, since all ISP's so far have SMTP servers. FAQ15: How do I fix my vt100 windows?When you log in, you may have to tell UNIX what kind of terminal you are at, if you want things like emacs and vi to work correctly. Most folks use a PC running some ssh client such as putty. Most ssh client programs emulate (pretend to be) vt100 terminals. (The vt100 was DEC's popular implementation of the ANSI terminal spec.) Check your comm program or its docs to see what your choices are. If you don't know or care, then vt100 is the best choice. On the UNIX side, you can check the setting of terminal type byecho $TERM
That should agree with your ssh client. If not, you can tell UNIX
the terminal type being emulated, so:
set TERM=vt100
If you check your ~/.login file, you will see a section where the
terminal type gets set. If that code isn't getting your terminal type
set correctly for you, you can comment it all out and replace it with
one or more simple declarations that do.
Messy output
On some UNIX systems, the default behavior for tabs is to print them
literally. If you see output all messy, tabs may not be agreeing with
your terminal emulator. The command
stty -tabs
tells UNIX not to send literal tabs, but to expand them into a bunch
of space characters. You can put that into your .login file if it
works for you and you want that all the time. Window Size UNIX assumes
a vt100 is 24 rows x 80 columns. If you like a larger window, you can
adjust UNIX's notion of its size with the script
/usr/local/bin/fix.vt100. It takes an argument that is the number of
rows (lines) in the window. For example,
fix.vt100 35
fixes up a vt100 for 35 lines. The fix.vt100 command is a "self-documenting Bourne shell script."
FAQ16: How do I get a file restored from backup?We do tape backups daily, in the dark of night. To request a file restore, send email to operator(at)cs(dot)umb(dot)edu with the following information: For current work, including course directories: 1. The name of the file.2. What directory the file was in. 3. When you last edited the file, or saw it in good condition. Yesterday, last month, etc. An operator will restore the file(s) into the directory RESTORE under your home, usually by the next day. Please recover from there what you need, and delete what you don't. For old course directories: 1. The course number. 2. What semester and year you took the course 3. The instructor's name. An operator will restore the file(s) into the directory RESTORE under your home, but please note that old work is done at low priority. Please copy out and then delete restored course dirs. Make your own archives to keep at home. FAQ17: How do I keep from losing my important files?Please know: we don't promise to keep all your homework archived for you forever. Do make your own archives to keep at home. 1. SHORT TERM Backups are usually done around 00:30. A file created during the day and deleted shortly thereafter is GONE. We cannot restore it. You might copy very critical course files to your home, since homes and courses are generally on different disks. You might use a script to copy a file to your home before you edit it, like many examples to be found on the net. 2. LONG TERM You should be copying files out to your own PC and burning your own archive disks and such. Your home, web page, homework, etc. The zip command makes nicely portable, compressed archives. We routinely trash old semester trees to make room for new classes, so clean up and copy out the stuff that is precious to you. Do it on some schedule but especially at the end of semester.FAQ18: Math and CS anti-spam
FAQ19: Can I use my laptop in the UNIX lab?Yes, there are some empty workstations in the terminal room, S-3-157, by a wired switch. Please email operator(at)cs(dot)umb(dot)edu from your lab account to tell us its MAC (ethernet) address. We will enter that into our DHCP server's table of good guys, and you will be able to get an address. FAQ20: Is there wireless access in the UNIX lab?Only at some places, particularly the web lab S-3-028. The web lab has in it a WAP that is the same as the ones in the Campus Center. Details are available in that room, posted below the WAP. Your prof will tell you about any others that may be set up to support their research and instruction. |