Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2024-01-15 20:33:30
Size: 716
Editor: 2405:3c00:5200:101:e6cf:f2aa:7f5a:5526
Comment: Updated webcam functionality info, and added info about auth update
Revision 5 as of 2024-03-13 11:59:47
Size: 1451
Editor: ConorBennett
Comment: Added instructions for static password rotation
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
Line 11: Line 12:
Line 12: Line 14:
Line 13: Line 16:

=== 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).