| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
less robust to possible errors of the user/admin while adduser(8)
had been intended to minimize their possibility.
An alternative way of introducing strange symbols into usernames
to be committed really soon.
|
|
|
|
|
|
|
|
| |
the skeleton directory are chown'd to the new user.
PR: bin/10601
Submitted by: Adrian Filipi-Martin <adrian2ubergeeks.com@gosub.cstone.net>
MFC after: 1 month
|
|
|
|
| |
PR: docs/30797
|
| |
|
|
|
|
|
| |
Now it should be @pwd_mkdb since we moved to Perl's
safe system() not using /bin/sh.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a) Convert all the remaining older Perl system() calls to the new,
more secure LIST format so they are robust to whitespace and
shell metacharacters in their arguments.
b) Add a new option: -force, which allows adding usernames containing
characters that are otherwise illegal.
PR: bin/22860 bin/31049
|
|
|
|
| |
in the code and what the warning message reads.
|
|
|
|
|
| |
Previously, it was possible due to 0 and "0" being
equivalent in Perl.
|
|
|
|
| |
locale settings: allow any date and time separator characters.
|
|
|
|
|
| |
Don't print "Removing at jobs" if there are no jobs to remove.
Add a whitespace before "done." so the output looks better.
|
|
|
|
| |
Submitted by: Brian Poole <raj@cerias.purdue.edu>
|