AUTHFS(4) AUTHFS(4) NAME authfs - present different authentication files SYNOPSIS authfs [ -a authserver ] [ -u user ] [ -h hostowner ] [ -pv ] DESCRIPTION Authfs presents an alternate set of credentials via the files authcheck, authenticator, authserver, hostowner, key, and user in /dev, as well as a new /net/cs. The -a, -u, and -h flags specify the default authentication server, user name, and host owner, respectively. They can be changed at any time by writing strings into the obvious files. The -p option prompts for a password that will be used to generate the key file. A great amount of debugging output is produced by the -v option. The authenticator, authcheck, and key files behave identi- cally to the ones that are presented by cons(3). Unlike those files, they are not global: changes to authentication information (via, say, aux/typepasswd) are local to the namespace. This is useful for assuming a different identity on a per-window basis. The file /net/cs is replaced with one that behaves identi- cally except that $auth is rewritten with the contents of /dev/authserver rather than an entry from the network data- base. EXAMPLES Change credentials to boris and set a new authentication server before dialing kremvax. authfs echo boris >/dev/user echo moscvax >/dev/authserver aux/typepasswd cpu -h kremvax This may be shortened using command-line options: authfs -u boris -a moscvax -p cpu -h kremvax SOURCE /sys/src/cmd/authfs.c SEE ALSO Page 1 Plan 9 (printed 5/12/25) AUTHFS(4) AUTHFS(4) cons(3), auth(6), auth(8), ndb(8) Page 2 Plan 9 (printed 5/12/25)