shithub: 9ferno

Download patch

ref: 584ba36185878da278a85ea4ec831c734f9734e9
parent: 32f1431d87ed59cbd516b7c47974645ba02e44b7
author: henesy <unknown>
date: Tue Mar 26 11: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.