summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
Commit message (Collapse)AuthorAgeFilesLines
* Restore the 'beforeinstall' for chpass(1), so files with thegjb2016-01-281-0/+7
| | | | | | | | | | | schg flag are handled before being replaced by a symbolic link. Fix passwd(1)/yppasswd(1) schg issue similarly to chpass(1). Note: These are likely temporary fixes while identifying any remaining files that are not marked as 'flags=schg' via mtree(8). Sponsored by: The FreeBSD Foundation
* Ensure mtree(8) recognizes chpass(1) is schg.gjb2016-01-281-17/+6
| | | | | | | Convert hard links to symbolic links, and remove the 'beforeinstall' and 'afterinstall' chflags(8) execution. Sponsored by: The FreeBSD Foundation
* Add META_MODE support.sjg2015-06-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-4/+2
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Merge from headsjg2014-05-081-1/+1
| |\
| * \ Merge headsjg2014-04-281-2/+0
| |\ \
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Sync with HEAD.obrien2013-02-081-2/+5
| |\ \ \
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+22
| | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Partially revert 278642bapt2015-02-131-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On reinstall (overwrite) install(1) does not handle chflags Reported by: ian
* | | | | Use PRECIOUSPROG instead of custom code to handle schgbapt2015-02-121-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows to preserve schg when installed with -DNO_ROOT MFC after: 1 week
* | | | | Convert to usr.bin/ to LIBADDbapt2014-11-251-4/+2
| |_|_|/ |/| | | | | | | | | | | Reduce overlinking
* | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |_|/ |/| | | | | | | | from the latter.
* | | mdoc: minor paragraph fixes.joel2014-02-081-2/+0
| |/ |/|
* | Avoid possible null deref if ypclnt_new returns nulleadler2012-11-151-2/+5
|/ | | | | | | PR: bin/172979 Submitted by: Erik Cederstrand <erik@cederstrand.dk> Approved by: cperciva MFC after: 3 days
* Remove unnecessary castkevlo2012-02-141-2/+2
|
* Mark the structure fields as const.ed2011-11-062-17/+14
| | | | | This allows us to simply place these strings as constants in the table itself, letting the compiler decide to simply merge duplicate strings.
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-112-8/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* mdoc: remove stray anduqs2010-05-111-1/+0
| | | | | Found via: mdocml Reviewed by: brueffer
* Restore historical behaviour of only executing chflags on files that exist.emaste2010-05-041-0/+2
| | | | | This eliminates cosmetic errors of the form "chflags: ...: No such file or directory" during an installworld to an empty destination.
* Let the afterinstall target ignore failures from running chflags. Thisscottl2010-03-041-1/+1
| | | | | | | allows it to work over NFS, and puts it back into conformance with other 'schg' utlitilties in the system. Reviewed by: ed
* The group field is called `gid', not `group'.ed2010-01-141-1/+1
|
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Make the chpass Makefile honour NO_FSCHG.ed2009-06-151-3/+4
| | | | | | | | | | The chpass Makefile tried to set the fschg flag on the binaries, even if NO_FSCHG was passed to the installworld. This meant that if I installed FreeBSD into a Jail, I couldn't installworld from within the Jail anymore. Now that it listens to NO_FSCHG, we can just make it bail out when it fails, just like PRECIOUSPROG does.
* Fix bug introduced in rev 1.23:marck2006-09-251-1/+6
| | | | | | | | pw_equal does not check crypted password field, so one cannot change crypted password keeping other fields intact. Approved by: des MCF after: 3 days
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-4/+6
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Cross-reference pw(8) into chpass(1), passwd(1), and vipw(8).seanc2005-08-021-0/+1
|
* Sort sections.ru2005-01-181-2/+2
|
* More NO_NIS cleanup: LINKS and MLINKSache2004-12-291-0/+4
|
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-131-3/+9
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* Remove useless .Pp. Typo: gcos -> gecos (as spelled in passwd(5)).charnier2004-07-261-2/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+4
|
* Typo fix.blackend2004-03-031-1/+1
| | | | | | PR: docs/63677 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> MFC after: 1 week
* Remove unused includes. Make it WARNS=6 friendly. Concerning bin/2442, makecharnier2004-01-184-21/+39
| | | | | | | | | | a new function dup_shell() to replace ok_shell() and make it unconditionnally strdup() its result to make the caller's code simplier. Change ok_shell() to just return an integer value suitable for tests (it was used mainly for that purpose). Do not use strdup() in the caller's code but rely on dup_shell() that will do the job for us. PR: bin/2442
* Do not compare unsigned int values with ULONG_MAX. The comparison iskan2003-07-111-2/+2
| | | | always false on 64bit platforms and GCC 3.3.1 issues warning there.
* Make GCC 3.3 happy with rcsid[], sccs[], and copyright[].obrien2003-05-032-2/+3
|
* Avoid clobbering the gecos field, as we intend to use the original later.des2003-04-091-3/+10
| | | | PR: bin/50563
* Style cleanup.obrien2002-12-301-11/+10
|
* Make WARNS=5 clean.obrien2002-12-302-5/+3
| | | | Tested on: sparc64, Athlon[32]
* mdoc(7) police: Deal with self-xrefs.ru2002-12-241-5/+5
|
* mdoc(7) police: more `The .Nm utility' + markup nit.ru2002-12-231-5/+5
|
* Move the NOTES section to DESCRIPTION. And correct some documentation whiletrhodes2002-12-201-11/+13
| | | | | | | I'm here. PR: 43756 Submitted by: Gary W. Swearingen <swear@attbi.com>
* Don't try to dereference a NULL pw pointer. This would happen whenjoerg2002-10-291-1/+1
| | | | attempting to use chpass -a.
* Consistently use FBSDIDobrien2002-06-302-3/+3
|
* Use libutil and libypclnt for all passwd manipulation and NIS needs.des2002-05-0811-1216/+317
| | | | Sponsored by: DARPA, NAI Labs
* Use `The .Nm utility'charnier2002-04-191-10/+15
|
OpenPOWER on IntegriCloud