Version 1 vs 3
Version 1 vs 3
Edits
Edits
- Edit by • amcintyre, Version 3
- Nov 5 2020 4:09 PM
- Edit by • amcintyre, Version 1
- Nov 5 2020 3:50 PM
Edit Older Version 1... | Edit Current Version 3... |
Content Changes
Content Changes
This guide also goes through how to domain join the Linux system (Ubuntu, Debian, etc.) to the UNR network.
====Install OS and necessary tools
1. Install OS using live disk (When asked for user, make ecc-admin account using the credentials normally used).
2. Log in as ecc-admin.
3. Become root user.
```$ sudo -i```
4. Copy pbis.sh script from Steamboat (need to edit this step later)
5. Grant execution permission for the script.
```$ chmod +x pbis.sh```
6. Run the script.
```$ .\pbis.sh```
====Domain join the machine
7. Run the domainjoin-cli command and authenticate using NetID credentials.
```$ domainjoin-cli join RD.UNR.EDU $NETID@unr.edu```
8. Add the machine to the correct OU (Organizational Unit) using AD (Active Directory). Ask one of the ecc-admins to assist with this.
9. When command finishes, reboot the machine.
====Confirm NetID login works
10. Click on "Not listed?" at the login screen. (If it doesn't work at first, wait a few minutes and try again)
11. Type in NetID, hit enter, then enter password. If you're able to log in, then the machine has successfully been domain joined.
This guide also goes through how to domain join the Linux system (Ubuntu, Debian, etc.) to the UNR network.
====Install OS and necessary tools
1. Install OS using live disk (When asked for user, make ecc-admin account using the credentials normally used).
2. Log in as ecc-admin.
3. Become root user.
```$ sudo -i```
4. Copy pbis.sh script from Steamboat (need to edit this step later)
5. Grant execution permission for the script.
```$ chmod +x pbis.sh```
6. Run the script.
```$ .\pbis.sh```
====Domain join the machine
7. Run the domainjoin-cli command and authenticate using NetID credentials.
```$ domainjoin-cli join RD.UNR.EDU $NETID@unr.edu```
If you run into a Kerberos Error `LW_ERROR_KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN` run the following command:
```$ sudo /opt/pbis/bin/lwsm restart lwreg```
8. Add the machine to the correct OU (Organizational Unit) using AD (Active Directory). Ask one of the admins to assist with this.
9. When command finishes, reboot the machine.
====Confirm NetID login works
10. Click on "Not listed?" at the login screen. (If it doesn't work at first, wait a few minutes and try again)
11. Type in NetID, hit enter, then enter password. If you're able to log in, then the machine has successfully been domain joined.
==Set up OpenSSH Server
The following steps will allow users to SSH into the new PC as the root user using the coen-ansible key.
12. Login as ecc-admin
13. Become root user
14. Copy contents of /srv/ansible/.ssh/coen-ansible.pub to /root/.ssh/authorized_keys
This guide also goes through how to domain join the Linux system (Ubuntu, Debian, etc.) to the UNR network.
====Install OS and necessary tools
1. Install OS using live disk (When asked for user, make ecc-admin account using the credentials normally used).
2. Log in as ecc-admin.
3. Become root user.
```$ sudo -i```
4. Copy pbis.sh script from Steamboat (need to edit this step later)
5. Grant execution permission for the script.
```$ chmod +x pbis.sh```
6. Run the script.
```$ .\pbis.sh```
====Domain join the machine
7. Run the domainjoin-cli command and authenticate using NetID credentials.
```$ domainjoin-cli join RD.UNR.EDU $NETID@unr.edu```
If you run into a Kerberos Error `LW_ERROR_KRB5KDC_ERR_C_PRINCIPAL_UNKNOWN` run the following command:
```$ sudo /opt/pbis/bin/lwsm restart lwreg```
8. Add the machine to the correct OU (Organizational Unit) using AD (Active Directory). Ask one of the ecc-admins to assist with this.
9. When command finishes, reboot the machine.
====Confirm NetID login works
10. Click on "Not listed?" at the login screen. (If it doesn't work at first, wait a few minutes and try again)
11. Type in NetID, hit enter, then enter password. If you're able to log in, then the machine has successfully been domain joined.
==Set up OpenSSH Server
The following steps will allow users to SSH into the new PC as the root user using the coen-ansible key.
12. Login as ecc-admin
13. Become root user
14. Copy contents of /srv/ansible/.ssh/coen-ansible.pub to /root/.ssh/authorized_keys