History log of /freebsd/usr.sbin/pw/pw.8 (Results 1 – 25 of 129)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d5732956 29-Jul-2024 Jose Luis Duran <jlduran@gmail.com>

pw: Clarify groupadd/groupmod memberlist formats

Clarify in which formats the memberlist for groupadd/groupmod can be
accepted for '-M', '-m', or '-d' flag.

Related commit: 40ab104eaa6f6d5577dcff6d

pw: Clarify groupadd/groupmod memberlist formats

Clarify in which formats the memberlist for groupadd/groupmod can be
accepted for '-M', '-m', or '-d' flag.

Related commit: 40ab104eaa6f6d5577dcff6d8bf04de03faef345.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1352

show more ...


Revision tags: release/14.1.0
# d2f1f71e 30-May-2024 Mike Karels <karels@FreeBSD.org>

pw userdel: destroy home dataset if empty

When removing a user's home directory, if the directory is a ZFS
dataset, it cannot be removed. If the directory has been emptied,
use "zfs destroy" to des

pw userdel: destroy home dataset if empty

When removing a user's home directory, if the directory is a ZFS
dataset, it cannot be removed. If the directory has been emptied,
use "zfs destroy" to destroy it. This complements the automatic
dataset creation in adduser. Note that datasets within the directory
and snapshots are not handled, as the complete path is not constructed.

While here, add waitpid() calls to rmat() and pw_user_del().

Reviewed by: des
Differential Revision: https://reviews.freebsd.org/D45348

show more ...


Revision tags: release/13.3.0, release/14.0.0
# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

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


Revision tags: release/13.2.0, release/12.4.0
# 1cbe5012 28-Nov-2022 Eugene Grosbein <eugen@FreeBSD.org>

pw(8): fix combination of modes -N and -w random

The command "pw usermod nobody -Nw random" (or useradd)
generates random password and prints it in encrypted form
but skips choosen random string tha

pw(8): fix combination of modes -N and -w random

The command "pw usermod nobody -Nw random" (or useradd)
generates random password and prints it in encrypted form
but skips choosen random string that makes not much sense
and contradicts the manual page pw.8

Fix it by showing random password in plain text with -N and
without it equally. Add yet another example of how to generate
pw-style random password.

MFC after: 2 weeks

show more ...


# adf9cd56 21-Jul-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

pw.8: Refernece to openssl-passwd(1) and crypt(3)

It may be unclear how to generate an encrypted password hash for -H,
so point users to openssl-passwd(1) and crypt(3).

MFC after: 2 weeks


Revision tags: release/13.1.0
# 84733f2e 03-Apr-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

pw.8: Do not specify full path to shell in examples

Providing a full path to a shell is discouraged in the description of
the -s flag. Let's follow the best practices in the examples.

MFC after: 1

pw.8: Do not specify full path to shell in examples

Providing a full path to a shell is discouraged in the description of
the -s flag. Let's follow the best practices in the examples.

MFC after: 1 week

show more ...


# 5243e560 03-Apr-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

pw.8: Fix synopsis of NIS flags

MFC after: 1 week


# a0177bd5 03-Apr-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

pw.8: Sorty synopsis flag

MFC after: 1 week


# feb04c7b 03-Apr-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

pw.8: Improve argument names

Arguments passed to flags like -d and -k had ambiguous names like "dir".
Change that to more descriptive names like "homedir".

Also, clarify that -u min,max is for UIDs

pw.8: Improve argument names

Arguments passed to flags like -d and -k had ambiguous names like "dir".
Change that to more descriptive names like "homedir".

Also, clarify that -u min,max is for UIDs and -i min,max for GIDs.

MFC after: 1 week

show more ...


# 39245a7d 02-Apr-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

pw.8: Sort flags in synopsis

MFC after: 1 week


# 77fd0356 01-Apr-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

pw.8: Use more appropriate mdoc macros

MFC after: 1 week


# 61e11ed9 01-Apr-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

pw.8: Improve use of mdoc macros in description section

MFC after: 1 week


# 5392b4fb 01-Apr-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

pw.8: Use Cm and Ar correctly in synopsis

MFC after: 1 week


Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0
# 9e43c218 10-Feb-2019 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r343807 through r343955.


# 60c81cf1 08-Feb-2019 Benedict Reuschling <bcr@FreeBSD.org>

Add an example to pw.8 about how to add an existing user to a group.

Instead of using pw to modify group membership, users often edit
/etc/group by hand, which is discouraged. Provide an example of

Add an example to pw.8 about how to add an existing user to a group.

Instead of using pw to modify group membership, users often edit
/etc/group by hand, which is discouraged. Provide an example of
adding a user to the wheel group, which is a common use case.
I'm using a different user here as in the previous example as that
deleted the user (although the examples don't necessarily have to
be followed in order).

Reviewed by: rgrimes,0mp
Approved by: 0mp
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D19123

show more ...


Revision tags: release/12.0.0, release/11.2.0
# d30f122f 10-Dec-2017 Eugene Grosbein <eugen@FreeBSD.org>

pw(8): correct expiration period handling and command line overrides
to preconfigured values for -e, -p and -w flags.

Use non-negative symbols instead of magic values
in passwd_val/pw_password funct

pw(8): correct expiration period handling and command line overrides
to preconfigured values for -e, -p and -w flags.

Use non-negative symbols instead of magic values
in passwd_val/pw_password functions.

PR: 223431
Submitted by: Yuri Pankov (in part, patch for the manual)
Reported by: mav (mentor)
MFC after: 3 days
Relnotes: yes

show more ...


Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0
# 93badfa1 16-Sep-2016 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r305687 through r305890.


# bb00e549 13-Sep-2016 Warren Block <wblock@FreeBSD.org>

Add another badly-needed simple example to the pw(8) man page.


# 9b8a603e 24-Apr-2016 Warren Block <wblock@FreeBSD.org>

Add a single example of adding a user that roughly corresponds with the
adduser example in the Handbook.

MFC after: 1 week


# d6084013 05-Apr-2016 Glen Barber <gjb@FreeBSD.org>

MFH

Sponsored by: The FreeBSD Foundation


# 579a636f 28-Mar-2016 Warren Block <wblock@FreeBSD.org>

Adjust misleading wording of the -G option and simplify a few
surrounding sentences. From a discussion on -ports.

Reviewed by: David Wolfskill <david@catwhisker.org>


Revision tags: release/10.3.0
# 11d38a57 28-Oct-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Merge from head

Sponsored by: Gandi.net


# f94594b3 12-Sep-2015 Baptiste Daroussin <bapt@FreeBSD.org>

Finish merging from head, messed up in previous attempt


# ab875b71 14-Aug-2015 Navdeep Parhar <np@FreeBSD.org>

Catch up with head, primarily for the 1.14.4.0 firmware.


Revision tags: release/10.2.0
# 1347814c 07-Aug-2015 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r285924 through r286421.


123456