| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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> | ||||
| * | Correct some egregious style bugs. | Dag-Erling Smørgrav | 2001-12-04 | 1 | -13/+21 |
| | | |||||
| * | Add a missing error check. This fixes a bug that would cause pwd_mkdb to | Dag-Erling Smørgrav | 2001-12-04 | 1 | -1/+2 |
| | | | | | | | | | | dump core if invoked with an input file that looks like a password file but isn't (e.g. /etc/group). PR: 32378 Submitted by: Maxim Konovalov <maxim@macomnet.ru> MFC after: 1 week | ||||
| * | Change rmskey() to rmopie() - we don't have skey anymore | Andrey A. Chernov | 2001-10-19 | 1 | -6/+6 |
| | | |||||
| * | Add __FBSDID()s to libutil | Matthew Dillon | 2001-09-30 | 3 | -6/+8 |
| | | |||||
| * | 1) Back out ~/.login_conf disable | Andrey A. Chernov | 2001-09-25 | 1 | -6/+5 |
| | | | | | 2) Pick only "me" class from ~/.login_conf as documented | ||||
| * | Disable per-user .login_conf support due to incorrect merging of local | Robert Watson | 2001-09-16 | 1 | -0/+3 |
| | | | | | | | and globaly settings. An alternative implementation will be developed. Reported by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl> | ||||
| * | o Add a comment noting that the early setting of privileges for the purpose | Robert Watson | 2001-09-15 | 1 | -2/+6 |
| | | | | | | | | of NFS home directory and root directory processing fails to include additional groups. This doesn't impact the final credential, but does mean that users may be denied login even when additional groups might allow it. | ||||
| * | Set BINOWN=root explicitly for setuid root binaries. | Ruslan Ermilov | 2001-09-13 | 1 | -0/+1 |
| | | | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case. | ||||
| * | 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> | ||||
| * | Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds | Dima Dorfman | 2001-09-05 | 1 | -2/+2 |
| | | | | | | | | | | COPTS towards the end of final CFLAGS so that it can be used to override Makefile and other defaults. Using it in Makefiles risks having options set using it clobbered when somebody uses it on the command line. Approved by: bde | ||||
| * | 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 | 2 | -2/+6 |
| | | |||||
| * | can not -> cannot | Sheldon Hearn | 2001-08-08 | 1 | -1/+1 |
| | | |||||
| * | 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 | ||||
| * | Prevent chpass(1) from writing -1 in the UID or GID fields | Mike Barcroft | 2001-07-26 | 3 | -8/+13 |
| | | | | | | | | | | in the password file by properly casting integers. PR: 27757 Reviewed by: des Approved by: des MFC after: 4 days | ||||
| * | Use a safer method of creating the temporary password file. | Chris D. Faulhaber | 2001-07-25 | 1 | -8/+8 |
| | | | | | | | Submitted by: dynamo@harvard.net Obtained from: OpenBSD MFC after: 3 days | ||||
| * | Fix removal of at jobs. | Guy Helmer | 2001-07-23 | 1 | -24/+66 |
| | | | | | | | PR: bin/23052 Submitted by: Mike Sellenschuetter <mike.sellenschuetter@bankofamerica.com> MFC after: 1 week | ||||
| * | remove emalloc,ecalloc,erealloc,estrdup | Assar Westerlund | 2001-07-23 | 1 | -4/+0 |
| | | |||||
| * | add ecalloc, emalloc, erealloc, estrdup - versions of the e-less | Assar Westerlund | 2001-07-22 | 1 | -0/+4 |
| | | | | | functions that exit instead of failing | ||||
| * | Perform a major cleanup of the usr.sbin Makefiles. | David E. O'Brien | 2001-07-20 | 1 | -3/+1 |
| | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. | ||||
| * | Remove GCC'isms in CFLAGS. | David E. O'Brien | 2001-07-20 | 1 | -1/+0 |
| | | |||||
| * | Generate a bigger salt. This is necessary for blowfish to work | Dima Dorfman | 2001-07-19 | 1 | -1/+1 |
| | | | | | | | | properly, and doesn't hurt the other algorithms. PR: 28991 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> | ||||
| * | Remove whitespace at EOL. | Dima Dorfman | 2001-07-15 | 5 | -65/+65 |
| | | |||||
| * | mdoc(7) police: removed HISTORY info from the .Os call. | Ruslan Ermilov | 2001-07-10 | 1 | -1/+1 |
| | | |||||
| * | mdoc(7) police: remove extraneous .Pp before and/or after .Sh. | Dima Dorfman | 2001-07-09 | 3 | -5/+0 |
| | | |||||
| * | Fix the type of the NULL arg to execl() | Brian Somers | 2001-07-09 | 2 | -4/+4 |
| | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> | ||||
| * | Don't override the default BINMODE. | Ruslan Ermilov | 2001-07-05 | 1 | -2/+0 |
| | | | | | Submitted by: bde | ||||
| * | Fix a harmless format string bogon and mark a function as __printflike(). | Kris Kennaway | 2001-07-05 | 2 | -2/+2 |
| | | | | | | | | There is still one instance of non-constant format string use inside that function, but it's hard to fix. MFC after: 1 week | ||||
| * | Include missing header files which define functions for which gcc has | Dima Dorfman | 2001-06-24 | 1 | -0/+1 |
| | | | | | builtints (e.g., exit, strcmp). | ||||
| * | CND has been unused for two years, and RND has been unused for five | Dima Dorfman | 2001-06-19 | 1 | -1/+1 |
| | | | | | | | | years; remove them from CFLAGS. PR: 23712 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> | ||||
| * | Fix the rmuser script to correctly determine if a user does not exist. | Adrian Chadd | 2001-05-02 | 1 | -1/+1 |
| | | | | | PR: 26674 | ||||
