| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
new sysopen call.
PR: 29366 (in part)
|
|
|
|
| |
PR: 29366 (in part)
|
|
|
|
|
|
|
|
| |
inconsistently named "ptmp" and "etc_ptmp". This commit changes
it to "passwd_tmp" for consistency and to match OpenBSD's name
for the variable.
Consulted with: jedgar
|
|
|
|
|
|
| |
Submitted by: dynamo@harvard.net
Obtained from: OpenBSD
MFC after: 3 days
|
|
|
|
|
|
| |
PR: bin/23052
Submitted by: Mike Sellenschuetter <mike.sellenschuetter@bankofamerica.com>
MFC after: 1 week
|
|
|
|
|
| |
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
|
| |
|
|
|
|
|
|
|
| |
properly, and doesn't hurt the other algorithms.
PR: 28991
Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>
|
| |
|
| |
|
| |
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
|
| |
There is still one instance of non-constant format string use inside that
function, but it's hard to fix.
MFC after: 1 week
|
|
|
|
| |
builtints (e.g., exit, strcmp).
|
|
|
|
|
|
|
| |
years; remove them from CFLAGS.
PR: 23712
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
|
|
|
|
| |
PR: 26674
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
account at creation, create accounts with a "*" password (so you can
use alternate authentication schemes without fearing a "default" password
biting you later), and blank passwords.
Yes, adduser could create a blank password account, but this makes it
slightly more difficult to shoot yourself in the foot.
The /etc/adduser.conf entries are:
# use password-based authentication for new users
# defaultusepassword = "yes" | "no"
defaultusepassword = "yes"
# enable account password at creation
# (the password will be prepended with a star if the account isn't enabled)
# defaultenableaccount = "yes" | "no"
defaultenableaccount = "yes"
# allow blank passwords
# defaultemptypassword = "yes" | "no"
defaultemptypassword = "no"
Requested by: alfred
Reviewed by: alfred
|
|
|
|
|
|
| |
group file. Because of the way the group sorting works while printing
out the new file it's not possible at this time to restore comments
in other locations, but at least they won't just disappear altogether.
|
|
|
|
|
|
|
|
|
|
| |
one user who differs only by case. The other perl tools assume (or enforce)
the all lowercase requirement, therefore making the search through
master.passwd case insensitive seemed a reasonable optimization, IMO.
I understand, although I do not sympathize with, the argument that someone
might want to do this on purpose, and might subsequently want to use the
wrong tool for the job. So, this fix should hopefully satisfy both camps.
|
|
|
|
|
|
|
| |
username to rm.
PR: 25961
Submitted by: Linh Pham <lplist@closedsrc.org>
|
| |
|
|
|
|
| |
- 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
|
|
|
|
|
| |
* Backslash escape non-alphanumeric chars in the login name so that perl
doesn't choke on things like '$'.
|
| |
|
|
|
|
| |
Use _PATH_* where where possible.
|
|
|
|
|
|
|
|
| |
Address this by using getpwnam(), thus killing several birds with
the same stone. My fix is slightly more aggressive than the
originators. :)
PR: misc/22278
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
|
|
|
|
|
|
|
| |
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
|