Create an Account on CIS 235 Common
There is an existing Linux system for the classroom, called “cis235-common.” For this week, we are going to create accounts on them (and then use them a little bit). To begin with
Log into the system (using an existing account)
- Connect to YCCC via the VPN client
- Start PuTTY (or other SSH client)
- Connect to 172.18.128.15 (or cis235.doublemega.com)
- In PuTTY put 172.18.128.15 in the “Host Name (or IP address)” block and press “Open”
- Accept the SSL certificate if it asks (it should ask only the first time you connect)
- At the login: prompt, enter the username of “user” (no quotes), and press Enter
- At the Password: prompt, enter the standard CSIT password
- (if you don’t know it, it’s “helloworld” [again, no quotes])
- Optional: Save the session settings (including the IP address) in PuTTY
- If you want to, you can save the session settings so you don’t need to type in the IP address each time.
- Click on the little “two computer” icon at the top left corner of the PuTTY window
- Click on “Change Settings…”
- Enter a name in the “Saved Sessions” box
- Press “Save”
Create your own Account
Once logged in (as “user”), type the following
sudo /usr/sbin/useradd –m <username>
Everything is in lowercase, the spaces are required, there is a minus sign before the letter m, and the slashes are “forward slashes” (aka key also with a ?)
Substitute <username> with your student login (e.g. sjohnsmith)
Ok, if you want – you can use any username you want
sudo is how a command is ran with administrative access (in Linux/Unix this is called as “root”)
https://xkcd.com/149/
sudo passwd <username>
- Substitute <username> with the name you created in the step above
- This will give your account a password (otherwise it’s not enabled)
- sudo /usr/sbin/groupmod –A <username> wheel
- Again, substitute <username> with your account name
- This will allow your own account to use
- Start PuTTY a second time, and log into the system again and this time use your own account.
Note: If you are having problems creating your own system, or if you want to, you can complete the activities in Chapter 3 on this system instead of your own system.