Age | Commit message (Collapse) | Author |
|
|
|
ok millert krw
|
|
optarg.
fixes a segfault introduced by the atoi to strtonum change and
reported by ajacatout@
|
|
|
|
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;
|
|
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
|
|
encryption for usermod and friends.
OK millert@, seems reasonable for now tedu@
|
|
the errno of an intervening cleanup operation like close/unlink/etc.
Diff from Doug Hogan (doug (at) acyclic.org)
|
|
|
|
check for skeldir set to the empty string. Fixes a problem where
the owner/mode is not set on the user's homedir if the specified
skeldir does not exist. OK ajacoutot@
|
|
This matches what pw_scan() expects. OK deraadt@
|
|
|
|
ok guenther
|
|
or 13*. Also make sure to never endup with an empty password.
cluebat and ok miod@
|
|
Do not try to (un)lock system users; people wanting to do so (???) will
know what they do and use vipw(8).
unlocking issue reported by Andre Stobe on tech@
cluesticks and ok miod@, ok deraadt@
|
|
created users into their own primary group.
This does not change existing installations that already have a
usermgmt.conf(5).
ok todd@ beck@
|
|
-U to unlock an account
-Z to lock an account
Locking means adding a '*' prefix to the encrypted password and appending
a '-' to the user's shell... and obviously the opposite for unlocking.
some inputs from sthen@, otto@ and deraadt@
ok todd@
|
|
spotted by Jeremie Courreges-Anglas
|
|
usermod -S '' username
Original patch from jca at wxcvbn dot org.
Added a comment to the man page.
man tweaks and ok jmc@
ok miod@
|
|
the system otherwise we may end up removing all groups from a user.
ok miod@
|
|
from Michael W. Bombardieri
ok miod@
|
|
but user(8) behaviour has become OS specific in time so there's no
sense keeping this. We are OpenBSD and we use BSD EXTENSIONS
unconditionally.
ok miod@ millert@ deraadt@
|
|
inputs from and ok miod@
|
|
installer do) and do not append the user to its primary group name in
/etc/group.
ok miod@
|
|
ok krw
|
|
permits to remove a user from a group).
It uses the same syntax as `-G'.
In practice this works like `-G' on Linux; it was decided not to modify
our `-G' option because people rely on the existing behavior (which
works like `-aG' on Linux, i.e. append to group).
Reworked from scratch from a submission by Frank Brodbeck.
man page bits reviewed by jmc@
ok miod@
|
|
as suggested by Glen Anderson <g dot s dot anderson at gmail dot com>;
while here, add a few missing "[,group,...]",
do not lump punctuation into .Ar, and drop useless .Li from "..".
OK jmc@
|
|
as noted by schwarze@, the semantics of the .Bk macro is slightly
different now to conform with modern groff releases; using a
command-line option (.Op) macro, instead of its multiline version,
while preserving the .Bk/.Ek block makes our manual pages compatible
with mandoc, new groff and even groff-1.15.
ok jmc@, schwarze@
|
|
|
|
and usermod(8) but also with the notational conventions used in
other manual pages.
ok jmc@
|
|
- put -G in the right place
|
|
for chars.
|
|
|
|
|
|
nonsensical in that case (and usually zero).
- when altering the groups file, preserve a single "+" line instead of
complaining it is incorrect and removing it.
ok fgsch@ millert@ ray@
|
|
use strcspn to properly overwrite '\n' in fgets returned buffer
ok ray@ jaredy@
looks ok gilles@ long time ago on a similar diff
|
|
the synopsis and usage of user(8) related commands; sort the options
list in the DESCRIPTION section of the manual pages; spacing.
ok jmc@
|
|
with the right mdoc macros.
|
|
- remove non-functional -v option from docs/usage()
feedback/ok millert otto
|
|
struct tm to mktime() so that the calculation will follow the local
DST rules
ok millert@ otto@
|
|
end of the file, for this would make logins coming after the yp line (such
as nomadic or fallback accounts) to come back before the yp line and take
precedence. Found the hard way installing packages needing a user to be created.
ok deraadt@
|
|
fixes is from pr 5554. ok millert, ray
|
|
|
|
|
|
OK millert@.
|
|
routines.
OK millert@.
|
|
|
|
|
|
|