329
Comment: hurried but has the info we eternally seem to need
|
1451
Added instructions for static password rotation
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Webcams run off [[Camwhore]] | Webcams run off [[Motsugo]]. |
Line 3: | Line 3: |
Script periodically runs from www-data's crontab on camwhore to pull the images from the feed. A script on martello then runs from webcam's crontab to pull the images off camwhore and put them into /home/other/webcam/ |
A script on motsugo then runs from webcam's crontab to pull the images off camwhore and put them into /home/other/webcam/ |
Line 8: | Line 6: |
== Authentication == The [[webcam page|https://webcam.ucc.asn.au]] requires authentication as of 2024. You can use your UCC LDAP/AD account, or you can use a shared login for non-UCC members. The login details for this shared account can be found on boards in UCC, Unigames, and UniSFA. This means that access to the webcams can only be gotten by visiting Cameron Hall. This shared account will also have rotating passwords, so keep an eye out every 2 months for a new login. === Password Rotation === This section details instructions on how to rotate the static webcam password. You must either be a wheel member or a committee member to do this. The static password is stored in a `htpasswd` file at `/home/other/webcam/public-html/password`. To update this file, run the following command: {{{sudo htpasswd -bc /home/other/webcam/public-html/password <username> <passwd>}}} `sudo` may prompt you for your account password. The changes should be effective immediately; navigate to https://webcam.ucc.asn.au/ and test it out. Note that browsers cache basic auth passwords for the session, so you may need to restart your browser (e.g. if you've already authenticated with LDAP credentials). |
Webcams run off Motsugo.
A script on motsugo then runs from webcam's crontab to pull the images off camwhore and put them into /home/other/webcam/
Webpage data for webcam.ucc.asn.au is in /home/other/webcam/public-html
Authentication
The https://webcam.ucc.asn.au requires authentication as of 2024. You can use your UCC LDAP/AD account, or you can use a shared login for non-UCC members.
The login details for this shared account can be found on boards in UCC, Unigames, and UniSFA.
This means that access to the webcams can only be gotten by visiting Cameron Hall.
This shared account will also have rotating passwords, so keep an eye out every 2 months for a new login.
Password Rotation
This section details instructions on how to rotate the static webcam password. You must either be a wheel member or a committee member to do this. The static password is stored in a htpasswd file at /home/other/webcam/public-html/password. To update this file, run the following command:
sudo htpasswd -bc /home/other/webcam/public-html/password <username> <passwd>
sudo may prompt you for your account password. The changes should be effective immediately; navigate to https://webcam.ucc.asn.au/ and test it out. Note that browsers cache basic auth passwords for the session, so you may need to restart your browser (e.g. if you've already authenticated with LDAP credentials).