This commit is contained in:
2021-10-22 16:38:48 -04:00
parent 7a797f30da
commit 0b6e092c20
4 changed files with 116 additions and 482 deletions

View File

@@ -36,13 +36,13 @@ Last updated: 2021-10-22
- [Unban a user](#unban-a-user)
- [Fix or repair user file permissions](#fix-or-repair-user-file-permissions)
- [Services](#services)
- [Adding a drive](#adding-a-drive)
- [Virtual Machines](#virtual-machines)
- [Allow access to the samba share within the Windows VM (Windows bug workaround)](#allow-access-to-the-samba-share-within-the-windows-vm-windows-bug-workaround)
- [Make an existing Windows 10 account user an administrator](#make-an-existing-windows-10-account-user-an-administrator)
- [Creating more VM disk space](#creating-more-vm-disk-space)
- [Updating all software](#updating-all-software)
- [Scheduling a restart](#scheduling-a-restart)
- [Adding a drive](#adding-a-drive)
- [Logging](#logging)
- [Resources](#resources)
- [Contact](#contact)
@@ -162,13 +162,13 @@ It is possible to launch graphical server programs directly on a client.
- Access from within X2Go:
- *Applications>Internet>Remote Viewer*: [`spice://localhost:5900`](spice://localhost:5900)
![Samba shares on Windows](manual-images/virt-viewer.png)
- Direct external access:
- [`virt-viewer`](/usr/local/bin/virt-viewer) is available across all platforms ([Windows](https://virt-manager.org/download/), [OSX](https://www.spice-space.org/page/OSX_Client)):
![Samba shares on Windows](manual-images/virt-viewer.png)
[`virt-viewer`](/usr/local/bin/virt-viewer) is available across all platforms ([Windows](https://virt-manager.org/download/), [OSX](https://www.spice-space.org/page/OSX_Client)).
The SPICE password is: **`hartmanlab`**
- The SPICE password is: **`hartmanlab`**
The virtualized Windows 10 instances require logging in with your UAB e-mail address and password.
The virtualized Windows 10 instances require logging in with your UAB email address and password.
- **Note:** Users should NOT log in with a pin when prompted, it will disable access to the Samba file shares (Windows bug). Users should always log in with a password.
@@ -244,24 +244,20 @@ Once configured, the user will no longer need to enter their password to access
### Fix or repair user file permissions
- `script-files-permissions-set` *`username`* *`password`* *`PATH[...]`*
- This script will walk you through fixing or setting the permissions on one or more `PATH`'s.
- `script-files-permissions-reset`
- If things go really south, use this script as a method of last resort to reset permissions on the entire shared data array `/mnt/data` so they are writeable by the `smbgrp` group.
- This script will walk you through fixing or setting the permissions on one or more `PATH`'s. If no PATH is provided the `$PWD` is used.
- `script-files-permissions-reset` *`PATH[...]`*
- If no *`PATH[...]`* is provided it will reset the data array `/mnt/data`.
- If things go really south, use this script as a method of last resort to reset permissions on a path by resetting the original permissions for the shared data.
### Services
- Start: *sudo systemctl start smb.service*
- Stop: *sudo systemctl stop smb.service*
- Start at boot: *sudo systemctl enable smb.service*
- Do not start at boot: *sudo systemctl disable smb.service*
- Restart service: *sudo systemctl restart smb.service*
- Reload services: *sudo systemctl daemon-reload*
- Read service: *sudo systemctl cat smb.service*
### Adding a drive
- ~~`sudo scripts-drive-add` `/dev/sdX`~~ (Under construction)
- To determine the correct drive, use `lsblk -f`.
- Start: `sudo systemctl start smb.service`
- Stop: `sudo systemctl stop smb.service`
- Start at boot: `sudo systemctl enable smb.service`
- Do not start at boot: `sudo systemctl disable smb.service`
- Restart service: `sudo systemctl restart smb.service`
- Reload services: `sudo systemctl daemon-reload`
- Read service: `sudo systemctl cat smb.service`
### Virtual Machines
@@ -310,6 +306,11 @@ Once configured, the user will no longer need to enter their password to access
- See [Calendar Events](https://www.freedesktop.org/software/systemd/man/systemd.time.html) for proper time format.
- This will alert users via `notify-send` in X2Go, `wall` in ssh, and add a reminder to the `motd` about the scheduled restart.
### Adding a drive
- ~~`sudo scripts-drive-add` `/dev/sdX`~~ (Under construction)
- To determine the correct drive, use `lsblk -f`.
### Logging
- First point of reference for server problems: `sudo journalctl`