summaryrefslogtreecommitdiffstats
path: root/pw/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Fix PREFIX logicCameron Katri2022-01-021-8/+9
|
* PREFIX stuffCameron Katri2021-08-281-1/+1
|
* Make all calls to install POSIXCameron Katri2021-08-281-5/+7
|
* Recommit everything, add chpass, improve history (except for a few files ↵Cameron Katri2021-05-021-12/+51
| | | | that git-filter-repo dislikes for some reason [_secure_path.c and login_cap.h])
* pw(8): use openmemstream instead of sbuf(9)Baptiste Daroussin2021-04-271-1/+1
|
* Add HAS_TESTS to all Makefiles that are currently using theEnji Cooper2017-08-021-0/+1
| | | | | | `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912.
* Convert traditional ${MK_TESTS} conditional idiom for including testEnji Cooper2017-08-021-3/+1
| | | | | | | | | | | directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks
* Rewrite parsing subcommands arguments of pw(8)Baptiste Daroussin2015-08-021-1/+2
| | | | | | | | | | | | | Now each subcommands checks its arguments in a dedicated functions. This helps improving input validation, code readability/maintainability While here: - Add a -y option to pw userdel/usermod so it can maintain NIS servers if nispasswd is not defined in pw.conf(5) - Allow pw -r <rootdir> to remove directory with userdel -r - Fix bug when renaming a user which was not renaming the user name it groups it is a member of. - Only parse pw.conf(5) when needed.
* Create a strtounum function using the same API as strtonumBaptiste Daroussin2015-07-291-1/+1
| | | | | This function returns uintmax_t Use this function to convert to gid_t/uid_t
* Replace custom string array with stringlist(3)Baptiste Daroussin2015-07-111-2/+1
|
* Cast -1 to uid_t and bump WARNING level to 3Baptiste Daroussin2015-05-311-1/+1
|
* Use sbuf(9) instead of homebrewed buffered stringBaptiste Daroussin2015-05-091-1/+1
|
* Convert to LIBADD.Brad Davis2014-11-241-2/+1
| | | | Reviewed by: bapt
* - Add a test for bug 191427 where pw(8) will go into an infinite loopBrad Davis2014-10-021-0/+6
| | | | | Reviewed by: will MFC after: 1 month
* Teach pw(8) about how to use pw/gr API to reduce code duplicationBaptiste Daroussin2012-10-301-0/+14
| | | | MFC after: 2 months
* Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-101-14/+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.
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
|
* style.Makefile(5)David E. O'Brien2003-04-041-1/+1
|
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-3/+1
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove GCC'isms in CFLAGS.David E. O'Brien2001-07-201-1/+0
|
* Don't override the default BINMODE.Ruslan Ermilov2001-07-051-2/+0
| | | | Submitted by: bde
* CND has been unused for two years, and RND has been unused for fiveDima Dorfman2001-06-191-1/+1
| | | | | | | years; remove them from CFLAGS. PR: 23712 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-3/+1
| | | | - MAN[1-9] -> MAN.
* Add working and easy crypt(3)-switching. Yes, we need a whole new APIBrian Feldman2000-08-221-2/+2
| | | | | | | | | | | | | | for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter
* Portability fixes for other bsd4.4 derivatives.David Nugent2000-01-151-0/+1
|
* Revert the libcrypt/libmd stuff back to how it was. This should not havePeter Wemm1999-12-181-2/+2
| | | | | | | | happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model.
* Add libmd (or move it after libcrypt). We don't want the linker to beMarcel Moolenaar1999-12-161-2/+2
| | | | | smart because it will definitely get it wrong. This popped up during cross-linking.
* $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-3/+3
| | | | | | updating 2) Add -V <etcdir>, which allows maintaining user/group database in alternate locations other than /etc.
* Remove useless `BINOWN=root' now that it is the default.David E. O'Brien1998-09-191-2/+1
|
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | 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.
* Adds optional NIS passwd file updating and optionally rebuildingDavid Nugent1997-01-051-2/+2
| | | | | | NIS maps. Suggested by: Peter Wemm
* Changes to password generator: fallback to MD5 generator disabledDavid Nugent1996-12-171-3/+4
| | | | | | (/dev/urandom used by default under FreeBSD), and implemented a "portable" but less secure generator for other systems. Add display of expiry/password change dates in -P user display.
* Copyright update by the author, to be more in line with our sampleJoerg Wunsch1996-12-101-1/+1
| | | | | | copyright. Submitted by: David Nugent
* Upgrade from the author, reflecting all my wishes resulting out of theJoerg Wunsch1996-12-091-1/+1
| | | | | | | | sysinstall use of this tool (plus some bug fixes). 2.2 candidate... Submitted by: David Nugent <davidn@nserver.usn.blaze.net.au>
* pw(8) -- a backend utility to manage the user and group databases.Joerg Wunsch1996-12-091-0/+18
sysinstall's new User&group menu will use it, hence it's a 2.2 candidate despite of providing new functionality. Submitted by: David L. Nugent, <davidn@blaze.net.au>