| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
pw_equal does not check crypted password field, so one cannot change
crypted password keeping other fields intact.
Approved by: des
MCF after: 3 days
|
|
|
|
|
|
| |
PR: bin/100684
Submitted by: Devon H. O'Dell
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
|
|
| |
(copy it silently, do not dereference NULL pointer).
PR: bin/102848
Reviewed by: security-officer (cperciva)
MFC after: 1 week
|
|
|
|
|
|
| |
but not being with a hyphen, similar to adding_user.8.
PR: 35732
|
|
|
|
|
|
|
|
| |
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
|
|
|
|
|
|
| |
it first.
Approved by: andre
|
|
|
|
|
|
|
|
| |
providing proper error checking and other improvements.
Obtained from: OpenBSD
Requested by: flz (to port Open[BGP|OSPF]D)
MFC after: 3 days
|
|
|
|
| |
and loading it.
|
|
|
|
|
|
| |
PR: conf/87914
Approved by: philip (mentor)
MFC after: 3 days
|
|
|
|
|
| |
Idea from: jmg
Discussed on: arch@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If turned on no NIS support and related programs will be built.
Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
readable form.
Obtained from: NetBSD
|
|
|
|
|
|
| |
to variadic functions.
Approved by: das (mentor)
|
|
|
|
|
|
|
| |
arguments. The function has as a second argument a struct passwd * pointer,
not a directory name.
MFC after: 2 weeks
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
PR: docs/63677
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
shell style problems (superfluous backslashes at EOL).
PR: 55980
Submitted by: Chris S.J.Peron <maneo@bsdpro.com>
MFC after: 2 weeks
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
a new function dup_shell() to replace ok_shell() and make it unconditionnally
strdup() its result to make the caller's code simplier. Change ok_shell() to
just return an integer value suitable for tests (it was used mainly for that
purpose). Do not use strdup() in the caller's code but rely on dup_shell()
that will do the job for us.
PR: bin/2442
|
|
|
|
|
| |
PR: bin/2442
Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de>
|