| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bottom of the manpages and order them consistently.
GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.
Found by: mdocml lint run
Reviewed by: ru
|
| |
| |
| |
| | |
through this file.
|
| | |
|
|/
|
|
|
|
| |
The size of the username record in utmp files should not influence the
maximum username length. Right now ut_user/ut_name is big enough, so in
this case it's dead code anyway.
|
|
|
|
|
|
| |
Remove pw_getrand() unneded now: arc4random_uniform() is stronger then
pw_getrand()'s MD5 tricks (inactive) and its active version, mixing
arc4random() bytes in one, not make things better at all.
|
|
|
|
|
|
|
|
|
|
|
| |
setting. When the scripts were converted to Bourne shell, this was
removed. The adduser script was changed to use an explicit path for
the pw(8) command so that /usr/sbin did not have to be in the user's
PATH. The rmuser script continued to assume that /usr/sbin was in the
user's path, however. This fixes the rmuser script to use an explicit
path for pw(8) similar to adduser.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
sanity check by invoking "pwd_mkdb -C". However, if this failed it
silently returned success. Fix this so it fails the update operation
instead.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
This makes blowfish password hashes look normal when set using
pw(8)/adduser(8). [1]
- Make it possible to have a '/' in the salt.
PR: 121146 [1]
Submitted by: Jaakko Heinonen [1]
Approved by: rwatson (mentor)
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
nonexistant -p flag.
PR: 120122
Submitted by: Andy Kosela <andy.kosela@gmail.com>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
from a group without the need to perform the same operation by replacing
the existing list via the '-M' option. The '-M' option requires someone
to fetch the existing members with pw, deleting the undesired members from
the list and sending the altered list back to pw.
Approved by: wes (mentor)
MFC after: 5 days
|
|
|
|
|
| |
Approved by: wes (mentor)
MFC after: 5 days
|
|
|
|
|
|
|
|
| |
Works both in interactive or batch mode. This is a heavily modified version
of the patch submitted in the PR.
PR: bin/105060
MFC after: 1 week
|
|
|
|
| |
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
|
|
|
|
|
| |
Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> (modulo minor changes)
MFC after: 2 weeks
|
|
|
|
|
|
| |
lost in the shell script rewrite of the rmuser command.
Submitted by: Ian Smith <smithi@nimnet.asn.au>
|
| |
|
|
|
|
|
|
|
| |
user should not depend on the internal variables documented in
this man page.
MFC After: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) The man page should describe the code, not the other way around.
2) Internal variables should not be documented or exposed, except in
controlled circumstances (i.e. - That's what the -C flag is for).
The variable should have been saved to the config file in save_config().
3) The next available userid doesn't get automatically updated. The
end-result is the same (user gets added with the correct uid),
but in an interactive session the default uid doesn't get updated in
the display.
So,
o Use the uidstart variable instead of uuid (bug #3)
o Actually save the variable to adduser.conf (bug #2)
o (bug #1 to be fixed in an upcomming commit to adduser.conf.5)
MFC After: 2 weeks
|
|
|
|
|
|
|
| |
Fix it for real.
Submitted by: Johnny Lee <johnny@bmtk.com>
MFC After: 2 weeks
|
|
|
|
| |
PR: bin/63659
|
|
|
|
| |
PR: bin/53434
|
|
|
|
| |
more specific about the effect of the current umask on -M.
|
| |
|
|
|
|
|
|
|
|
| |
the user's newly created home directory. If omitted, it's derived
from the current umask.
PR: bin/16880, bin/83253 (partially), bin/104248
MFC in: 1 month
|
|
|
|
| |
username instead of watching the final call to pw(8) fail.
|
| |
|
| |
|
|
|
|
| |
Kicked by: ru
|
|
|
|
|
|
| |
prefix is removed.
PR: 103828
|
| |
|
|
|
|
|
|
| |
PR: bin/100684
Submitted by: Devon H. O'Dell
MFC after: 3 weeks
|
|
|
|
|
|
| |
but not being with a hyphen, similar to adding_user.8.
PR: 35732
|
|
|
|
|
|
| |
PR: conf/87914
Approved by: philip (mentor)
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous symlink was confusing:
# cd /jails/virtual_system_1/home
# realpath .
/usr/home
...and slower.
OK'ed by: rwatson, phk
|
|
|
|
|
| |
Approved by: wpaul
MFC after: 1 day
|
|
|
|
|
|
|
|
|
| |
When adding users from a preformatted file, do not exit
silently when empty lines or lines starting with a '#'
are encountered - ignore them instead.
- Fix a spelling error in a comment.
PR: bin/80058
|
| |
|
|
|
|
| |
here.
|
| |
|
| |
|
|
|
|
| |
function.
|
|
|
|
|
|
|
|
|
| |
loop to avoid an incorrect display of the nologin path twice.
PR: 71786
Submitted by: Andrew Hayden <andrew.hayden@gmail.com>
Reviewed by: mtm
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
Previously, it would recognize it as a valid shell only
if the basename (nologin) was specified. Now, it will
recognize both the basename and the full path.
NOTE: The full path as adduser(8) understands it is /usr/sbin/nologin.
There is a symlink, /sbin/nologin, but that's deprecated and
only there for backwards compatibility.
|
| |
|
|
|
|
|
|
|
| |
strncpy(d, s, l);
d[l - 1] = '\0';
statements.
|
|
|
|
|
|
|
|
| |
-d option was equal to the one already saved and which caused
the pw utility to avoid updating values passed by other options
processed before the -d option in the code path.
Spotted by: Richard Caley <rjc@interactive.co.uk>
|
| |
|
|
|
|
| |
Approved by: bmilekic (mentor)
|
|
|
|
|
| |
Make explicit in the documentation that valid shells need to be
supplied only if the -S option is not given.
|
| |
|