| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
UID_MAX/GID_MAX
PR: 173977
Reported by: nvass@gmx.com
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
functions
This allows to simplify the code a bit for -R by not having to keep modifying
path and also prepare the code to improve support -R in userdel
While here, add regression tests for the functionality
|
| |
|
|
|
|
|
| |
Use gr_add(3) when possible to avoid code duplication.
Use a simpler logic to delete members of a group
|
|
|
|
|
|
| |
of creating a user (regression from r285136)
Reported by: Fabian Keil <fk@fabiankeil.de>
|
|
|
|
|
|
| |
PR: 198554
Reported by: diaran <fbsd@centraltech.co.uk>
MFC after: 2 days
|
|
|
|
|
| |
Simplify the code, by only using one parser, ensure the dates (hours and dates)
are valid
|
|
|
|
| |
Use strptime_l(3) to validate the dates provided in input
|
|
|
|
|
|
|
| |
Push the code that set the password into a separate function to improve
readability
Add regression tests about pw usermod -h and pw usermod -H
|
| |
|
| |
|
|
|
|
| |
Check early that the new name fits MAXLOGNAME and store it in pwconf
|
|
|
|
|
| |
Mutualize code to validate inputs of both 'user' and 'group' command
Test that the input name fits into MAXLOGNAME
|
|
|
|
|
|
|
| |
time stamps.
PR: 197861
Approved by: will
|
|
|
|
| |
Approved by: will
|
|
|
|
|
| |
PR: 197612
Approved by: will
|
|
|
|
|
|
| |
PR: 197612
Submitted by: Robert O'Niel <oneil.rs@gmail.com>
Approved by: will
|
|
|
|
|
|
| |
PR: 197120
Submitted by: Robert O'Neil <oneil.rs@gmail.com>
Approved by: will
|
|
|
|
|
|
| |
uid and gid are never and should never be negative. The pw(8) manpage clearly
states the -u and -g arguments are for uids/gids, hence using negative values is
abusing a bug in former versions of pw(8)
|
|
|
|
|
| |
PR: 196514
MFC after: 1 week
|
|
|
|
|
|
| |
PR: 150449
Submitted by: Robert O'Neil <oneil.rs@gmail.com>
Approved by: will
|
|
|
|
|
| |
Reviewed by: will
Suggested by: ngie
|
|
|
|
|
|
|
|
| |
Fix a missing test in the Makefile from my previous commit.
PR: 195834 [1]
Submitted by: Robert O'Neil <oneil.rs@gmail.com>
Approved by: will
|
|
|
|
| |
Approved by: will
|
|
|
|
|
|
| |
PR: 195832
Submitted by: Robert O'Neil <oneil.rs@gmail.com>
Approved by: will
|
|
|
|
|
|
| |
across all the tests as needed.
Reviewed by: will
|
|
|
|
| |
Reviewed by: will
|
|
|
|
|
| |
Submitted by: Robert O'Neil <oneil.rs@gmail.com>
Reviewed by: will
|
|
|
|
|
|
|
| |
Add a regression test about it
PR: 194971
Submitted by: Freddy DISSAUX <bugzilla@dsx.bsdsx.fr>
|
|
|
|
| |
requires it)
|
|
|
|
|
|
|
|
|
| |
- Suffix useradd/userdel commands with pw
- Remove the atf_expect_fail for bin/39546
Phabric: D921
Reviewed by: brd
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
|
|
|
|
|
| |
Add a regression test to pw(8) because the bug was discovered via using:
pw groupmod
PR: 187189
Reported by: mcdouga9@egr.msu.edu
Tested by: mcdouga9@egr.msu.edu
Patch by: Marc de la Gueronniere
|
|
|
|
|
|
| |
Check the uid passed is actually a number as early as possible
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check that the -g argument is actually a number, if not report an error.
This argument is converted without checking with atoi(3) later so without this
check it converts any alpha entries into 0 meaning it deletes the group wheel
Add a regression test about it
PR: 90114
Reported by: bkoenig@cs.tu-berlin.de
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
The user was perperly adding the to different groups from "list" but was not
removed from the other groups it could have belong to.
While here add a regression test about this bug
PR: 185666
Reported by: sub.mesa@gmail.com
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
In that case get the group information using the new name.
Add a regression test about this bug
PR: 193704
Reported by: az
|
|
|
|
| |
Reviewed by: will
|
|
Reviewed by: will
MFC after: 1 month
|