OS Manuals

/usr/bin/doas

A portable fork of the OpenBSD `doas` command

From opendoas 6.8.2-r8 (os), captured 2026-11-05 by running doas --help (exit 1). permalink

/usr/bin/doas: invalid option -- '-'
usage: doas [-Lns] [-C config] [-u user] command [args]
Options (5)
OptionDescriptionSource
-C configParse and check the configuration file config, then exit.man
-LClear any persisted authentications from previous invocations, then immediately exit.man
-nNon interactive mode, fail if the matching rule doesn't have the nopass option.man
-sExecute the shell from SHELL or /etc/passwd.man
-u userExecute the command as user.man
Exit status (1) from the manual page
0success

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.