next up previous contents
Next: 7. Client commands Up: Dwun 0.8g Previous: 5. Server configuration   Contents


6. Makeauth

This utility inputs usernames and passwords and outputs data appropriate for dwun's authfile. If neither the -a nor the -r option is given, dwunmakeauth defaults to creating a new authfile or appending to an existing one and will ask for a list of users.

See dwunmakeauth -h for a list of command-line options.

dwunmakeauth [-i] [-a] [-r] [-f FILE] [-v] [-h]
-i
initialise authfile by adding the meta-users ``%all'', ``%unknown'' and ``%con''.
-a
add a single user.
-r
remove a single user (unsupported, instead shutdown dwun and use a text editor).
-f
output data to this file. If the file is -, data will be sent to stdout. /etc/dwunauth by default.
-v
version info.
-h
help info.
Sometimes using dwunmakeauth on an authentication file that is being used by a running dwun will work. Sometimes not. One issue is the pagesize of the system it is being run on. To be safe, restart dwun (admin RESTART command, or kill -HUP then rerun dwun) before changing the authfile.




2000-06-15