Skip to content

Some love to userutils \o/

Jeremy Soller requested to merge goyox86:some-love into master

Created by: goyox86

Details

  • New implementation of id inspired by BSD's one.
  • Refactoring on whoami.
  • Added few utility functions in userutils module for getting processes user and group real/effective ID and names that include error hadling/rrporting and abortion of processes.
  • Added docs do getty, login, passwd, su, and sudo inspired by BSD's ones.
  • Also added ArgParser to all of them and added a -h/--help flag to all of them.
  • This is the start of a revision of all of those commands.

Merge request reports