Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add a more useful solution to the problem of password files with more than | Doug Barton | 2001-04-15 | 1 | -3/+14 | |
| | | | | | | | | | | one user who differs only by case. The other perl tools assume (or enforce) the all lowercase requirement, therefore making the search through master.passwd case insensitive seemed a reasonable optimization, IMO. I understand, although I do not sympathize with, the argument that someone might want to do this on purpose, and might subsequently want to use the wrong tool for the job. So, this fix should hopefully satisfy both camps. | |||||
* | Rev 1.11 introduced a bug where the processing became case insensative for | David E. O'Brien | 2001-04-15 | 1 | -1/+1 | |
| | | | | | | | username to rm. PR: 25961 Submitted by: Linh Pham <lplist@closedsrc.org> | |||||
* | beforeinstall -> SCRIPTS. | Ruslan Ermilov | 2001-04-07 | 1 | -8/+2 | |
| | ||||||
* | - Backout botched attempt to introduce MANSECT feature. | Ruslan Ermilov | 2001-03-26 | 2 | -4/+2 | |
| | | | | - MAN[1-9] -> MAN. | |||||
* | Use %c for expire/change dates | Andrey A. Chernov | 2001-03-21 | 1 | -2/+2 | |
| | ||||||
* | mdoc(7) police: simplify bogus ``.Ql Fl'' constructs. | Ruslan Ermilov | 2001-03-16 | 1 | -33/+33 | |
| | ||||||
* | Document the lock and unlock commands. This fixes a segmentation fault. | Dima Dorfman | 2001-03-14 | 1 | -0/+10 | |
| | | | | | PR: 25187 Approved by: nik | |||||
* | Document the lock and unlock commands. | Dima Dorfman | 2001-03-14 | 1 | -0/+32 | |
| | | | | | PR: 25187 Approved by: nik | |||||
* | Switch from using rand() or random() to a stronger, more appropriate PRNG | Kris Kennaway | 2001-03-05 | 1 | -19/+2 | |
| | | | | | | (random() or arc4random()) Reviewed by: bde | |||||
* | mdoc(7) police: split punctuation characters + misc fixes. | Ruslan Ermilov | 2001-02-01 | 2 | -17/+21 | |
| | ||||||
* | Prepare for mdoc(7)NG. | Ruslan Ermilov | 2001-01-16 | 2 | -2/+2 | |
| | ||||||
* | Fix typo: s/memberhip/membership/ | Peter Wemm | 2001-01-02 | 1 | -1/+1 | |
| | | | | Submitted by: Peter Avalos <pavalos@theshell.com> | |||||
* | Convert to use the <sys/queue.h> macros rather than fiddling with the queue | Ben Smithurst | 2000-12-29 | 2 | -4/+4 | |
| | | | | | | structure internals. Reviewed by: markm | |||||
* | Prepare for mdoc(7)NG. | Ruslan Ermilov | 2000-12-27 | 2 | -1/+3 | |
| | ||||||
* | Make the comment generated in /etc/pw.conf match reality | Doug Barton | 2000-12-18 | 1 | -1/+1 | |
| | | | | | PR: misc/23451 Submitted by: Ben Rosengart, ben@narcissus.net | |||||
* | * Fix a long line that I introduced in the last commit | Doug Barton | 2000-12-17 | 1 | -2/+3 | |
| | | | | | * Backslash escape non-alphanumeric chars in the login name so that perl doesn't choke on things like '$'. | |||||
* | mdoc(7) police: removed history info from the .Os FreeBSD call. | Ruslan Ermilov | 2000-12-14 | 1 | -1/+1 | |
| | ||||||
* | Add `_PATH_DEVZERO'. | David E. O'Brien | 2000-12-09 | 1 | -1/+1 | |
| | | | | Use _PATH_* where where possible. | |||||
* | If a user is in the database, rmuser ought to be able to remove them. | Doug Barton | 2000-11-21 | 1 | -42/+11 | |
| | | | | | | | | Address this by using getpwnam(), thus killing several birds with the same stone. My fix is slightly more aggressive than the originators. :) PR: misc/22278 | |||||
* | mdoc(7) police: use the new features of the Nm macro. | Ruslan Ermilov | 2000-11-20 | 3 | -17/+17 | |
| | ||||||
* | Avoid use of direct troff requests in mdoc(7) manual pages. | Ruslan Ermilov | 2000-11-10 | 1 | -12/+2 | |
| | ||||||
* | Add working and easy crypt(3)-switching. Yes, we need a whole new API | Brian Feldman | 2000-08-22 | 2 | -3/+22 | |
| | | | | | | | | | | | | | | for crypt(3) by now. In any case: Add crypt_set_format(3) + documentation to -lcrypt. Add login_setcryptfmt(3) + documentation to -lutil. Support for switching crypt formats in passwd(8). Support for switching crypt formats in pw(8). The simple synopsis is: edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :) Reviewed by: peter | |||||
* | Complete migration of aliases file to /etc/mail/aliases. | Gregory Neil Shapiro | 2000-08-13 | 1 | -1/+1 | |
| | | | | | The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster have been contacted so those may be updated as well. | |||||
* | Move test for -w flag outside of the code dealing with -D (defaults). | David Nugent | 2000-07-20 | 1 | -2/+2 | |
| | | | | | | | This should cause -w's argument not to be ignored in the usermod case, so it will affect modification of the user's password instead of using the pw.conf (or internal default=no '*') password method. PR: bin/11168 | |||||
* | Allow -g with an empty argument in the -D case. This allows -g "" to set | David Nugent | 2000-07-20 | 1 | -5/+8 | |
| | | | | | no default group (and thus fall back to user-based groups instead). PR: bin/5717 | |||||
* | Fix another missed case where usermod would not set the "modified" flag: | David Nugent | 2000-07-20 | 1 | -3/+6 | |
| | | | | | | -h - to set no password. But only mark modified if the account is not already locked (i.e. first char of crypt password field is '*'). PR: bin/19999 | |||||
* | Catch up to the fact that we now have tcsh in the tree. | David Nugent | 2000-07-16 | 1 | -1/+2 | |
| | ||||||
* | Support propogation of file flags when building a homedir from the | David Nugent | 2000-07-13 | 1 | -6/+17 | |
| | | | | | | | skeleton directory. sprintf() -> snprintf() cleanup. PR: bin/8756 Submitted by: "Nickolay N. Dudorov" <nnd@itfs.nsk.su> | |||||
* | Fix breakage introduced by bypassing update for additional 'mod' | David Nugent | 2000-07-03 | 1 | -0/+1 | |
| | | | | | | | functionality when nothing had actually changed; -d changes would not set the 'something had changed flag'. Actually test for a change in homedir. PR: bin/19649 | |||||
* | Don't dereference NULL in the userdel case. | David Nugent | 2000-06-26 | 1 | -1/+1 | |
| | ||||||
* | Localize ctype too. | Andrey A. Chernov | 2000-06-24 | 2 | -3/+3 | |
| | | | | Add weekday to showuser expired fields | |||||
* | Localize time/date. | Andrey A. Chernov | 2000-06-22 | 5 | -23/+27 | |
| | | | | | Use ISO 8601 date in logs. Fix wrong argument type in ctype functions. | |||||
* | Fix obvious braino in assignment statement. usermod -g should work again. | David Nugent | 2000-06-18 | 1 | -1/+1 | |
| | | | | | PR: 17877 Submitted by: pius@zyan.com | |||||
* | Be a little more strict about handling command line args. This allows user and | David Nugent | 2000-06-18 | 1 | -4/+6 | |
| | | | | | | group names like 'help' 'mod' 'user' 'group' etc. to work correctly without requiring the -n style invocation. PR: misc/17069 | |||||
* | Fix a long-standing bug in the rename case previously masked by another bug | David Nugent | 2000-06-18 | 1 | -2/+10 | |
| | | | | just fixed in .db file updating. | |||||
* | Second and hopefully final fix to .db sync when renaming a user; we must run | David Nugent | 2000-06-18 | 1 | -4/+12 | |
| | | | | | | | a full reindex in this case to remove the old record. #ifdef -u capability since this is available on FreeBSD only. PR: bin/16418 Problem pointed out by: Masachika ISHIZUKA <ishizuka@ish.org> | |||||
* | Fix db syncronization when username is changed with -l under usermod. | David Nugent | 2000-06-06 | 1 | -1/+1 | |
| | | | | | | | | pw(8) was calling pwd_mkdb -u oldusername instead of newusername, so the update appears to have failed until the next full pwd_mkdb syncronization. PR: bin/16418 | |||||
* | Back out the previous change to the queue(3) interface. | Jake Burkholder | 2000-05-26 | 1 | -2/+2 | |
| | | | | | | It was not discussed and should probably not happen. Requested by: msmith and others | |||||
* | Change the way that the queue(3) structures are declared; don't assume that | Jake Burkholder | 2000-05-23 | 1 | -2/+2 | |
| | | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd | |||||
* | Un-botch my botched reduction in permitted characters in the permitted | Mark Newton | 2000-03-14 | 1 | -1/+1 | |
| | | | | | | | username check which resulted from my attempt to expand them. PR: bin/17372 Reviewed by: sheldonh | |||||
* | Fix the case where username validity test would incorrectly fail if | Mark Newton | 2000-03-14 | 1 | -1/+1 | |
| | | | | | | the specified username contained uppercase alphabetics. PR: bin/17372 | |||||
* | Remove more single-space hard sentence breaks. | Sheldon Hearn | 2000-03-06 | 1 | -1/+2 | |
| | ||||||
* | Remove more single-space hard sentence breaks. | Sheldon Hearn | 2000-03-02 | 1 | -1/+2 | |
| | ||||||
* | Remove single-space hard sentence breaks. These degrade the quality | Sheldon Hearn | 2000-03-01 | 3 | -9/+18 | |
| | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. | |||||
* | Portability fixes for other bsd4.4 derivatives. | David Nugent | 2000-01-15 | 6 | -20/+33 | |
| | ||||||
* | Revert the libcrypt/libmd stuff back to how it was. This should not have | Peter Wemm | 1999-12-18 | 1 | -2/+2 | |
| | | | | | | | | happened as it was working around problems elsewhere (ie: binutils/ld not doing the right thing according to the ELF design). libcrypt has been adjusted to not need the runtime -lmd. It's still not quite right (ld is supposed to work damnit) but at least it doesn't impact all the users of libcrypt in Marcel's cross-build model. | |||||
* | Add libmd (or move it after libcrypt). We don't want the linker to be | Marcel Moolenaar | 1999-12-16 | 1 | -2/+2 | |
| | | | | | smart because it will definitely get it wrong. This popped up during cross-linking. | |||||
* | Don't try updating the passwd file if no data has changed. This allows things | David Nugent | 1999-10-26 | 1 | -39/+102 | |
| | | | | | | like "pw usermod <name> -m" to work for non-local NIS users; since no attempt is made to update the password entry, the home directory will be created and populated as expected without error. | |||||
* | Add new functionality "lock" and "unlock" to provide a simple password | David Nugent | 1999-10-26 | 4 | -8/+47 | |
| | | | | | | locking mechanism for users. This works by prepending the string "*LOCKED*" to the password field in master.passwd to prevent successful decoding. | |||||
* | Missed statement in password update relating to the previous change | David Nugent | 1999-10-26 | 1 | -1/+1 | |
| | | | | to fileupdate() which prevented pwd_mkdb(1) from being run. |