Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | english(4) police. | Jens Schweikhardt | 2002-12-27 | 2 | -5/+5 |
| | |||||
* | 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. | ||||
* | 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 | ||||
* | The .Nm utility | Philippe Charnier | 2002-07-14 | 3 | -37/+67 |
| | |||||
* | de-__P() | Alfred Perlstein | 2002-07-11 | 3 | -51/+51 |
| | |||||
* | 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 | ||||
* | In the words of the submitter: | Dima Dorfman | 2002-04-05 | 1 | -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 Dorfman | 2002-04-05 | 1 | -0/+9 |
| | | | | | PR: 36735 Submitted by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org> | ||||
* | Merge a duplicate description of the -L option into the first one. | Giorgos Keramidas | 2002-03-08 | 1 | -10/+2 |
| | | | | | PR: docs/34782 MFC after: 1 week | ||||
* | Found a single point where rmuser(8) wasn't robust to strange | Yaroslav Tykhiy | 2002-02-11 | 1 | -1/+1 |
| | | | | | characters in a username: where it was inserted into a regexp. Fix it by escaping metacharacters in the name with \Q-\E. | ||||
* | Keep similar things together: Check for too long usernames | Yaroslav Tykhiy | 2002-01-28 | 1 | -4/+3 |
| | | | | inside the function that verifies username validity. | ||||
* | Disallow adding duplicate roots, toors, or other users w/uid 0. | Yaroslav Tykhiy | 2002-01-28 | 1 | -1/+1 |
| | | | | | | | Previously, a truth check instead if defined() check erroneously allowed that. PR: bin/8745 | ||||
* | Implement a flexible way of letting some unusual characters | Yaroslav Tykhiy | 2002-01-28 | 1 | -6/+38 |
| | | | | | | | | into usernames: Make the regular expression to check usernames against configurable. PR: bin/22860 bin/31049 Reviewed by: sheldonh | ||||
* | Remove the newly added -force option because it made adduser(8) | Yaroslav Tykhiy | 2002-01-28 | 2 | -29/+2 |
| | | | | | | | less robust to possible errors of the user/admin while adduser(8) had been intended to minimize their possibility. An alternative way of introducing strange symbols into usernames to be committed really soon. | ||||
* | Add `-h' to the chown command so that symbolic links copied from | Ian Dowse | 2002-01-20 | 1 | -1/+1 |
| | | | | | | | | the skeleton directory are chown'd to the new user. PR: bin/10601 Submitted by: Adrian Filipi-Martin <adrian2ubergeeks.com@gosub.cstone.net> MFC after: 1 month | ||||
* | yp(4) -> yp(8). | Ruslan Ermilov | 2002-01-14 | 1 | -2/+2 |
| | | | | PR: docs/30797 | ||||
* | Remove myself as maintainer, I don't have free time for adduser anymore. | Wolfram Schneider | 2002-01-13 | 1 | -2/+0 |
| | |||||
* | Oops, missed one point where $pwd_mkdb had been used. | Yaroslav Tykhiy | 2002-01-04 | 1 | -1/+1 |
| | | | | | Now it should be @pwd_mkdb since we moved to Perl's safe system() not using /bin/sh. | ||||
* | Document a new option: -force. | Yaroslav Tykhiy | 2002-01-02 | 1 | -0/+8 |
| | |||||
* | Allow weird characters in usernames if an admin persists on that: | Yaroslav Tykhiy | 2002-01-02 | 1 | -8/+27 |
| | | | | | | | | | | a) Convert all the remaining older Perl system() calls to the new, more secure LIST format so they are robust to whitespace and shell metacharacters in their arguments. b) Add a new option: -force, which allows adding usernames containing characters that are otherwise illegal. PR: bin/22860 bin/31049 | ||||
* | Be consistent in what restriction is imposed on a username | Yaroslav Tykhiy | 2002-01-02 | 1 | -2/+4 |
| | | | | in the code and what the warning message reads. | ||||
* | Forbid adding duplicate users with the name of "0". | Yaroslav Tykhiy | 2002-01-02 | 1 | -2/+2 |
| | | | | | Previously, it was possible due to 0 and "0" being equivalent in Perl. | ||||
* | Parse atq(1) output correctly under various (but not all perhaps) | Yaroslav Tykhiy | 2002-01-02 | 1 | -1/+1 |
| | | | | locale settings: allow any date and time separator characters. | ||||
* | In remove_at_jobs(): | Yaroslav Tykhiy | 2002-01-02 | 1 | -2/+2 |
| | | | | | Don't print "Removing at jobs" if there are no jobs to remove. Add a whitespace before "done." so the output looks better. | ||||
* | Use correct mode for temporary file. | Jacques Vidrine | 2001-12-20 | 1 | -1/+1 |
| | | | | Reported by: ryan beasley <ryanb@goddamnbastard.org> | ||||
* | Change rmskey() to rmopie() - we don't have skey anymore | Andrey A. Chernov | 2001-10-19 | 1 | -6/+6 |
| | |||||
* | Print the correct filename if we fail to open $etc_passwd. | Dima Dorfman | 2001-09-06 | 1 | -1/+1 |
| | | | | Submitted by: Brian Poole <raj@cerias.purdue.edu> | ||||
* | For new users, create the home directory before sending the welcome | Dima Dorfman | 2001-09-03 | 1 | -24/+24 |
| | | | | | | | | mail, if configured to do so. Some sites have setups where the user's mail is delivered to their home directory, so sending mail before is exists didn't work. PR: 29892 | ||||
* | Unbreak group operations by reverting previous delta which removed the | Dima Dorfman | 2001-08-30 | 1 | -1/+1 |
| | | | | | | | | assignment of `l' in `gr_update' to the return value of snprintf. It claimed to have fixed the case where snprintf returned -1--in fact, it broke the entire routine. Not setting `l' here causes fileupdate() to invariably fail with EINVAL because it does its own check to assert that the parameter isn't -1. | ||||
* | Properly initialize the random number generator in pw_getpass(). | Joerg Wunsch | 2001-08-21 | 1 | -0/+1 |
| | | | | | | | Right now, the automatically generated passwords have been rather predictable. :-( MFC after: 1 day | ||||
* | Fix a typo in a variable name that made pw(8) coredump when using | Joerg Wunsch | 2001-08-21 | 1 | -1/+1 |
| | | | | | | USE_MD5RAND. MFC after: 2 days | ||||
* | Handle snprintf() returning < 0 (not just -1) | Brian Somers | 2001-08-20 | 2 | -3/+3 |
| | | | | MFC after: 2 weeks | ||||
* | Handle snprintf() returning -1. | Brian Somers | 2001-08-20 | 3 | -1/+7 |
| | | | | MFC after: 2 weeks | ||||
* | Pass the username we just made to pwd_mkdb so that the latter doesn't | Dima Dorfman | 2001-08-20 | 1 | -3/+4 |
| | | | | | | | have to regenerate the entire database. PR: 25798 Submitted by: Domas Mituzas <domas.mituzas@delfi.lt> | ||||
* | mdoc(7) police: s/BSD/.Bx/ where appropriate. | Ruslan Ermilov | 2001-08-14 | 1 | -1/+3 |
| | |||||
* | Add "use Fcntl" to resolve O_RDWR|O_CREAT|O_EXCL macros used in | Guy Helmer | 2001-08-01 | 1 | -0/+2 |
| | | | | | | new sysopen call. PR: 29366 (in part) | ||||
* | Install the new password file with pwd_mkdb, not the old one. | Guy Helmer | 2001-08-01 | 1 | -1/+1 |
| | | | | PR: 29366 (in part) | ||||
* | The variable giving the name of the temporary password file was | Guy Helmer | 2001-07-30 | 1 | -5/+5 |
| | | | | | | | | inconsistently named "ptmp" and "etc_ptmp". This commit changes it to "passwd_tmp" for consistency and to match OpenBSD's name for the variable. Consulted with: jedgar |