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)

  1. Connect to YCCC via the VPN client
  2. Start PuTTY (or other SSH client)
  3. Connect to 172.18.128.15 (or cis235.doublemega.com)
    1. In PuTTY put 172.18.128.15 in the “Host Name (or       IP address)” block and press “Open”
    2. Accept the SSL certificate if it asks (it should ask only the       first time you connect)
  1. At the login: prompt, enter the username of “user” (no quotes), and press Enter
  2. At the Password: prompt, enter the standard CSIT password
    1. (if you don’t know it, it’s “helloworld” [again, no quotes])
  1. Optional: Save the session settings (including the IP address) in PuTTY
    1. If you want to, you can save the session settings so you don’t       need to type in the IP address each time.
    2. Click on the little “two computer” icon at the top left corner of       the PuTTY window
    3. Click on “Change Settings…”
    4. Enter a name in the “Saved Sessions” box
    5. 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>

 

 

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.

 

Attached Files: