- Add a notice for security of authentication storing - Add a TODO for it - Remove flags - Add a config option to disable effective ID setting - Add a `WERRORIF_COND` macro for the `ERRORIF_COND(WSTRERRNO(x), y)` pattern - Fix the way if `cin` is EOF it'd exit with `EXIT_FAILURE` rather than `EXIT_STDIN` - Fix the formatting of some errors - Added some notes for developers Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
70 lines
771 B
Groff
70 lines
771 B
Groff
.TH KOS "1" "October 2022" "Kos" "General Commands Manual"
|
|
|
|
|
|
.SH NAME
|
|
|
|
kos - a simple SUID tool
|
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B kos
|
|
<\fIcommand\fR> [\fIargs...\fR]
|
|
|
|
.SH AUTHOR
|
|
|
|
Written by Ari Archer <\fIari.web.xyz@gmail.com\fR>
|
|
|
|
|
|
.SH "RETURN VALUE"
|
|
|
|
.TP
|
|
\fIEXIT_FAILURE\fR
|
|
General error
|
|
|
|
.TP
|
|
2
|
|
Failed to take user input
|
|
|
|
.TP
|
|
3
|
|
Failed/denied pipe
|
|
|
|
.TP
|
|
4
|
|
Terminal error
|
|
|
|
.TP
|
|
5
|
|
Stored authentication error
|
|
|
|
.TP
|
|
Anything else
|
|
The exit code of the command
|
|
|
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
/etc/shadow
|
|
Secure user account information\&.
|
|
|
|
.TP
|
|
/etc/passwd
|
|
User account information\&.
|
|
|
|
.TP
|
|
/etc/group
|
|
The groups to which users belong under\&.
|
|
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR shadow (3)
|
|
.BR passwd (1)
|
|
.BR group (5)
|
|
|
|
|
|
.SH "REPORTING BUGS"
|
|
|
|
Report any bugs or feature requests to \fIhttps://ari-web.xyz/gh/kos\fR issues
|