Franske ITC-2480 Lab 3

From ITCwiki
Revision as of 00:03, 30 January 2014 by BenFranske (talk | contribs) (Created page with "=Introduction= In this lab you will install the "sudo" administration package, create a new user account, change the ownership and permissions on files and directories, and in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

In this lab you will install the "sudo" administration package, create a new user account, change the ownership and permissions on files and directories, and install the Webmin package.

These same instructions apply if you are completing this lab using the VirtualBox virtual machine software or if you are connected to a machine running remotely on the VMware platform. If you are completing this on campus remember to switch your network connection to the SafeConnect-free ITCnet.

  1. Open an SSH console to your Linux system using the PuTTY software, login with your standard user account
  2. Install the sudo package
  3. Add your user account to the sudo group using the "adduser ben sudo" command where ben is your username
  4. Switch back to your regular user account
  5. Try running the ifconfig command as your regular user with the "sudo ifconfig" command
    • Note: From now on you should simply put sudo in front of any commands that need to be run as root instead of logging on to the root account or switching to the root account with su
  6. Create a new user account "jsmith" using the adduser program
  7. Change to the /home directory and check the permissions on the


New Commands

  • sudo
  • adduser

Concepts

  • sudo