shithub: purgatorio

Download patch

ref: 51bcc63cc6bce3f9dab27cf6bd7155512b82c8fa
parent: 00c219c7d9c2b9f60c2db0e1ba7289b2301209a7
author: henesy <devnull@localhost>
date: Tue Mar 26 06:47:09 EDT 2019

update POSTINSTALL with instructions for setting up auth

--- a/POSTINSTALL
+++ b/POSTINSTALL
@@ -2,13 +2,33 @@
 
 Note: When in doubt, refer to the install document located in /doc.
 
-If directories are missing, such as when running hosted,run makestubs as per
+If directories are missing, such as when running hosted, run makestubs as per:
 
-	$ emu
 	; makestubs
 
 If you want to create a new user by name on the fs, if hosted:
 
-	$ emu
 	; newuser myusername
+
+To set up an auth server on a new hosted install and user $user:
+
+	; newuser $user							# Make user on fs
+	; auth/createsignerkey example.com		# Create signer key
+	; svc/auth &							# Start auth server
+	Key: myserverpassword
+	Confirm key: myserverpassword
+	; auth/changelogin $user				# Configure user's auth
+	secret: myuserpassword
+	confirm: myuserpassword
+	expires [DDMMYYYY/permanent, ...]: permanent
+
+To set up a client to an auth server on a new hosted install with $user:
+
+	getauthinfo default
+	use signer [$SIGNER]: example.com
+	remote user name [someuser]: $user
+	password: myuserpassword
+	save in file [yes]: yes
+
+Note: Substitute localhost for example.com if you're just running local Inferno instances.