Wheel Group

It is possible that you won’t have an “wheel” group on your machine - as default groups are not standard. We picked this one because it is a default on the CSE VM. But really we don’t care which group you use. Here are three possible ways that would all be acceptable for answering the questions that have to do with the wheel group. Note that while it is most useful for you to be able to try out the actual commands and see the result, if you cannot get any of these options to work for you then feel free to just write what you think the command should be:

  1. Use a group other than wheel: Use the groups command to find out which groups you belong to on your local Linux machine. If there is more than one group there, you can use one of the groups that is not your default group to test your commands. You can find out your default group by doing a touch to create a file, then do ls -l to see the associated group - the group listed is your default group, so you will want to use one of the other groups you found with the groups command to do the items in Task 1 that ask you to use group wheel.
  2. Use ugrads_cs or ugrads_ce or another group you are a member of on attu: Log onto attu, make a directory for your hw8, untar the hw8.tar.gz there, and use the ugrad_cs or ugrad_ce group or another group you are a member of on attu. Just be careful to be in the correct directory before you start testing your commands on attu. This approach will probably only be interesting if you are a member of more than one group on attu, otherwise the files will already be in your default group - which is probably ugrads_cs or ugrads_ce.
  3. Add a group to your local environment:

    For example, first add the “cool” group using:

    sudo groupadd cool
    

    Then add your user to that group using:

    sudo usermod -aG cool <username>
    

    You might have to log off and log back on for the new group to take affect. I don’t suggest this option if you feel uncomfortable modifying your own Linux machine’s users and accounts. This option requires you to know the root password.

sudo

Also, note that you may or may not have sudo on the system you are using, in which case it is fine to use su root instead. Just remember that you need to give a single bash statement to answer each question.