| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR: 38481
Submitted by: Kevin Kinsey <kadmin@elisha.daleco.biz>
MFC after: 1 week
|
|
|
|
| |
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
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: Brian Poole <raj@cerias.purdue.edu>
|
|
|
|
|
|
|
| |
have to regenerate the entire database.
PR: 25798
Submitted by: Domas Mituzas <domas.mituzas@delfi.lt>
|
|
|
|
|
|
|
| |
properly, and doesn't hurt the other algorithms.
PR: 28991
Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
account at creation, create accounts with a "*" password (so you can
use alternate authentication schemes without fearing a "default" password
biting you later), and blank passwords.
Yes, adduser could create a blank password account, but this makes it
slightly more difficult to shoot yourself in the foot.
The /etc/adduser.conf entries are:
# use password-based authentication for new users
# defaultusepassword = "yes" | "no"
defaultusepassword = "yes"
# enable account password at creation
# (the password will be prepended with a star if the account isn't enabled)
# defaultenableaccount = "yes" | "no"
defaultenableaccount = "yes"
# allow blank passwords
# defaultemptypassword = "yes" | "no"
defaultemptypassword = "no"
Requested by: alfred
Reviewed by: alfred
|
|
|
|
|
|
| |
group file. Because of the way the group sorting works while printing
out the new file it's not possible at this time to restore comments
in other locations, but at least they won't just disappear altogether.
|
| |
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
|
|
|
|
|
|
| |
an *interactive* command for newbies. The pw(8) does now a much better
job for adding users from command line. Also, the -batch option is
not well tested, buggy and unsupported.
|
|
|
|
|
| |
PR: 6754
Submitted by: uhlar@netlab.sk
|
|
|
|
| |
with BSD/OS.
|
|
|
|
| |
in /etc/adduser.conf.
|
|
|
|
|
|
| |
Smarter error check if a uid is already in use.
Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>
|
| |
|
|
|
|
| |
was updated.
|
| |
|
| |
|
|
|
|
| |
Option -r is obsolete and buggy.
|
|
|
|
| |
can exists and "default" class is really equal to empty class.
|
|
|
|
| |
/etc/adduser.conf defaultclass with empty one
|
|
|
|
|
| |
2. Turn on send_message by default for security reasons (mailbox
must be pre-created)
|
|
|
|
|
| |
Comments in group database (/etc/group) are currently not
supported - adduser silently delete blank lines and comments.
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
| |
pointed out by: max
|
| |
|
|
|
|
|
|
| |
I also renamed the adduser "-quit" option to "-quiet", since
it is supposed to be the same as the -s/-silent option,
and -quit must have beena typo.
|
| |
|
|
|
|
|
| |
(in /etc/adduser.message text)
Sending password by E-mail on local machine is joke in any case
|
|
|
|
| |
Submitted by: kuku
|
|
|
|
|
|
| |
close PR#1595
suggested by: Seppo Kallio <kallio@beeblebrox.cc.jyu.fi
|
|
|
|
|
|
|
| |
was to paranoid, pwd_mkdb(8) is carefully enough to not
corrupt master.passwd on failure.
Submitted by: joerg
|
|
|
|
|
|
|
| |
ask for matching confirmation. I'm sure there is a clever direct-from-perl
ioctl way of putting the terminal into noecho mode, but I don't feel like
learning perl so I just used system. [yes, I'll put stty on the installation
boot floppy as necessary]
|
|
|
|
|
|
|
|
| |
I couldn't make any sense of the sentence "Eval variables in this file." so I
left it alone.
also allow creation of new local group when NIS groups are used.
this can probably be done more elegantly, and needs more thought.
|
| |
|
|
|
|
| |
of /etc/master.passwd
|
| |
|
|
|
|
|
|
| |
you can still enable it. Better, use mail client like elm or pine.
Requested by: Jordan
|
|
|
|
|
|
| |
We also don't ship tcsh or ksh by default.
Correct these two things to make sh the default and increase csh and sh
to be higher priority.
|
|
|
|
| |
bugfix: chown home directory if don't copy dotfiles
|