forsyth20121205-174063a80cc13 years agoHistory
88 lines · 1.9 KB · Text
RawDownload
.TH RSTYXD 8.SH NAMErstyxd \- Styx-based remote execution and file service.SH SYNOPSIS.B auxi/rstyxd.I alg\&....SH DESCRIPTION.PP.I Rstyxdprovides a remote-execution service.Having authorised the client and optionally established.IR ssl ,as described above,it reads a single line from its standard input.The line contains a decimal value that is the count of the numberof bytes that follow,which.I rstyxdreads as a.IR utf (6)-encodedstring.The string contains a command, which is parsed into arguments,following the quotingconventions of.IR sh (1).The first argument is the command name..I Rstyxdprepares a modified name space in whichto run the command.It mounts the connection (standard input) on.BR /n/client ,binds.BR /n/client/devonto.BR /dev ,and opens the new.B /dev/cons(ie, the remote client's.BR /dev/cons )on file descriptors 0, 1 and 2.Finally, it executes the command..PP.I Rstyxdis normally started by.IR svc (8)in response to incoming network calls.It expects the standard input to be connected to the client;unusually, it is both read and written.Itfirst authenticates the incoming call using.IR keyring-auth (2)via.IR security-auth (2).On successful authorisation, the server setsits user identity to that of the caller,and the client can request that a digest and/or encryptionalgorithm be applied using.IR ssl (3)to protect the data exchanged with the server.Each.I algnames a digest or encryption algorithm that the server will allowthe client to use,in any form accepted by.IR ssl ;the special name.B noneis usually listed, to allow the client to choose not to use.IR ssl ..SH FILES.TF /usr/user/keyring/default.TP.B /n/clientmount point used by.I rstyxd.TP.BI /usr/ user /keyring/defaultserver's authentication data when.IR svc (8)run as given.I user.SH SOURCE.B /appl/cmd/auxi/rstyxd.b.SH SEE ALSO.IR keyring-auth (2),.IR security-auth (2),.IR getauthinfo (8)