| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
encrypted password on the specified file descriptor.
PR: bin/22033
MFC after: 2 weeks
|
|
|
|
|
| |
because it is the originator of various const strings and knows that they
came from malloc.
|
| |
|
| |
|
| |
|
|
|
|
| |
always false on 64bit platforms and GCC 3.3.1 issues warning there.
|
|
|
|
|
|
| |
This has worked so far because the variable was empty by default.
Submitted by: Kostyuk Oleg <cub@cub.org.ua>
|
| |
|
|
|
|
| |
Prodded by: mikeh
|
| |
|
|
|
|
| |
PR: bin/53550
|
| |
|
| |
|
|
|
|
|
| |
PR: 35575
Submitted by: "Simon L. Nielsen" <simon@nitro.dk> (original version)
|
| |
|
| |
|
|
|
|
|
|
| |
preparing to edit it.
PR: bin/50563
|
|
|
|
| |
PR: bin/50563
|
|
|
|
|
|
|
| |
or the tty, just block selected signals in the parent like system(3) does.
Many thanks to bde for his assistance in finding the correct solution.
PR: bin/50679
|
|
|
|
|
|
|
|
| |
proper way to fix this. The way this works is to prepend "exec " to
the editor command to eliminate the "shell in the middle" which prevents
us from properly reawakening the editor after a SIGTSTP.
PR: bin/50679
|
| |
|
|
|
|
| |
Approved by: markm (mentor)(implicit)
|
|
|
|
| |
Approved by: markm (mentor)(implicit)
|
|
|
|
|
|
|
|
| |
next time the subroutine is re-entered
o s/configrun/configflag/
o Make the prompt make sense if the user was creating a configuration file
Approved by: markm (mentor)(implicit)
|
|
|
|
|
|
|
| |
variable.
PR: 48748
Reviewed by: mike (mentor)
|
| |
|
| |
|
|
|
|
|
|
| |
want the more verbose version, there's a -v option.
Approved by: markm (mentor)
|
|
|
|
| |
Switch to arc4random() completely.
|
|
|
|
|
|
|
|
| |
All characters will be accepted, and pw(8) can sort out which ones it
will allow and which ones it won't.
Approved by: markm (mentor)
Prodded by: Philippe Bourcier <philippe@cyberabuse.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If any of the given groups do not exist complain and let the user try again.
This saves the user from discovering at the end of the process that they've
forgotten to add a group or they've typoed.
Thanks to cmc/dougb for pointing out how bad my sh fu actually is.
Original code by: me
Scary sh rewrite by: dougb
Reviewed by: dougb
|
|
|
|
| |
Submitted by: sheldonh
|
|
|
|
| |
PR 28773 (not 28733!). I have closed both PR 28773 and PR 46890.
|
|
|
|
|
|
|
|
|
|
|
| |
or group name (mainly for the benefit of samba). This pretty much rewrites
he pw_checkname() routine, but should work exactly the same except for the
above change, and that error messages are somewhat more informative.
PR: 28733 46890
Inspired by: example patch written by Terry Lambert
Reviewed by: no objections on freebsd-arch and freebsd-current
MFC plans: no plans, but will do if people want it in stable.
|
|
|
|
| |
(/usr/sbin/pw already logs to /var/log/userlog)
|
|
|
|
|
|
|
|
| |
user and re-run interactive questions or quit depending on the
answer.
Submitted by: Scot Hetzel <hetzels@westbend.net>
Approved by: markm (mentor)
|
| |
|
|
|
|
|
|
|
| |
/var/log/adduser, disabled if empty or adduserlog="no")
- do not ask for password in configure mode
- print $passwdtype instead of password in configure mode
- add DATECMD, GREPCMD (not overridable but with full path)
|
| |
|