Sudo
A few things I thought I should document in an issue:
Wondering if I should remove arg parsing from login
completely, since there is only --help
, and it only prints the man page right now. Would simplify that significantly.
I'm also thinking about dropping sudo
from this crate, for a few reasons:
-
sudo
is a bigger program than many think, and implementing sudo correctly takes a lot of effort. You need to have the configuration file, and some command line options, probably sudoedit, etc. - For packaging reasons: many os's package sudo separately from other utilities or coreutils.
rudo might be an alternative, although it's PAM based so we'd either need to impl PAM for redox or port PAM, neither of which I'd be thrilled about doing, or building a different backend into rudo for redox_users. @shawnanastasio I guess I should mention you on this one since rudo is your program...