| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
shell style problems (superfluous backslashes at EOL).
PR: 55980
Submitted by: Chris S.J.Peron <maneo@bsdpro.com>
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
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
(/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)
|
| |
|
|
|
|
|
|
|
| |
While I'm here properly quote all the other input I neglected
to quote.
Approved by: markm (mentor)(implicit)
|
|
|
|
|
| |
Approved by: markm (mentor)(implicit)
Submitted by: Robin Breathe <robin@isometry.net>
|
| |
|
| |
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
| |
cleaning up temporary files.
Submitted by: Mike Makonnen <mtm@identd.net>
Approved by: re
|
|
|
|
| |
Approved by: re
|
|
|
|
|
| |
Submitted by: Mike Makonnen <mtm@identd.net>
Approved by: re
|
|
|
|
| |
Approved by: re
|
|
|
|
|
|
|
| |
is instead of the usual 022 umask, and explain that what the scheme
still prevents is unwanted changes, not prying eyes.
While I'm here, mess with the phrasing and line-breaks a bit.
|
|
|
|
|
|
| |
PR: 38481
Submitted by: Kevin Kinsey <kadmin@elisha.daleco.biz>
MFC after: 1 week
|
| |
|
|
|
|
|
| |
characters in a username: where it was inserted into a regexp.
Fix it by escaping metacharacters in the name with \Q-\E.
|
|
|
|
| |
inside the function that verifies username validity.
|
|
|
|
|
|
|
| |
Previously, a truth check instead if defined() check erroneously
allowed that.
PR: bin/8745
|
|
|
|
|
|
|
|
| |
into usernames: Make the regular expression to check usernames
against configurable.
PR: bin/22860 bin/31049
Reviewed by: sheldonh
|