History log of /freebsd-current/usr.sbin/adduser/adduser.8
Revision Date Author Comments
# 215c0a51 11-Apr-2024 John Grafton <john.grafton@gmail.com>

adduser(8): support creation of ZFS dataset

On systems utilizing ZFS, default to creating a ZFS dataset for a new
user's home directory if the parent directory resides on a ZFS dataset.
Add a flag that disables this behavior if the administrator explicitly
does not want it.

If run during installation from within a chroot, set mountpoint to legacy
after dataset creation and mount directly into the chroot. Then umount
and reset the mountpoint to inherit from parent.

Also support ZFS default encryption on user's home directory.

Feedback by: delphij
Reviewed by: imp, kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/881


# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 1888bce2 31-Oct-2017 Eitan Adler <eadler@FreeBSD.org>

Remove 'adding_user.7'

Not to be confused with adduser.
Not to be confused with useful information.

Differential Revision: https://reviews.freebsd.org/D12848


# 01c2b8ac 20-Jun-2014 Baptiste Daroussin <bapt@FreeBSD.org>

use .Mt to mark up email addresses consistently (part2)

PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>


# 6b63b7b7 15-Sep-2012 Isabell Long <issyl0@FreeBSD.org>

Remove a reference to CVS and to freefall from a user-facing man page.

PR: docs/171658
Reported by: Chris Petrik (c dot petrik dot sosa at gmail dot com)
Approved by: gabor (mentor)
MFC after: 5 days


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# eb95fd33 16-Mar-2008 Christian Brueffer <brueffer@FreeBSD.org>

In the description of the password field, -w was meant, not the
nonexistant -p flag.

PR: 120122
Submitted by: Andy Kosela <andy.kosela@gmail.com>
MFC after: 3 days


# 43cb08ce 27-Jan-2008 Mike Makonnen <mtm@FreeBSD.org>

Add the -M command-line option, which will set home directory permissions.
Works both in interactive or batch mode. This is a heavily modified version
of the patch submitted in the PR.

PR: bin/105060
MFC after: 1 week


# 88b63feb 19-Oct-2007 Mike Makonnen <mtm@FreeBSD.org>

Allow adding a user(s) to additional groups in batch mode as well.

Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> (modulo minor changes)
MFC after: 2 weeks


# 3f61998e 05-Dec-2006 Ceri Davies <ceri@FreeBSD.org>

Flush my typo fix queue for this directory.


# b3bd9a17 05-Dec-2006 Ceri Davies <ceri@FreeBSD.org>

Fix typos.


# bc84aa4b 29-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# 15b2a87f 06-Jun-2006 Tom Rhodes <trhodes@FreeBSD.org>

Add adding_user.8 to SEE ALSO, note that usernames may contain any character
but not being with a hyphen, similar to adding_user.8.

PR: 35732


# e7291a6b 06-Jun-2004 Mike Makonnen <mtm@FreeBSD.org>

Accept full path names in addition to base names for shells.

Make explicit in the documentation that valid shells need to be
supplied only if the -S option is not given.


# d07e6722 04-Jun-2004 Ruslan Ermilov <ru@FreeBSD.org>

Fixed a typo.


# 00de0ec3 30-Mar-2004 Tom Rhodes <trhodes@FreeBSD.org>

Add an adduser.conf manual page.
Hook it to the build in Makefile.
Xref from adduser.8.
Update adduser.8's BUGS section.
Bump the date on adduser.8.


# 0d640c0d 16-Mar-2004 Mike Makonnen <mtm@FreeBSD.org>

o Add an -S option to not attempt to ascertain the validity of a shell.
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.


# 743d5d51 10-Sep-2003 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7): Properly mark C headers.


# 8923e98b 20-Jun-2003 Mike Makonnen <mtm@FreeBSD.org>

Add support for the special shell nologin.

Prodded by: mikeh


# 642a7af5 20-Mar-2003 Mike Makonnen <mtm@FreeBSD.org>

Add a -g option to specify a default login group.

Approved by: markm (mentor)(implicit)


# 3967e18a 04-Feb-2003 Tony Finch <fanf@FreeBSD.org>

Better gender-neutral language.

Submitted by: sheldonh


# 57bd0fc6 26-Dec-2002 Jens Schweikhardt <schweikh@FreeBSD.org>

english(4) police.


# 829629fe 04-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: overhaul.

Approved by: re


# 7cdfce09 02-Dec-2002 Scott Long <scottl@FreeBSD.org>

Replace the perl versions of adduser and rmuser with shell script versions.

Submitted by: Mike Makonnen <mtm@identd.net>
Approved by: re


# c041c1e0 27-Nov-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: markup fixes.

Approved by: re


# 78c26653 08-Nov-2002 Tony Finch <fanf@FreeBSD.org>

Clarify the unique groups scheme by mentioning that the 002 umask
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.


# 490d5836 14-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# 743511b2 28-Jan-2002 Yaroslav Tykhiy <ytykhiy@gmail.com>

Remove the newly added -force option because it made adduser(8)
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.


