User's manual. Section 1.

AUTH(1): setup zx authentication


USAGE

        usage: auth [-f] [-d adir] name user secret [group...]
            -d adir: clive auth dir
            -f: force write of key file when file already exists
        

DESCRIPTION

auth initializes the zx key file to authenticate remote connections, both for servers and clients.

This is a temporary aid and the command will change in the future to become a real tool that can connect to an authentication service to change passwords. As of now, it must be executed in the machine where the secret resides to initialize it.

EXAMPLE

Create a secret for user nemo and group elf for the default auth domain. This must run on both the file server and the machines dialing to it.

        ; auth default nemo secret.Pass elf
        

SOURCE

  • /zx/sys/src/clive/cmd/auth

BUGS

Should read the key from the user's terminal and be safer.


User's manual. Section 1.