9srv Manual Collection/plan9/cpu(1) | 9srv Manual Collection/plan9/cpu(1) |
---|
cpu [ -R | -O ]
The name space for the new rc is an analogue of the name space where the cpu command was invoked: it is the same except for architecture-dependent bindings such as /bin and the use of fast paths to file servers, if available.
If a -u argument is present, cpu uses the argument as the remote user id.
If a -c argument is present, the remainder of the command line is executed by rc on the server, and then cpu exits.
If a -P argument is present, the patternfile is passed to exportfs(4) to control how much of the local name space will be exported to the remote system.
The -a command allows the user to specify the authentication mechanism used when connecting to the remote system. The two possibilities for auth-method are:
The -e option specifies an encryption and/or hash algorithm to use for the connection. If both are specified, they must be space separated and comprise a single argument, so they must be quoted if in a shell command. The default is rc4_256 encryption and sha1 hashing. See ssl(3) for details on possible algorithms. The argument clear specifies no encryption algorithm and can be used to talk to older versions of the cpu service.
The -k flag specifies a key pattern to use to restrict the keys selected by the auth_proxy call used for authentication.
The name space is built by running /usr/$user/lib/profile with the root of the invoking name space bound to /mnt/term. The service environment variable is set to cpu; the cputype and objtype environment variables reflect the server's architecture.
The -R flag causes cpu to run the server (remote) side of the protocol. It is run from service files such as /bin/service/tcp17010. The -O flag is similar but simulates the pre-9P2000 version of the cpu protocol.
When using the -a option to `log in' as another user, be aware that resources in the local name space will be made available to that user.
9srv Manual Collection/plan9/cpu(1) | Rev: Sun Dec 02 23:42:11 GMT 2007 |