This is a mostly-working port of Debian's adduser and deluser scripts, adjusted to conform to the Arch Linux policies regarding user names and IDs. It is mostly functional, but some lesser-used functionality has not been extensively tested (i.e. most functionality not covered by the testsuite, such as quota duplication and home directory backups). The PKGBUILD documents all of the patches which are performed to Debian's codebase, as well as what further patches/improvements should eventually be made.
Please let me know if you discover edge cases which I have not accounted for, and I'll do my best to resolve them. Even since initially posting the package, I've found and resolved some myself (e.g. parsing the adduser --comment argument would fail in the first release of this package because Arch uses a different version of chfn to Debian). But at least as far as I can test manually, the package seems to be functional.
Unlike the last time this package was issued, I will endeavour to keep it up-to-date and respond to comments.
Pinned Comments
neoninteger commented on 2023-03-07 06:53 (UTC) (edited on 2023-03-08 03:28 (UTC) by neoninteger)
This is a mostly-working port of Debian's
adduseranddeluserscripts, adjusted to conform to the Arch Linux policies regarding user names and IDs. It is mostly functional, but some lesser-used functionality has not been extensively tested (i.e. most functionality not covered by the testsuite, such as quota duplication and home directory backups). ThePKGBUILDdocuments all of the patches which are performed to Debian's codebase, as well as what further patches/improvements should eventually be made.Please let me know if you discover edge cases which I have not accounted for, and I'll do my best to resolve them. Even since initially posting the package, I've found and resolved some myself (e.g. parsing the
adduser --commentargument would fail in the first release of this package because Arch uses a different version ofchfnto Debian). But at least as far as I can test manually, the package seems to be functional.Unlike the last time this package was issued, I will endeavour to keep it up-to-date and respond to comments.