# 491a8429 14-Jan-2002 Ruslan Ermilov <ru@FreeBSD.org>

yp(4) -> yp(8).

PR: docs/30797


# b4ca3f25 02-Jan-2002 Yaroslav Tykhiy <ytykhiy@gmail.com>

Document a new option: -force.


# f247324d 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# a4c37c81 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed HISTORY info from the .Os call.


# 610a5778 01-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: split punctuation characters + misc fixes.


# 8b5c4af3 27-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

Prepare for mdoc(7)NG.


# ed403116 14-Dec-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed history info from the .Os FreeBSD call.


# e97407b4 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# 726b61ab 10-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

Avoid use of direct troff requests in mdoc(7) manual pages.


# 2216e2a2 13-Aug-2000 Gregory Neil Shapiro <gshapiro@FreeBSD.org>

Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.


# 2ed2dc52 06-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove more single-space hard sentence breaks.


# f2e366a1 01-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 97d92980 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 9657f84c 27-Jul-1999 Nik Clayton <nik@FreeBSD.org>

Remove references to the non-existent addgroup(8) and rmgroup(8)
commands.

PR: docs/12659
Submitted by: Mark Diekhans <markd@Grizzly.COM>


# 10e41aca 17-Aug-1998 Wolfram Schneider <wosch@FreeBSD.org>

Removing -batch option from adduser. Adduser was written as
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.


# 41c01ead 18-Mar-1998 Tim Vanderhoek <hoek@FreeBSD.org>

MF22: Remove confusing comma


# 1b95182f 14-Feb-1998 Steve Price <steve@FreeBSD.org>

Clarify the -batch arguments.

PR: 5677
Submitted by: Adrian Filipi-Martin <adrian@virginia.edu>


# 7bf7308c 02-Feb-1998 Wolfram Schneider <wosch@FreeBSD.org>

Typo.


# b8594fe0 01-Sep-1997 Philippe Charnier <charnier@FreeBSD.org>

Cosmetic changes.


# d0dff61c 22-Jun-1997 Steve Price <steve@FreeBSD.org>

Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.


# 84dc96f1 01-May-1997 Andrey A. Chernov <ache@FreeBSD.org>

1. Deal with login classes now
2. Turn on send_message by default for security reasons (mailbox
must be pre-created)


# 476602a9 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# bfd34a4a 19-Jan-1997 Wolfram Schneider <wosch@FreeBSD.org>

Sort cross references.


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

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.


# c84f83e0 29-Dec-1996 Wolfram Schneider <wosch@FreeBSD.org>

increase username length limit to 16


# 787a18db 22-Dec-1996 Mike Pritchard <mpp@FreeBSD.org>

Minor internal mdoc usage changes.


# 574d7dc0 22-Dec-1996 Mike Pritchard <mpp@FreeBSD.org>

Minor style fixes.

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.


# 901c028e 16-Nov-1996 Wolfram Schneider <wosch@FreeBSD.org>

install rmuser, addgroup, rmgroup in /usr/sbin


# 718737f0 28-Aug-1996 Adam David <adam@FreeBSD.org>

typo police

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.


# 5a80fb27 27-Aug-1996 Wolfram Schneider <wosch@FreeBSD.org>

sync copyright with /usr/share/examples/etc/bsd-style-copyright


# 85cf659a 22-Aug-1996 Mike Pritchard <mpp@FreeBSD.org>

Use the .Fx macro where appropriate.


# b86759fd 09-Jun-1996 Wolfram Schneider <wosch@FreeBSD.org>

documented login name limit
Obtained from: mailing list


# 4a8d0283 30-Jan-1996 Mike Pritchard <mpp@FreeBSD.org>

Fix a bunch of spelling errors in a bunch of man pages.


# f01592bb 08-Mar-1995 Andrey A. Chernov <ache@FreeBSD.org>

o more options
o less restrictive, you can choise uid, gid ...
o invite user into some groups
o encrypted passwords with crypt
o batch mode (for instance, this works now:
$ adduser -batch jkh guest,uuadmin "Jordan K. Hubbard" passwd
see manpage for more details)

Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>


# 0817ade9 09-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Correct some of the english.


# 8f1133e6 09-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Wolfram Schneider <wosch@cs.tu-berlin.de>:
o manpage
o save configuration in /etc/adduser.conf
o send message file (/etc/adduser.message)
Submitted by: woschcs.tu-berlin.de


# 5cc75e1e 03-Jan-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Update adduser to version by Wolfram Schneider. Sorry, Gary, but his
adduser is a Cadillac to your Volkswagen.. :-)
Submitted by: wosch@cs.tu-berlin.de


# 71d5664c 31-Dec-1994 Andrey A. Chernov <ache@FreeBSD.org>

Change ${COPY} to -c, always needed here
Remove manpage reference to BSD adduser, add pwd_mkdb reference


# 33148aa5 29-Dec-1994 Andrey A. Chernov <ache@FreeBSD.org>

Change man section


# 4298bedc 29-Dec-1994 Andrey A. Chernov <ache@FreeBSD.org>

Yet one cleanup