summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vipw
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | 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-2/+1
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Updated dependenciessjg2013-03-111-0/+1
| |
| * Updated dependenciessjg2013-02-161-2/+0
| |
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
| | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
|/ | | | Reduce overlinking
* Restore message in man page on VFS timestamp precision.ed2012-02-141-1/+11
| | | | Requested by: bde, jhb
* Correct date. It seems to be 2012.ed2012-02-101-1/+1
|
* Detect file modification properly by using tv_nsec.ed2012-02-101-8/+1
| | | | | | | POSIX 2008 standardizes st_mtim, meaning we can simply use nanosecond precision to detect file modification. MFC after: 2 weeks
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* s/insure/ensure/ in previous commit. My dictionary and m-w.com say theybrooks2005-10-281-1/+1
| | | | | | | are synonymous, but ensure seems slightly closer and does not have the connotation of buying insurance. Reported by: Jason McIntyre <jmc at kerhand dot co dot uk>
* Mention the possibility of non-interactive scripts for EDITOR and add abrooks2005-10-201-0/+9
| | | | | BUGS section mentioning the requirement that such scripts run "sleep 1" or equivalent to work reliably.
* Cross-reference pw(8) into chpass(1), passwd(1), and vipw(8).seanc2005-08-021-0/+1
|
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-072-8/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Mechanically kill hard sentence breaks.ru2004-07-021-2/+4
|
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+4
|
* style.Makefile(5)obrien2003-04-041-1/+3
|
* Don't use NULL when we really mean 0 for call to pw_edit.imp2002-08-211-1/+1
|
* The .Nm utilitycharnier2002-07-141-5/+7
|
* Use libutil and libypclnt for all passwd manipulation and NIS needs.des2002-05-084-353/+47
| | | | Sponsored by: DARPA, NAI Labs
* Make mppath and masterpasswd pointers instead of arrays, and initializedes2002-04-171-2/+4
| | | | | | | | | them to point at static strings that contain the default paths. This makes 'vipw -d' work again (I broke it in rev 1.21; apologies for taking so long to fix it.) Spotted by: Olivier Houchard <doginou@cognet.ci0.org> Sponsored by: DARPA, NAI Labs
* Remove bogus reference to _use_yp.des2002-04-151-9/+1
|
* ANSIfy and constify.des2002-02-054-33/+31
| | | | Sponsored by: DARPA, NAI Labs
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-1/+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 whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix the type of the NULL arg to execl()brian2001-07-091-3/+3
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Don't pass NULL to the %s format.dd2001-04-221-2/+6
| | | | Reviewed by: kris
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Don't call warn() without a format string.kris2000-07-121-1/+1
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Replace the -q option to pwd_mkdb with a test for PW_SCAN_BIG_IDS insheldonh1999-12-021-1/+4
| | | | | | | | | | | the environment. This allows big ID warnings to be suppressed for vipw and chpass as well. Since the environment variable test is only performed for callers of pw_scan() that do not set pw_big_ids_warning, the test can still be overriden. Currently, chpass and pwd_mkdb are the only users of pw_scan() and neither of them overrides the environment variable test.
* Do not rely on malloc() to zero-fill allocated memory, since it issheldonh1999-10-251-2/+3
| | | | | | | | not documented as doing so. This fixes a potential segmentation violation. PR: 14465 Reported by: Tony Finch <fanf@demon.net>
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Move call to umask(0) back into pw_util(), because the latterpb1999-06-292-4/+5
| | | | function is also used by chpass(1) and passwd(1).
* Force umask to 077 (instead of 000) during the edit phase, to getpb1999-06-262-5/+6
| | | | | | | | | | secure permissions in case the user attempts to save something to a file of his own. Move umask stuff out of pw_init() into main() for better visibility of overall umask tweaking logic. PR: misc/11797
* Report the correct master.passwd path on failure when the -d option issheldonh1999-06-261-2/+2
| | | | used.
* Add -d option to vipw(8) to allow selection of an alternative directorysheldonh1999-06-263-11/+43
| | | | | | | for the password files. PR: 2703 Submitted by: jmg
* oops. Fix indentation of the 'for' loop I just added.dillon1998-12-131-18/+18
|
* Handle the race condition where vipw may lock a password file which hasdillon1998-12-131-6/+22
| | | | | just been replaced. After our lock succeeds we check if st_nlink is 0 and if it is we close the descriptor and retry our open/lock sequence.
* Since vfork() was changed to fork(), we have to pass errno back from thedes1998-10-201-3/+6
| | | | | | | child to the parent somehow. PR: 8353 Submitted by: Andrew J. Korty <ajk@purdue.edu>
* Calls one or more of malloc(), warn(), err(), syslog(), execlp() ordes1998-10-131-3/+3
| | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde
* Statisize usage().charnier1997-10-273-9/+16
|
* Changes to support full make parallelism (-j<n>) in the worldjkh1997-10-051-3/+3
| | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
OpenPOWER on IntegriCloud