| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Reviewed by: bapt
|
|
|
|
|
|
|
| |
Add a regression test about it
PR: 194971
Submitted by: Freddy DISSAUX <bugzilla@dsx.bsdsx.fr>
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
in r252688.
MFC after: 3 days
|
|
|
|
|
| |
Reviewed by: will
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
Previuosly given 'foo,bar' members, removing 'foo' would result in an
infinite loop.
PR: 191427
Submitted by: Voradesh Yenbut <yenbut cs.washington.edu>
MFC after: 1 week
|
|
|
|
|
|
| |
PR: 189172
Submitted by: fullermd@over-yonder.net
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
Fix some broken indentattion
PR: 189173
Submitted by: fullermd@over-yonder.net
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
is not associated with user "username". E.g., user "foo" has primary group
"wheel" and is unassociated with group "foo", yet userdel would delete the
group "foo" when deleting user "foo" (despite the fact that user "foo" is
not associated with group "foo" in any way).
Patch committed with minor style(9) changes.
PR: bin/169471
Submitted by: Alexander Pyhalov <apyhalov@gmail.com>
|
|
|
|
|
|
|
|
| |
Don't let pw crash when give certain input.
PR: 187310
Submitted by: Kim Shrier
MFC after: 1 week
|
|
|
|
|
|
|
| |
PR:187310
Submitted by: Kim Shrier
Obtained from: bug
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
date to the current date.
MFC after: 3 days
|
|
|
|
| |
Submitted by: dt71@gmx.com
|
| |
|
|
|
|
| |
a user whose group != username.
|
|
|
|
|
| |
Approved by: cperciva
MFC After: 3 days
|
| |
|
| |
|
|
|
|
|
|
|
| |
print a newline after printing each group line.
PR: bin/174731
Submitted by: Jan Beich <jbeich@tormail.org>
|
| |
|
|
|
|
| |
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
|
|
|
|
|
|
| |
terminator is j + 2.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
|
|
|
|
|
| |
otherwise the user planned to be deleted remain in the pwd.db while removed from
the plain text password file.
|
|
|
|
| |
Reported by: "Sam Fourman Jr." <sfourman@gmail.com>, dim
|
|
|
|
|
|
| |
Submitted by: db
Approved by: cperciva
MFC after: 2 weeks
|
|
|
|
|
|
| |
Submitted by: db
Approved by: cperciva
MFC after: 2 weeks
|
|
|
|
|
|
| |
Submitted by: db
Approved by: cperciva
MFC after: 2 weeks
|
|
|
|
|
|
| |
Submitted by: db
Approved by: cperciva
MFC after: 2 weeks
|
|
|
|
|
| |
Approved by: cperciva
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
| |
MFC after: 2 months
|
|
|
|
| |
Reported by: Robert Bonomi <bonomi@mail.r-bonomi.com>
|
|
|
|
|
|
|
|
|
| |
number.
This also allow pw user show to work as expected.
PR: bin/172112
Submitted by: "Ilya A. Arkhipov" <rum1cro@yandex.ru>
MFC after: 1 month
|
|
|
|
| |
especially in error cases.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
PR: docs/161588
Submitted by: "Luchesar V. ILIEV" <luchesar.iliev@gmail.com>
Approved by: gjb
MFC after: 1 week
|