summaryrefslogtreecommitdiff
path: root/sjauth/sjauth.1
diff options
context:
space:
mode:
Diffstat (limited to 'sjauth/sjauth.1')
-rw-r--r--sjauth/sjauth.132
1 files changed, 32 insertions, 0 deletions
diff --git a/sjauth/sjauth.1 b/sjauth/sjauth.1
new file mode 100644
index 0000000..709a078
--- /dev/null
+++ b/sjauth/sjauth.1
@@ -0,0 +1,32 @@
+.Dd August 10, 2024
+.Dt SJAUTH 1
+.Os "YK Pao School Utilities"
+.
+.Sh NAME
+.Nm sjauth
+.Nd authenticate to YK Pao School's STUWIRELESS captive portal
+.
+.Sh SYNOPSIS
+.Nm
+.Ar username
+.Ar passvar
+.
+.Sh DESCRIPTION
+The
+.Nm
+script makes a single HTTP request to YK Pao School's STUWIRELESS captive portal
+to authenticate users.
+.Pp
+The arguments are as follows:
+.Bl -tag -width Ds
+.It Ar username
+Your YK Pao School username (such as s65535)
+.It Ar passvar
+The name of an environment variable containing your password
+.El
+.Sh AUTHORS
+.An Runxi Yu Aq Mt me@runxiyu.org
+.
+.Sh BUGS
+Send mail to
+.Aq Mt ~runxiyu/public-inbox@list.sr.ht