Department
Linux Information
|
Trouble Logging into eniac? Your account may have been deleted! |
Department of Computer Science Technical Support Email Address: cstechsp@hunter.cuny.edu Have a problem with your account or with a computer? Here's what is needed to begin troubleshooting:
|
Linux Accounts: Use it or lose it! Accounts not used for more than 90 days are subject to deletion. You must use your account at least once during the first two weeks of the fall and spring semesters to keep an account. Don't wait until the day you have to upload your homework to try your account and then find out it has been disabled or deleted. Anticipate your needs! |
This document is
ESSENTIAL for learning Linux commands: |
Department of Computer
Science Lab Rules
The Computing Lab and its equipment are to be used for academic
purposes. Commercial use of the Computing Lab computer systems is
prohibited. |
Q: When I try to remotely log onto any of the Linux lab machines from eniac I get this message: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! A: Linux Lab computers have been
updated to Ubuntu 18.04. When you remotely login to lab computers (cslab1,
cslab2, etc) you will receive a long message: Q: How to prevent Chrome from using up all of your disk quota. Go to this link and follow the instructions: https://support.skyslope.com/hc/en-us/articles/212365317-Clearing-Cache-Cookies-Upon-Browser-Exit
Q: How to prevent FireFox from using up all of your disk quota. A: Every time you use FireFox it caches files that will eventually use up all of your disk space.
Q: I forgot my password and/or user name. What do I do? A: Send an email to cstechsp@hunter.cuny.edu from your Hunter email address and give your full name as it appears in Hunter College records and details of your request. You must either be enrolled in a Computer Science course requiring a Linux account or be a Computer Science major to be eligible for an account.
Q: I can log into my account but I get this error message: Could not chdir to home directory /data/biocs/b/student.accounts/............ A: You have not used your account for more than 90 days and your home directory was deleted just before your account will be deleted. Send me an email with the exact error message from your Hunter email account.
Q: I'm trying to run FireFox but it tells me the program is already running. A: When FF starts it creates a lock file. If FF terminates improperly the lock file is not removed. Then, next time you try to start FF it thinks it's already running. The lock file is a symbolic link to another file. To find the FF lock file issue the following commands from your home directory: > cd .mozilla (you need to change directory to the mozilla directory (that's a dot in front of the file name)) > find . -name lock -exec rm -f {} \; (this command looks for a file named "lock" and executes the rm command)
Q: I'm exceeding my disk quota. What can I do? A: If you can log into your account you can issue the following command determine how much disk space you're using. - open an X-term window - Disk quota: you have a soft disk quota of 300MB and a hard disk quota of 350MB. You can exceed the soft disk quota limit for up to seven (7) days. If you don't reduce your disk usage below the soft limit, after 7 days you wont be able to save anything and you won't be able to log on properly. You can never exceed your hard disk quota limit. - If you determine you're exceeding your soft disk quota limit of 300MB you'll have to remove some files. Often, Firefox creates 200+MB of cache files and other file types so that's a good place to start. Firefox files can be found in the .mozzila subdirectory. The BIG files are typically found in the firefox subdirectory. Once you're in the firefox subdirectory you have to find the BIG files. - issue the command: du -k > filename
<--- this is the disk use command with the "k" option that will list
every file in all the subdirectories along with the size of - the file.
The output is redirected to the file you specify.
Q: Can I log in remotely? A: Yes. You can SSH to eniac.cs.hunter.cuny.edu using an SSH client such as putty. Eniac is not to be used for work. After logging into eniac then choose one of the lab machines to log onto and do your work there. You can SSH to any of the lab computers (cslab1 to cslab28) using the ssh command. Here is the full command to use:
In the Xterm window you're using to log onto enaic from your home machine enter this command at the prompt:
ssh cslab5 <-- you don't have to add your user name in the
command. If you don't,
Q: How do I change my password? A: Open an Xterm window and at the prompt issue the command yppasswd and follow the instructions. Follow the password creation instructions.
Q: What are the Department of Computer Science rules for creating a good password?
For example, rather than just having a password like 'yr$1Hes', you could take a sentence such as "I like to read the About.com Internet / Network Security web site" and convert it to a password like 'il2rtA!nsws". By substituting the number '2' for the word 'to' and using an exclamation point in place of the 'i' for 'Internet', you can use a variety of character types and create a secure password that is hard to crack, but much easier for you to remember.
|
|