summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move the NOTES section to DESCRIPTION. And correct some documentation whileTom Rhodes2002-12-201-11/+13
| | | | | | | I'm here. PR: 43756 Submitted by: Gary W. Swearingen <swear@attbi.com>
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-122-3/+3
| | | | Approved by: re
* Correctly handle files with IFS characters (spaces) in their names whenTim J. Robbins2002-12-091-7/+3
| | | | | | | cleaning up temporary files. Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re
* mdoc(7) police: overhaul.Ruslan Ermilov2002-12-042-182/+272
| | | | Approved by: re
* Replace the perl versions of adduser and rmuser with shell script versions.Scott Long2002-12-037-2291/+1458
| | | | | Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re
* mdoc(7) police: markup fixes.Ruslan Ermilov2002-11-271-3/+4
| | | | Approved by: re
* Clarify the unique groups scheme by mentioning that the 002 umaskTony Finch2002-11-081-3/+5
| | | | | | | is instead of the usual 022 umask, and explain that what the scheme still prevents is unwanted changes, not prying eyes. While I'm here, mess with the phrasing and line-breaks a bit.
* Don't forget to '\n'-terminate new entries. This unbreaks chpass -a.Dag-Erling Smørgrav2002-10-291-1/+2
| | | | Submitted by: joerg
* Don't try to dereference a NULL pw pointer. This would happen whenJoerg Wunsch2002-10-291-1/+1
| | | | attempting to use chpass -a.
* Do not allow empty GIDs for non-NIS entries.Maxim Konovalov2002-10-111-0/+7
| | | | MFC after: 2 weeks
* Too strict error checking in rev. 1.22 broke pwd_mkdb(8) in NISMaxim Konovalov2002-10-021-2/+2
| | | | | | environment. An empty UID and GID are valid there. Spotted by: rwatson
* Disqualify UID/GID with non-numeric character.Maxim Konovalov2002-09-251-3/+13
| | | | | | PR: bin/41721 Reviewed by: tjr, silence on -audit MFC after: 2 weeks
* Replace various spelling with FALLTHROUGH which is lint()ablePhilippe Charnier2002-08-251-1/+1
|
* Add LOGIN_SETMAC, which will indicate to the user context management codeRobert Watson2002-08-161-1/+2
| | | | | | | | that it should also set the user's default MAC label, if available and permitted. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Fix conjugation of exists and add full stops to the messages I changed.David Malone2002-08-111-2/+2
| | | | | | PR: 38481 Submitted by: Kevin Kinsey <kadmin@elisha.daleco.biz> MFC after: 1 week
* Whitespace cleanup--it's not style(9), but it is consistent. PrepRobert Watson2002-08-111-3/+3
| | | | | | | for MAC-related commits to the login infrastructure. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* The .Nm utilityPhilippe Charnier2002-07-143-37/+67
|
* de-__P()Alfred Perlstein2002-07-113-51/+51
|
* Consistently use FBSDIDDavid E. O'Brien2002-06-302-3/+3
|
* 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
* Print a long with %ld not %d. (We possibly should be using %j here, butDavid Malone2002-06-241-1/+1
| | | | | | | | that can be fixed when the many other warnings here are being fixed.) PR: 39741 Submitted by: Dan Lukes <dan@obluda.cz> MFC after: 1 week
* Be more clear in error messages.Nick Hibma2002-06-231-4/+9
| | | | | | | Distinguish between a held lock and a failed lock op. If rpc.lockd is not running on a diskless client this makes clearer what the problem is.
* If no old_pw was passed to pw_copy, compare just the name.Dag-Erling Smørgrav2002-05-081-1/+2
| | | | Sponsored by: DARPA, NAI Labs
* Use libutil and libypclnt for all passwd manipulation and NIS needs.Dag-Erling Smørgrav2002-05-0811-1216/+317
| | | | Sponsored by: DARPA, NAI Labs
* Add passwd manipulation code based on parts of vipw and chpass.Dag-Erling Smørgrav2002-05-082-82/+433
| | | | Sponsored by: DARPA, NAI Labs
* Use `The .Nm utility'Philippe Charnier2002-04-191-10/+15
|
* Make mppath and masterpasswd pointers instead of arrays, and initializeDag-Erling Smørgrav2002-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.Dag-Erling Smørgrav2002-04-151-9/+1
|
* Const poisoning.Ruslan Ermilov2002-04-083-14/+14
|
* Rename a couple of local variables to avoid warnings.Dag-Erling Smørgrav2002-04-061-26/+26
| | | | Sponsored by: DARPA, NAI Labs
* 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>
* Fix vendor ID.David Malone2002-03-301-2/+4
| | | | | | | | Make usage message match the man page. (Missing -o, -h doesn't depend on -d). PR: 36470 Submitted by: Gary W. Swearingen <swear@blarg.net> MFC after: 1 week
* Minor post warns stuff.David Malone2002-03-303-19/+14
| | | | | | | | | 1) Fix up vendor IDs for files I'm touching and put FBSDID in the right place. 2) Cast return value of snprintf to size_t rather than casting sizeof() to an int, 'cos we know snprintf returns a non-genative number. 3) Avoid 'char *blank = "";' by just strduping. This could be bad sometimes, but all these variables usually point at malloced memory so this makes them always point at malloced memory.
* Fix warns, ANSIfy, use __FBSDID(), sort headers.Mark Murray2002-03-249-155/+114
|
* Fix a style(9) error. Put the vendor version control string back in.Crist J. Clark2002-03-241-0/+1
| | | | I nuked it when I added the $FreeBSD$ tag.
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-2/+1
| | | | I believe have made all of libc .h's as consistent as possible.
* Remove multi-line __P() usage.David E. O'Brien2002-03-221-8/+7
|
* remove __PWarner Losh2002-03-223-20/+21
|
* Remove __P() usage.David E. O'Brien2002-03-212-64/+64
|
* Remove __P() usage.David E. O'Brien2002-03-211-1/+1
|
* Fix a bug that prevents "00" being used as a valid year. Why bother inCrist J. Clark2002-03-181-1/+1
| | | | | | | | 2002? It is a bug. Might as well close the PR. PR: misc/14511 Submitted by: Mike Pritchard <mpp@mpp.pro-ns.net> MFC after: 3 days
* It was possible for an unprivileged user to tie up the passwordCrist J. Clark2002-03-183-25/+64
| | | | | | | | | | | | | | | | information (no one else can vipw(8), chpass(1), or even passwd(1)), either on purpose or by accident, until an administrator manually intervened. Instead, do not lock the master.passwd file while a user is editing his information. But once we go to write the new information, check that the modified user's information has not changed in the password database since we started. Abort the changes if it has. Add a $FreeBSD$ to pw_copy.h. PR: i386/35816 Obtained from: NetBSD MFC after: 1 week
* Bring a comment in line with the code, and fix some spelling errorsDima Dorfman2002-03-091-4/+3
| | | | | | | while I'm here. PR: 35394 Submitted by: andrew@ugh.net.au
* 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 a bogus cast.Dag-Erling Smørgrav2002-03-061-1/+1
|
* #include <stddef.h> for the definition of NULL instead of depending onBruce Evans2002-02-251-1/+3
| | | | | | namespace pollution 2 layers deep in <sys/stat.h>. Sorted includes.
* Found a single point where rmuser(8) wasn't robust to strangeYaroslav Tykhiy2002-02-111-1/+1
| | | | | characters in a username: where it was inserted into a regexp. Fix it by escaping metacharacters in the name with \Q-\E.
* ANSIfy and remove some dead code.Dag-Erling Smørgrav2002-02-061-23/+13
| | | | Sponsored by: DARPA, NAI Labs