| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
and terminate it. This patch ensures passwords will be the correct length of 8,
which is what is implied in the source (but not reflected in the man page).
PR: bin/7817
Reviewed by: Alfred Perlstein <bright@hotjobs.com>
Submitted by: Hiroshi Nishikawa <nis@pluto.dti.ne.jp>
|
|
|
|
| |
Submitted by: Peter Philipp <pjp@bsd-daemon.net>
|
| |
|
|
|
|
|
| |
PR: docs/7905
Submitted by: kuma@jp.freebsd.org
|
|
|
|
| |
PR: docs/7788
|
|
|
|
|
|
| |
an *interactive* command for newbies. The pw(8) does now a much better
job for adding users from command line. Also, the -batch option is
not well tested, buggy and unsupported.
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
PR: 6754
Submitted by: uhlar@netlab.sk
|
| |
|
| |
|
|
|
|
|
| |
PR: 5677
Submitted by: Adrian Filipi-Martin <adrian@virginia.edu>
|
|
|
|
|
|
|
| |
a few technical faults.
PR: 5692
Submitted by: dannyman@arh0300.urh.uiuc.edu
|
|
|
|
|
| |
PR: bin/5715
Submitted by: dannyman <dannyman@arh0300.urh.uiuc.edu>
|
| |
|
|
|
|
| |
with BSD/OS.
|
|
|
|
|
|
|
|
| |
writeable -> writable (recall prior debate over this? :-)
initialise -> initialize
recognise -> recognize
Merry Christmas! :)
|
|
|
|
| |
in /etc/adduser.conf.
|
| |
|
| |
|
|
|
|
|
|
| |
Smarter error check if a uid is already in use.
Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>
|
| |
|
|
|
|
|
| |
PR: 4365
Submitted by: "Andrew L. Moore" <alm@mclink.com>
|
| |
|
|
|
|
| |
was updated.
|
| |
|
| |
|
| |
|
|
|
|
| |
Option -r is obsolete and buggy.
|
| |
|
|
|
|
|
| |
Adduser/rmuser stay for now until we get a good user-friendly front-end
for pw.
|
|
|
|
| |
the revision date is displayed correctly.
|
| |
|
|
|
|
|
|
|
| |
PR: 3666
Reviewed by:
Submitted by: iaint@css.tuu.utas.edu.au
Obtained from:
|
|
|
|
| |
can exists and "default" class is really equal to empty class.
|
|
|
|
| |
/etc/adduser.conf defaultclass with empty one
|
|
|
|
|
| |
2. Turn on send_message by default for security reasons (mailbox
must be pre-created)
|
|
|
|
|
| |
Reviewed by: Guy Helmer <ghelmer@cs.iastate.edu
Submitted by: Paul Sandys <myj@nyct.net>
|
|
|
|
| |
Use srandomdev() now
|
| |
|
|
|
|
|
| |
Comments in group database (/etc/group) are currently not
supported - adduser silently delete blank lines and comments.
|
|
|
|
|
|
|
|
|
|
| |
from /var/mail, added a routine to delete the removed user's files
from /tmp, /var/tmp, & /var/tmp/vi.recover, and added code to kill any
running processes owned by the removed user). I've also added a flag
for non-interactive execution, cleaned up the man page, and adjusted
my address.
Submitted by: ghelmer@cs.iastate.edu (Guy Helmer)
|
|
|
|
| |
This is a 2.2 candidate.
|
| |
|
|
|
|
| |
it must be NUL terminated
|
| |
|
| |
|
|
|
|
|
| |
max(MAXLOGNAME-1,UT_NAMESIZE).
Tidy up "pretty" printing format for longer usernames.
|