| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|