Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a `-H <fd>' option that is like `-h <fd>', but accepts an already | Ian Dowse | 2004-01-11 | 4 | -22/+52 | |
| | | | | | | | encrypted password on the specified file descriptor. PR: bin/22033 MFC after: 2 weeks | |||||
* | (mostly) Clean up some const warnings here. The code takes some liberties | Peter Wemm | 2003-10-26 | 1 | -8/+9 | |
| | | | | | because it is the originator of various const strings and knows that they came from malloc. | |||||
* | ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify. | Mark Murray | 2003-10-18 | 5 | -74/+79 | |
| | ||||||
* | mdoc(7): Properly mark C headers. | Ruslan Ermilov | 2003-09-10 | 1 | -1/+1 | |
| | ||||||
* | mdoc(7): Use the new feature of the .In macro. | Ruslan Ermilov | 2003-09-08 | 1 | -1/+1 | |
| | ||||||
* | Do not compare unsigned int values with ULONG_MAX. The comparison is | Alexander Kabaev | 2003-07-11 | 1 | -2/+2 | |
| | | | | always false on 64bit platforms and GCC 3.3.1 issues warning there. | |||||
* | Typo. | Mike Makonnen | 2003-06-24 | 1 | -1/+1 | |
| | | | | | | This has worked so far because the variable was empty by default. Submitted by: Kostyuk Oleg <cub@cub.org.ua> | |||||
* | s/warn/info/ | Mike Makonnen | 2003-06-20 | 1 | -1/+1 | |
| | ||||||
* | Add support for the special shell nologin. | Mike Makonnen | 2003-06-20 | 2 | -5/+44 | |
| | | | | Prodded by: mikeh | |||||
* | Update my email address. | Mike Makonnen | 2003-06-20 | 2 | -2/+2 | |
| | ||||||
* | Don't forget the -r on the second password prompt. | Mike Makonnen | 2003-06-20 | 1 | -1/+1 | |
| | | | | PR: bin/53550 | |||||
* | Tidy up. Sort headers. | Mark Murray | 2003-06-14 | 2 | -10/+9 | |
| | ||||||
* | The .Xr utility. Spelling. Put NIS under .Tn | Philippe Charnier | 2003-06-08 | 1 | -11/+19 | |
| | ||||||
* | Add information about the log file. | Tom Rhodes | 2003-05-08 | 1 | -0/+10 | |
| | | | | | PR: 35575 Submitted by: "Simon L. Nielsen" <simon@nitro.dk> (original version) | |||||
* | Make GCC 3.3 happy with rcsid[], sccs[], and copyright[]. | David E. O'Brien | 2003-05-03 | 2 | -2/+3 | |
| | ||||||
* | Brucify. | Dag-Erling Smørgrav | 2003-04-10 | 1 | -4/+8 | |
| | ||||||
* | Correctly detect the case where a password entry was changed while we were | Dag-Erling Smørgrav | 2003-04-09 | 1 | -2/+7 | |
| | | | | | | preparing to edit it. PR: bin/50563 | |||||
* | Avoid clobbering the gecos field, as we intend to use the original later. | Dag-Erling Smørgrav | 2003-04-09 | 1 | -3/+10 | |
| | | | | PR: bin/50563 | |||||
* | Apply the correct fix for bin/50679: don't mess around with process groups | Dag-Erling Smørgrav | 2003-04-09 | 1 | -13/+19 | |
| | | | | | | | or the tty, just block selected signals in the parent like system(3) does. Many thanks to bde for his assistance in finding the correct solution. PR: bin/50679 | |||||
* | Band-aid for the "^C kills the editor" problem. I haven't yet found the | Dag-Erling Smørgrav | 2003-04-08 | 1 | -10/+6 | |
| | | | | | | | | proper way to fix this. The way this works is to prepend "exec " to the editor command to eliminate the "shell in the middle" which prevents us from properly reawakening the editor after a SIGTSTP. PR: bin/50679 | |||||
* | style.Makefile(5) | David E. O'Brien | 2003-04-04 | 1 | -1/+1 | |
| | ||||||
* | Document the -g option in the usage message. | Mike Makonnen | 2003-03-23 | 1 | -0/+1 | |
| | | | | Approved by: markm (mentor)(implicit) | |||||
* | Add a -g option to specify a default login group. | Mike Makonnen | 2003-03-20 | 2 | -10/+22 | |
| | | | | Approved by: markm (mentor)(implicit) | |||||
* | o initialize a couple of local flags so the user can re-edit groups | Mike Makonnen | 2003-03-19 | 1 | -2/+8 | |
| | | | | | | | | next time the subroutine is re-entered o s/configrun/configflag/ o Make the prompt make sense if the user was creating a configuration file Approved by: markm (mentor)(implicit) | |||||
* | Make pw_edit() use /bin/sh to interpret the EDITOR environment | David Schultz | 2003-03-17 | 1 | -2/+12 | |
| | | | | | | | variable. PR: 48748 Reviewed by: mike (mentor) | |||||
* | 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 |