| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
|
|
|
|
| |
PR: 25187
Approved by: nik
|
|
|
|
|
| |
PR: 25187
Approved by: nik
|
|
|
|
|
|
| |
(random() or arc4random())
Reviewed by: bde
|
| |
|
| |
|
|
|
|
| |
Submitted by: Peter Avalos <pavalos@theshell.com>
|
|
|
|
|
|
| |
structure internals.
Reviewed by: markm
|
|
|
|
|
| |
PR: misc/23451
Submitted by: Ben Rosengart, ben@narcissus.net
|
|
|
|
| |
Use _PATH_* where where possible.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for crypt(3) by now. In any case:
Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).
The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)
Reviewed by: peter
|
|
|
|
|
|
|
| |
This should cause -w's argument not to be ignored in the usermod case,
so it will affect modification of the user's password instead of using
the pw.conf (or internal default=no '*') password method.
PR: bin/11168
|
|
|
|
|
| |
no default group (and thus fall back to user-based groups instead).
PR: bin/5717
|
|
|
|
|
|
| |
-h - to set no password. But only mark modified if the account is not
already locked (i.e. first char of crypt password field is '*').
PR: bin/19999
|
| |
|
|
|
|
|
|
|
| |
skeleton directory.
sprintf() -> snprintf() cleanup.
PR: bin/8756
Submitted by: "Nickolay N. Dudorov" <nnd@itfs.nsk.su>
|
|
|
|
|
|
|
| |
functionality when nothing had actually changed; -d changes would
not set the 'something had changed flag'. Actually test for a
change in homedir.
PR: bin/19649
|
| |
|
|
|
|
| |
Add weekday to showuser expired fields
|
|
|
|
|
| |
Use ISO 8601 date in logs.
Fix wrong argument type in ctype functions.
|
|
|
|
|
| |
PR: 17877
Submitted by: pius@zyan.com
|
|
|
|
|
|
| |
group names like 'help' 'mod' 'user' 'group' etc. to work correctly without
requiring the -n style invocation.
PR: misc/17069
|
|
|
|
| |
just fixed in .db file updating.
|
|
|
|
|
|
|
| |
a full reindex in this case to remove the old record. #ifdef -u capability
since this is available on FreeBSD only.
PR: bin/16418
Problem pointed out by: Masachika ISHIZUKA <ishizuka@ish.org>
|
|
|
|
|
|
|
|
| |
pw(8) was calling pwd_mkdb -u oldusername instead of newusername, so
the update appears to have failed until the next full pwd_mkdb
syncronization.
PR: bin/16418
|
|
|
|
|
|
| |
It was not discussed and should probably not happen.
Requested by: msmith and others
|
|
|
|
|
|
|
|
| |
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
|
| |
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
| |
|
|
|
|
|
|
|
|
| |
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design). libcrypt has
been adjusted to not need the runtime -lmd. It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.
|
|
|
|
|
| |
smart because it will definitely get it wrong. This popped up during
cross-linking.
|
|
|
|
|
|
| |
like "pw usermod <name> -m" to work for non-local NIS users; since no attempt
is made to update the password entry, the home directory will be created and
populated as expected without error.
|
|
|
|
|
|
| |
locking mechanism for users. This works by prepending the string
"*LOCKED*" to the password field in master.passwd to prevent successful
decoding.
|
|
|
|
| |
to fileupdate() which prevented pwd_mkdb(1) from being run.
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of a boolean. This replicated through he front-end sub-functions
relating to add, delete, modify entries in passwd & group files
Errno is now preserved so output of errc()/warnc() will be less obfuscated
by subsequent errors when reporting the problem.
Add more intelligent error handling when attempting to modify/delete NIS
entries with no corresponding local database entry.
[MFC to stable in a couple of weeks to keep both in sync]
|
|
|
|
|
|
|
| |
option as an optimization.
PR: 13346
Submitted by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
updating
2) Add -V <etcdir>, which allows maintaining user/group database in alternate
locations other than /etc.
|
|
|
|
|
|
|
| |
is a digit.
PR: bin/9484
Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
|
| |
|
|
|
|
|
|
|
| |
The char that the random letters and numbers are being pulled from is
ended with a '\0'. Using sizeof() includes this '\0' in the 'pool' of
possible characters. This patch decrements by one the size so we don't
accidently end the new password prematurly.
|