1
0
Fork 0
forked from soccera/rdo
Commit graph

4 commits

Author SHA1 Message Date
sw1tchbl4d3
35232fef05 Add groups support
rdo now supports taking a group name instead of only allowing a single
user.
This also completely removes the user option, as it isn't necessary
anymore with groups support.
2022-03-08 17:32:53 +01:00
sw1tchbl4d3
24638bc999 Add sessions feature
This is by far the heaviest feature of rdo, justifying
its own file for its 140loc.

It creates sessions, inspired by the way doas does it.
We use the /run/rdo temporary folder to store files in the
format of /run/rdo/pid-ts, pid being the PID of the process
that executed rdo, and ts being the timestamp at which said
process started.

As no 2 processes can have the exact same PID and startup time
(startup time is measured in the milliseconds), this seems secure.

Closes #4.
2021-07-15 23:47:27 +02:00
sw1tchbl4d3
9fa1190f7d Add sleep between wrong password attempts
This is required for #1
2021-07-13 23:42:11 +02:00
sw1tchbl4d3
f5bfafe269 Add config for rdo
This is needed for #1.
2021-07-13 23:21:34 +02:00