| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
|
|
|
| |
There is still one instance of non-constant format string use inside that
function, but it's hard to fix.
MFC after: 1 week
|
|
|
|
|
| |
PR: 25187
Approved by: nik
|
|
|
|
|
|
| |
structure internals.
Reviewed by: markm
|
|
|
|
| |
Use _PATH_* where where possible.
|
|
|
|
| |
Add weekday to showuser expired fields
|
|
|
|
|
| |
Use ISO 8601 date in logs.
Fix wrong argument type in ctype functions.
|
|
|
|
|
|
| |
group names like 'help' 'mod' 'user' 'group' etc. to work correctly without
requiring the -n style invocation.
PR: misc/17069
|
| |
|
|
|
|
|
|
| |
locking mechanism for users. This works by prepending the string
"*LOCKED*" to the password field in master.passwd to prevent successful
decoding.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
updating
2) Add -V <etcdir>, which allows maintaining user/group database in alternate
locations other than /etc.
|
| |
|
|
|
|
|
|
|
| |
consider it a exit failure if it doesn't work. This means that root
processes can safely get the lock, but normal processes can still use
the 'pw' utility to get information (which may change out from under
them.)
|
|
|
|
|
|
|
|
| |
from PR/6787, but allow non-root users to use pw to get password
information. However, this should be safe since the fixes for
disallowing multiple instances from modifying the DB are still intact.
Bug noted by: dima@best.net (Dima Ruban)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
run at the same time.
Notes:
The fileupdate function is still somewhat broken. Instead of
returning a failure code if it can't modify the original file it
renames the .new file and continues as though nothing is wrong.
This will cause the lock on the original file to be lost and could
lead to a similar race condition. I left that portion of the code
alone since I feel that the maintainer of the code would have a
better concept of how he wants to handle errors in that function
than I do.
PR: bin/6787
Submitted by: Craig Spannring <cts@internetcds.com>
|
| |
|
| |
|
| |
|
|
|
|
|
| |
max(MAXLOGNAME-1,UT_NAMESIZE).
Tidy up "pretty" printing format for longer usernames.
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
|
|
| |
NIS maps.
Suggested by: Peter Wemm
|
|
|
|
|
|
| |
copyright.
Submitted by: David Nugent
|
|
|
|
|
|
|
|
| |
sysinstall use of this tool (plus some bug fixes).
2.2 candidate...
Submitted by: David Nugent <davidn@nserver.usn.blaze.net.au>
|
|
sysinstall's new User&group menu will use it, hence it's a 2.2
candidate despite of providing new functionality.
Submitted by: David L. Nugent, <davidn@blaze.net.au>
|