Franske ITC-2480 Lab 3: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
(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...")
 
No edit summary
Line 4: Line 4:
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.
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.
# Open an SSH console to your Linux system using the PuTTY software, login with your standard user account
# Open an SSH console to your Linux system using the PuTTY software, login with your standard user account
# Install the sudo package
# Practice using sudo
#* Note: [https://wiki.debian.org/sudo Read more on sudo here]
## Install the sudo package
# Add your user account to the sudo group using the "adduser ben sudo" command where ben is your username
##* Note: [https://wiki.debian.org/sudo Read more on sudo here]
# Switch back to your regular user account
## Add your user account to the sudo group using the "adduser ben sudo" command where ben is your username
# Try running the ifconfig command as your regular user with the "sudo ifconfig" command
## Switch back to your regular user account
#* 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
## Try running the ifconfig command as your regular user with the "sudo ifconfig" command
# Create a new user account "jsmith" using the adduser program
##* 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
# Change to the /home directory and check the permissions on the  
# Practice Linux filesystem permissions and ownership
## Create a new user account "jsmith" using the adduser program
## Change to the /home directory and check the permissions on the  
# Install the Webmin control panel
## Use the links browser to download the DEB package file from www.webmin.com
## Use dpkg -i to install the webmin DEB package
## Make a note of the unmet dependencies for the webmin package
## Use aptitude to install the dependencies for webmin
## Open a web browser on your host system and visit https://xxx.xxx.xxx.xxx:10000 where your IP replaces xxx.xxx.xxx.xxx
## Explore the webmin interface




Line 17: Line 26:
* sudo
* sudo
* adduser
* adduser
* dpkg
* man
* touch
* cat
* more
* less
* addgroup


=Concepts=
=Concepts=
* sudo
* sudo

Revision as of 02:23, 30 January 2014

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. Practice using sudo
    1. Install the sudo package
    2. Add your user account to the sudo group using the "adduser ben sudo" command where ben is your username
    3. Switch back to your regular user account
    4. 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
  3. Practice Linux filesystem permissions and ownership
    1. Create a new user account "jsmith" using the adduser program
    2. Change to the /home directory and check the permissions on the
  4. Install the Webmin control panel
    1. Use the links browser to download the DEB package file from www.webmin.com
    2. Use dpkg -i to install the webmin DEB package
    3. Make a note of the unmet dependencies for the webmin package
    4. Use aptitude to install the dependencies for webmin
    5. Open a web browser on your host system and visit https://xxx.xxx.xxx.xxx:10000 where your IP replaces xxx.xxx.xxx.xxx
    6. Explore the webmin interface


New Commands

  • sudo
  • adduser
  • dpkg
  • man
  • touch
  • cat
  • more
  • less
  • addgroup

Concepts

  • sudo