Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | mdoc(7) police: Scheduled sweep. | Ruslan Ermilov | 2003-02-24 | 1 | -9/+9 | |
| | ||||||
* | Update copyright. | Mike Makonnen | 2003-02-16 | 2 | -6/+2 | |
| | ||||||
* | Condense the output to one line per removed user. For user's who | Mike Makonnen | 2003-02-16 | 2 | -21/+56 | |
| | | | | | | want the more verbose version, there's a -v option. Approved by: markm (mentor) | |||||
* | There is no sense to use random random() and arc4random() in the same program. | Andrey A. Chernov | 2003-02-11 | 1 | -2/+1 | |
| | | | | Switch to arc4random() completely. | |||||
* | Revisit the shell special characters issue and settle it once-and-forall. | Mike Makonnen | 2003-02-09 | 1 | -13/+19 | |
| | | | | | | | | All characters will be accepted, and pw(8) can sort out which ones it will allow and which ones it won't. Approved by: markm (mentor) Prodded by: Philippe Bourcier <philippe@cyberabuse.org> | |||||
* | Change the behaviour of adduser to match the previous incarnation a little more. | Adrian Chadd | 2003-02-08 | 1 | -2/+26 | |
| | | | | | | | | | | | | | If any of the given groups do not exist complain and let the user try again. This saves the user from discovering at the end of the process that they've forgotten to add a group or they've typoed. Thanks to cmc/dougb for pointing out how bad my sh fu actually is. Original code by: me Scary sh rewrite by: dougb Reviewed by: dougb | |||||
* | Better gender-neutral language. | Tony Finch | 2003-02-04 | 1 | -2/+2 | |
| | | | | Submitted by: sheldonh | |||||
* | This is just a forced-commit to note that the previous commit addresses | Garance A Drosehn | 2003-01-28 | 0 | -0/+0 | |
| | | | | PR 28773 (not 28733!). I have closed both PR 28773 and PR 46890. | |||||
* | Changes so the 'pw' command will allow '$' as the last character in a userid | Garance A Drosehn | 2003-01-28 | 1 | -14/+51 | |
| | | | | | | | | | | | or group name (mainly for the benefit of samba). This pretty much rewrites he pw_checkname() routine, but should work exactly the same except for the above change, and that error messages are somewhat more informative. PR: 28733 46890 Inspired by: example patch written by Terry Lambert Reviewed by: no objections on freebsd-arch and freebsd-current MFC plans: no plans, but will do if people want it in stable. | |||||
* | back out logging to /var/log/adduser | Max Khon | 2003-01-24 | 1 | -6/+0 | |
| | | | | (/usr/sbin/pw already logs to /var/log/userlog) | |||||
* | In interactive mode, ask the user if he/she wants to add another | Mike Makonnen | 2003-01-24 | 1 | -0/+18 | |
| | | | | | | | | user and re-run interactive questions or quit depending on the answer. Submitted by: Scot Hetzel <hetzels@westbend.net> Approved by: markm (mentor) | |||||
* | expr foo -> $((foo)) | Max Khon | 2003-01-23 | 1 | -2/+2 | |
| | ||||||
* | - restore an ability to write log of added users (default to | Max Khon | 2003-01-23 | 1 | -3/+13 | |
| | | | | | | | /var/log/adduser, disabled if empty or adduserlog="no") - do not ask for password in configure mode - print $passwdtype instead of password in configure mode - add DATECMD, GREPCMD (not overridable but with full path) | |||||
* | Do not loose trailing spaces when printing prompt messages. | Max Khon | 2003-01-23 | 1 | -3/+3 | |
| | ||||||
* | Do not expose password if it is empty and PWF_STANDARD format is requested | Max Khon | 2003-01-23 | 1 | -1/+2 | |
| | | | | MFC after: 1 week | |||||
* | *blush* | Mike Makonnen | 2003-01-23 | 1 | -8/+8 | |
| | | | | | | | While I'm here properly quote all the other input I neglected to quote. Approved by: markm (mentor)(implicit) | |||||
* | Don't forget to properly quote input. | Mike Makonnen | 2003-01-21 | 1 | -1/+1 | |
| | | | | | Approved by: markm (mentor)(implicit) Submitted by: Robin Breathe <robin@isometry.net> | |||||
* | do not loose trailing space when asking uid | Max Khon | 2003-01-20 | 1 | -1/+1 | |
| | ||||||
* | Style cleanup. | David E. O'Brien | 2002-12-30 | 1 | -11/+10 | |
| | ||||||
* | Make WARNS=5 clean. | David E. O'Brien | 2002-12-30 | 2 | -5/+3 | |
| | | | | Tested on: sparc64, Athlon[32] | |||||
* | english(4) police. | Jens Schweikhardt | 2002-12-27 | 2 | -5/+5 | |
| | ||||||
* | mdoc(7) police: Deal with self-xrefs. | Ruslan Ermilov | 2002-12-24 | 1 | -5/+5 | |
| | ||||||
* | mdoc(7) police: more `The .Nm utility' + markup nit. | Ruslan Ermilov | 2002-12-23 | 1 | -5/+5 | |
| | ||||||
* | Move the NOTES section to DESCRIPTION. And correct some documentation while | Tom Rhodes | 2002-12-20 | 1 | -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 Ermilov | 2002-12-12 | 2 | -3/+3 | |
| | | | | Approved by: re | |||||
* | Correctly handle files with IFS characters (spaces) in their names when | Tim J. Robbins | 2002-12-09 | 1 | -7/+3 | |
| | | | | | | | cleaning up temporary files. Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re | |||||
* | mdoc(7) police: overhaul. | Ruslan Ermilov | 2002-12-04 | 2 | -182/+272 | |
| | | | | Approved by: re | |||||
* | Replace the perl versions of adduser and rmuser with shell script versions. | Scott Long | 2002-12-03 | 7 | -2291/+1458 | |
| | | | | | Submitted by: Mike Makonnen <mtm@identd.net> Approved by: re | |||||
* | mdoc(7) police: markup fixes. | Ruslan Ermilov | 2002-11-27 | 1 | -3/+4 | |
| | | | | Approved by: re | |||||
* | Clarify the unique groups scheme by mentioning that the 002 umask | Tony Finch | 2002-11-08 | 1 | -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ørgrav | 2002-10-29 | 1 | -1/+2 | |
| | | | | Submitted by: joerg | |||||
* | Don't try to dereference a NULL pw pointer. This would happen when | Joerg Wunsch | 2002-10-29 | 1 | -1/+1 | |
| | | | | attempting to use chpass -a. | |||||
* | Do not allow empty GIDs for non-NIS entries. | Maxim Konovalov | 2002-10-11 | 1 | -0/+7 | |
| | | | | MFC after: 2 weeks | |||||
* | Too strict error checking in rev. 1.22 broke pwd_mkdb(8) in NIS | Maxim Konovalov | 2002-10-02 | 1 | -2/+2 | |
| | | | | | | environment. An empty UID and GID are valid there. Spotted by: rwatson | |||||
* | Disqualify UID/GID with non-numeric character. | Maxim Konovalov | 2002-09-25 | 1 | -3/+13 | |
| | | | | | | PR: bin/41721 Reviewed by: tjr, silence on -audit MFC after: 2 weeks | |||||
* | Replace various spelling with FALLTHROUGH which is lint()able | Philippe Charnier | 2002-08-25 | 1 | -1/+1 | |
| | ||||||
* | Add LOGIN_SETMAC, which will indicate to the user context management code | Robert Watson | 2002-08-16 | 1 | -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 Malone | 2002-08-11 | 1 | -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. Prep | Robert Watson | 2002-08-11 | 1 | -3/+3 | |
| | | | | | | | for MAC-related commits to the login infrastructure. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs | |||||
* | The .Nm utility | Philippe Charnier | 2002-07-14 | 3 | -37/+67 | |
| | ||||||
* | de-__P() | Alfred Perlstein | 2002-07-11 | 3 | -51/+51 | |
| | ||||||
* | Consistently use FBSDID | David E. O'Brien | 2002-06-30 | 2 | -3/+3 | |
| | ||||||
* | Lists follow a colon, not a semicolon. | Dima Dorfman | 2002-06-30 | 1 | -1/+1 | |
| | ||||||
* | `pw useradd' could be used with -w without -D option. | SADA Kenji | 2002-06-26 | 1 | -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, but | David Malone | 2002-06-24 | 1 | -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 Hibma | 2002-06-23 | 1 | -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ørgrav | 2002-05-08 | 1 | -1/+2 | |
| | | | | Sponsored by: DARPA, NAI Labs | |||||
* | Use libutil and libypclnt for all passwd manipulation and NIS needs. | Dag-Erling Smørgrav | 2002-05-08 | 11 | -1216/+317 | |
| | | | | Sponsored by: DARPA, NAI Labs | |||||
* | Add passwd manipulation code based on parts of vipw and chpass. | Dag-Erling Smørgrav | 2002-05-08 | 2 | -82/+433 | |
| | | | | Sponsored by: DARPA, NAI Labs | |||||
* | Use `The .Nm utility' | Philippe Charnier | 2002-04-19 | 1 | -10/+15 | |
| |