| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
version of the adduser utility.
Noticed by: simon
|
|
|
|
|
|
|
|
| |
Removing the -compact option passed to .Bl macro to avoid useless .Pp macros;
Adding a missing period;
Using .Xr with .Nd since makewhatis(1) has no support for cases where the Xref is absent.
Informed by: ru
|
|
|
|
|
|
|
| |
Hook it to the build in Makefile.
Xref from adduser.8.
Update adduser.8's BUGS section.
Bump the date on adduser.8.
|
|
|
|
| |
Reminded by: trhodes
|
|
|
|
|
|
|
| |
o Add a -D option to not attempt to create the home directory.
o Treat the /nonexistent home directory specially. It means the user has
no home directory and it should not be created.
o Update Copyright year and my email.
|
|
|
|
|
|
|
|
|
|
|
| |
data buffering issue that corrupts files if two pw(8)'s run at the
same time as well as changing pw(8) so it uses the same locking
mechanism as PAM, vipw(8), pwd_mkdb(8), etc.
PR: bin/23501
Submitted by: Alex Kapranoff <alex (at) kapran (dot) bitmcnit (dot) bryansk (dot) su>
Approved by: rwatson (mentor)
MFC after: 5 days
|
|
|
|
|
|
|
|
| |
shell style problems (superfluous backslashes at EOL).
PR: 55980
Submitted by: Chris S.J.Peron <maneo@bsdpro.com>
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
encrypted password on the specified file descriptor.
PR: bin/22033
MFC after: 2 weeks
|
| |
|
| |
|