X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=INSTALL;h=3c059058110bdc19cfe9b2c0ccbd6bbc798ec909;hp=31bc112a06eee11ccc4661fe4d49be6015176afd;hb=3dfab6fc800bec957eee78aa642d0b139300d470;hpb=8ea7c22ed366c4c895f431aa663b9bb227b2bead diff --git a/INSTALL b/INSTALL index 31bc112a..3c059058 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 @@ -139,8 +140,8 @@ Print a list of all audio files found with Start streaming manually ------------------------ - para play - para stat 2 + para_client play + para_client stat 2 This starts streaming and dumps some information about the current audio file to stdout.