From: Andre Noll Date: Fri, 30 Nov 2007 09:01:05 +0000 (+0100) Subject: INSTALL: Use $LOGNAME instead of hardcoding the user name. X-Git-Tag: v0.3.0~73^2~9 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=1a24479c2af89379d88515086f5083f7d89c7eb9 INSTALL: Use $LOGNAME instead of hardcoding the user name. --- diff --git a/INSTALL b/INSTALL index 31bc112a..583f72ab 100644 --- a/INSTALL +++ b/INSTALL @@ -56,24 +56,25 @@ as user foo, and that you want to connect from client_host as user bar. As foo@server_host, create ~/.paraslash/server.users by typing the following commands: + user=bar target=~/.paraslash/server.users - key=~/.paraslash/key.pub.bar + key=~/.paraslash/key.pub.$user perms=AFS_READ,AFS_WRITE,VSS_READ,VSS_WRITE mkdir -p ~/.paraslash - echo "user bar $key $perms" >> $target + echo "user $user $key $perms" >> $target This gives "bar" the full privileges. Change to the bar account on client_host and generate the key-pair with the commands - key=~/.paraslash/key.bar + key=~/.paraslash/key.$LOGNAME mkdir -p ~/.paraslash (umask 077 && openssl genrsa -out $key) Next, extract its public part: - pubkey=~/.paraslash/key.pub.bar + pubkey=~/.paraslash/key.pub.$LOGNAME openssl rsa -in $key -pubout -out $pubkey and copy the public key just created to server_host (you may