summaryrefslogtreecommitdiffstats
path: root/pw/pw.8
Commit message (Collapse)AuthorAgeFilesLines
* Recommit everything, add chpass, improve history (except for a few files ↵Cameron Katri2021-05-021-3/+3
| | | | that git-filter-repo dislikes for some reason [_secure_path.c and login_cap.h])
* Add an example to pw.8 about how to add an existing user to a group.Benedict Reuschling2019-02-081-1/+7
| | | | | | | | | | | | | | 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
* pw(8): correct expiration period handling and command line overridesEugene Grosbein2017-12-091-1/+9
| | | | | | | | | | | | | 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
* Add another badly-needed simple example to the pw(8) man page.Warren Block2016-09-131-1/+6
|
* Add a single example of adding a user that roughly corresponds with theWarren Block2016-04-231-1/+13
| | | | | | adduser example in the Handbook. MFC after: 1 week
* Adjust misleading wording of the -G option and simplify a fewWarren Block2016-03-281-11/+9
| | | | | | surrounding sentences. From a discussion on -ports. Reviewed by: David Wolfskill <david@catwhisker.org>
* Clarify pw(8) manual w/respect to required arguments. Break long lines atDevin Teske2015-08-031-90/+118
| | | | | | | | | punctuation while here. Differential Revision: https://reviews.freebsd.org/D2700 Reviewed by: wblock, bapt MFC after: 3 days X-MFC-to: stable/10
* Change the documentation to reflect where the -V option should be usedBaptiste Daroussin2015-06-141-2/+2
| | | | Suggested by: kientzle
* backout remove of -q option for pw [user|group] nextBaptiste Daroussin2015-06-081-1/+3
| | | | | | While the return code is broken, some corner case usage depends on the functionnality, so backout until we get better regression tests covering those corner case usage.
* Remove '-q' support for pw [user|group] nextBaptiste Daroussin2015-06-071-3/+1
| | | | | | the intent of -q in this command is to return as exit status the value of the next group/user id, which does not make sense given exit status are limited to values between 0 and 255.
* Document pw(8) '-R' option, added in r283961.Glen Barber2015-06-031-1/+20
| | | | | | MFC after: 1 week X-MFC-after: r283961 Sponsored by: The FreeBSD Foundation
* Teach pw(8) about how to use pw/gr API to reduce code duplicationBaptiste Daroussin2012-10-301-7/+1
| | | | MFC after: 2 months
* - document the -l option to usermodEitan Adler2011-12-221-0/+1008
| | | | | | | PR: docs/161588 Submitted by: "Luchesar V. ILIEV" <luchesar.iliev@gmail.com> Approved by: gjb MFC after: 1 week
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-1001/+0
| | | | | | | 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.
* Add the groupmod '-d' option to pw to allow the deletion of existing usersSean Farley2008-02-231-0/+10
| | | | | | | | | | from a group without the need to perform the same operation by replacing the existing list via the '-M' option. The '-M' option requires someone to fetch the existing members with pw, deleting the undesired members from the list and sending the altered list back to pw. Approved by: wes (mentor) MFC after: 5 days
* Clarify in what formats the grouplist for the '-G' switch may be accepted.Mike Makonnen2008-01-251-1/+1
| | | | Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
* Add home directory creation mode to pw.conf(5) and be a bitLukas Ertl2007-03-301-2/+5
| | | | more specific about the effect of the current umask on -M.
* Introduce the new option -M to allow to set the permissions ofLukas Ertl2007-03-261-1/+12
| | | | | | | | the user's newly created home directory. If omitted, it's derived from the current umask. PR: bin/16880, bin/83253 (partially), bin/104248 MFC in: 1 month
* Better mdoc(7). Bump doc date.Tom Rhodes2006-10-091-3/+3
| | | | Kicked by: ru
* Note the naming convention of files in share/skel and explain the "dot"Tom Rhodes2006-10-091-0/+8
| | | | | | prefix is removed. PR: 103828
* Sort sections.Ruslan Ermilov2005-01-181-56/+56
|
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
|
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+2
|
* Add a `-H <fd>' option that is like `-h <fd>', but accepts an alreadyIan Dowse2004-01-111-5/+11
| | | | | | | encrypted password on the specified file descriptor. PR: bin/22033 MFC after: 2 weeks
* Add information about the log file.Tom Rhodes2003-05-081-0/+10
| | | | | PR: 35575 Submitted by: "Simon L. Nielsen" <simon@nitro.dk> (original version)
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-1/+1
| | | | Approved by: re
* The .Nm utilityPhilippe Charnier2002-07-141-22/+45
|
* Lists follow a colon, not a semicolon.Dima Dorfman2002-06-301-1/+1
|
* `pw useradd' could be used with -w without -D option.SADA Kenji2002-06-261-0/+1
| | | | | | PR: docs/39770 Submitted by: sada Approved by: dd
* In the words of the submitter:Dima Dorfman2002-04-051-1/+5
| | | | | | | | | This patch explains -F for usershow and groupshow. Because "groupmod ... -F" doesn't do anything, the patch also drops that from groupmod's command line args. PR: 35955 Submitted by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
* Document the -7 option for usershow.Dima Dorfman2002-04-051-0/+9
| | | | | PR: 36735 Submitted by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
* Merge a duplicate description of the -L option into the first one.Giorgos Keramidas2002-03-081-10/+2
| | | | | PR: docs/34782 MFC after: 1 week
* Remove whitespace at EOL.Dima Dorfman2001-07-151-22/+22
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-3/+0
|
* mdoc(7) police: simplify bogus ``.Ql Fl'' constructs.Ruslan Ermilov2001-03-161-33/+33
|
* Document the lock and unlock commands.Dima Dorfman2001-03-141-0/+32
| | | | | PR: 25187 Approved by: nik
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-4/+8
|
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-15/+15
|
* Remove more single-space hard sentence breaks.Sheldon Hearn2000-03-021-1/+2
|
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
|
* 1) Do not blindly ignore file update errors which may occur due to concurrentDavid Nugent1999-02-231-2/+27
| | | | | | updating 2) Add -V <etcdir>, which allows maintaining user/group database in alternate locations other than /etc.
* Fix inappropriate use of .Ql macro.Joseph Koshy1998-09-181-2/+2
| | | | | PR: docs/7905 Submitted by: kuma@jp.freebsd.org
* The `group{del,mod,show}' take require a '[group|gid]' argument.Joseph Koshy1998-08-311-1/+4
| | | | PR: docs/7788
* .Nm pw -> .Nm.Philippe Charnier1998-03-231-2/+2
|
* Overhaul this manpage - removing typos, awkward phrasing, and addressingSteve Price1998-02-141-111/+123
| | | | | | | a few technical faults. PR: 5692 Submitted by: dannyman@arh0300.urh.uiuc.edu
* Use err(3) instead of local redefinition. Add rcsid string.Philippe Charnier1997-10-101-51/+53
|
* Typo fix 'and' -> 'an'.Daniel O'Callaghan1997-03-041-2/+2
| | | | This is a 2.2 candidate.
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
|
* Sort cross references.Wolfram Schneider1997-01-201-1/+1
|