# 9P files served by the `authfs` daemon `users/` `/` `passwd` `login` `sessions/` `/` `user` `/users//` (d) To add a user, create the `/` subdirectory. Authfs automatically creates the `passwd`, and `login` files inside. Initially the password is nil and login is disabled. `/users//passwd` (w) Writing a (cleartext) password changes the user's password. `/users//login` (rw) To log in and obtain a session, write the user's password to `login` (in cleartext). Then read from `login`. If the password was correct, the read will return a session `` corresponding to a directory under `/sessions/`. Otherwise if the password was incorrect, the read returns `Rerror`. `/sessions//user` (r) Read returns the `` of the user who owns the session identified by ``.