Kerberos and NFS4 on Linux Workshop
There are three practical parts in this workshop that form a unit.
Slides of the presentation during the workshop.
Convention
- When asked for the password for a kerberos ticket always use the ETH password for email.
- Commands with a
#
prompt must be run as root, commands with a $
prompt as the local user with the same uname as your ETH user name.
- In all example text and code, anything between braces, e.g.,
{your ETH user name}
, is a placeholder.
Preparations
At the beginning of the workshop you get a generic
Ubuntu,
CentOS 7 or
Fedora installation on a VM. You will get the password for
root
.
Perform the following steps:
Log in as root
After login change the password for
root
to something only you know. Alternatively you can add your SSH public key to
/root/.ssh/authorized_keys
. Once you can successfully log in via public key, you can set the password for
root
to a random one.
Create a local user with your ETH user name.
Run the following commands and substitute
{your ETH user name}
with your
ETH user name. Please use your
ETH password for email:
# useradd -m -s /bin/bash {your ETH user name}
# passwd {your ETH user name}
Update and Install Software
Update the system once to be up to date:
- Ubuntu
-
# apt -y update && apt -y full-upgrade
- CentOS
-
# yum clean all ; yum upgrade -y
- Fedora
-
# dnf --refresh upgrade -y
If there were any packages that were updated then run
reboot
, otherwise continue.
After a minute log in again as
root
and install all basic software packages needed for the three parts below:
- Ubuntu
-
# apt -y install curl wget vim nano
- CentOS
-
# yum install -y curl wget vim nano
- Fedora
-
# dnf install -y wget curl vim nano
Labs
There are three labs in this workshop: