Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rewrite parsing subcommands arguments of pw(8) | Baptiste Daroussin | 2015-08-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | Now each subcommands checks its arguments in a dedicated functions. This helps improving input validation, code readability/maintainability While here: - Add a -y option to pw userdel/usermod so it can maintain NIS servers if nispasswd is not defined in pw.conf(5) - Allow pw -r <rootdir> to remove directory with userdel -r - Fix bug when renaming a user which was not renaming the user name it groups it is a member of. - Only parse pw.conf(5) when needed. | ||||
* | when -n is passed to any pw subcommand it is always expected to be considered as | Baptiste Daroussin | 2015-07-28 | 1 | -0/+10 |
| | | | | | | | | a name so do not try to convert it to an id if it is a numeric value PR: 31933 Reported by: ted@impulse.net Sponsored by: gandi.net | ||||
* | Ensure skeldir is abolute path (relatively to the rootdir) | Baptiste Daroussin | 2015-07-12 | 1 | -1/+1 |
| | |||||
* | pw -R <rootdir> userdel can now cleanup installation | Baptiste Daroussin | 2015-07-12 | 1 | -0/+20 |
| | | | | | | | Rewrite rm_r to use *at function, allowing to remove home directories along with users. only crontabs and at(1) installation are not removed Relnotes: yes | ||||
* | Break out the tests into a file per command and clean up some long lines | Brad Davis | 2014-12-09 | 1 | -0/+37 |
Approved by: will |