summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Trim a domain part for wtmp as same as showed by "netstat -r".Atsushi Murai1998-06-011-2/+2
| | | | | | | | | | | | | Here is a some example for avoiding a confusion. It asssumes a logged host domain is "spec.co.jp". All example is longer than UT_HOSTNAMELEN value. 1) turbo.tama.spec.co.jp: 192.19.0.2 -> trubo.tama 2) turbo.tama.foo.co.jp : 192.19.0.2 -> 192.19.0.2 3) specgw.spec.co.jp : 202.32.13.1 -> specgw Submitted by: Atsushi Murai <amurai@spec.co.jp>
* Add uu_lock_txfr() to transfer ownership of a successfulBrian Somers1998-05-281-1/+3
| | | | uu_lock() to another process.
* Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogusBruce Evans1998-04-261-10/+10
| | | | | dependencies of generated .c files on generated headers (these made `make -JN' work provided `depend' was made first). Sorted sources lists.
* .Nm pw -> .Nm.Philippe Charnier1998-03-231-2/+2
|
* Add rcsid. Correct -Wall warning.Philippe Charnier1998-03-231-1/+5
|
* MF22: Remove confusing commaTim Vanderhoek1998-03-181-2/+2
|
* Clarify the -batch arguments.Steve Price1998-02-141-1/+5
| | | | | PR: 5677 Submitted by: Adrian Filipi-Martin <adrian@virginia.edu>
* Overhaul this manpage - removing typos, awkward phrasing, and addressingSteve Price1998-02-141-111/+123
| | | | | | | a few technical faults. PR: 5692 Submitted by: dannyman@arh0300.urh.uiuc.edu
* pwd_mkdb option '-c' was renamed to -C some weeks ago.Wolfram Schneider1998-02-111-4/+4
| | | | | PR: bin/5715 Submitted by: dannyman <dannyman@arh0300.urh.uiuc.edu>
* Typo.Wolfram Schneider1998-02-021-2/+2
|
* Rename the pwd_mkdb(8) option '-c' to '-C' for better compatiblityWolfram Schneider1998-01-101-2/+2
| | | | with BSD/OS.
* Use consistent spelling,Tim Vanderhoek1997-12-251-2/+2
| | | | | | | | writeable -> writable (recall prior debate over this? :-) initialise -> initialize recognise -> recognize Merry Christmas! :)
* Small bugfix: store $uid_start instead hard coded value 1000Wolfram Schneider1997-12-241-2/+2
| | | | in /etc/adduser.conf.
* Removed extra (non-trailing) arg in a call to warnx().Bruce Evans1997-12-181-2/+2
|
* Typo alert.James Raynard1997-11-021-2/+2
|
* Statisize usage().Philippe Charnier1997-10-271-1/+4
|
* Staticize usage(). Cosmetics.Philippe Charnier1997-10-101-2/+5
|
* Use err(3) instead of local redefinition. Add rcsid string.Philippe Charnier1997-10-1017-216/+228
|
* Changes to support full make parallelism (-j<n>) in the worldJordan K. Hubbard1997-10-051-3/+3
| | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
* Endless loop.Wolfram Schneider1997-09-291-5/+5
| | | | | | | | | | | $ vipw [corrupt a line in editor, exit editor] pwd_mkdb: corrupted entry pwd_mkdb: at line #2 pwd_mkdb: /etc/pw.012585: Inappropriate file type or format re-edit the password file? [y]: n^D^D [hang]
* Quieten -Wall.Mark Murray1997-09-281-1/+2
|
* Do not complain about non existing shell "/nonexistent"Wolfram Schneider1997-09-201-3/+6
| | | | | | Smarter error check if a uid is already in use. Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>
* Do not accept empty user names.Wolfram Schneider1997-09-201-2/+2
|
* Add manpage links ypchpass.1, ypchfn.1, ypchsh.1Wolfram Schneider1997-09-131-0/+3
|
* The parameters to logwtmp should be const char'sPaul Traina1997-09-041-2/+2
|
* Unquote default group in pw.conf.David Nugent1997-09-011-1/+2
| | | | | PR: 4365 Submitted by: "Andrew L. Moore" <alm@mclink.com>
* Cosmetic changes.Philippe Charnier1997-09-012-40/+47
|
* Remove login_progok()Brian Somers1997-08-311-2/+1
| | | | Suggested by: guido
* Add full support for determining if a userBrian Somers1997-08-271-1/+2
| | | | is restricted from running a given program.
* Stop the growing list of shells if /etc/adduser.confWolfram Schneider1997-08-261-4/+4
| | | | was updated.
* Cosmetic: distinguish in diag message between rebuilding and updatingJoerg Wunsch1997-08-241-1/+2
| | | | | | | the database. PR: 3397 Submitted by: taob@risc.org (Brian Tao)
* Implement canonical locking protocolAndrey A. Chernov1997-08-101-2/+4
| | | | Suggested by: joerg
* Fix -p switch.David Nugent1997-08-011-2/+2
|
* Nologin is also a valid 'invalid' shellPaul Traina1997-07-311-2/+2
|
* Modify passwd and chpass to use new AF_LOCAL RPC interface instead ofBill Paul1997-07-292-17/+23
| | | | old kludged-up 'yppasswd_comm' support.
* Delete dead test code.Wolfram Schneider1997-07-241-13/+1
|
* `cp -r' -> `cp -R'Wolfram Schneider1997-07-181-2/+2
| | | | Option -r is obsolete and buggy.
* getuid() -> geteuid().David Nugent1997-07-171-2/+2
|
* Remove addgroup/rmgroup -- they are completely replaced by pw(1).Paul Traina1997-07-055-362/+3
| | | | | Adduser/rmuser stay for now until we get a good user-friendly front-end for pw.
* Free a malloc'ed variable before exiting. Compute line number when parsingPhilippe Charnier1997-06-252-5/+12
| | | | | input file, it helps finding errors. Obtained from: OpenBSD.
* Fix a minor nit in the .Dd macro invocation so thatSteve Price1997-06-233-6/+6
| | | | the revision date is displayed correctly.
* Remove srandomdev fallback codeAndrey A. Chernov1997-06-141-5/+7
|
* Add "break" inadvertently removed in previous update.David Nugent1997-06-131-1/+3
| | | | | PR: 3820 Submitted by: Joseph Stein <joes@spiritone.com>
* Fixes skeleton directory test-it-is-a-directory logic.David Nugent1997-05-241-2/+2
| | | | | | | PR: 3666 Reviewed by: Submitted by: iaint@css.tuu.utas.edu.au Obtained from:
* Now I really understand the reason for the style.9 rule about not havingPeter Wemm1997-05-191-14/+14
| | | | | | | visible type names in prototypes in user space headers. libutil.h generates warnings with -Wall over the use of "const char *ttyname". It's lucky it wasn't a #define conflict. Is a single '_' prefix acceptable? or does it need to be two?
* For non-root uids, consider root-owned files also 'secure' unless otherwiseDavid Nugent1997-05-151-2/+2
| | | | disqualified.
* Make uu_* const correct.Brian Somers1997-05-121-4/+4
| | | | Suggested by: joerg
* MF2.2: bugfix in arrayize().David Nugent1997-05-111-2/+2
|
* Summary of login.conf support changes:David Nugent1997-05-104-362/+656
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Incorporated BSDI code and enhancements, better logging for error checking (which has been shown to be a problem, and is therefore justified, imho); also some minor things we were missing, including better quad_t math, which checks for under/overflows. o setusercontext() now allows user resource limit overrides, but does this AFTER dropping root privs, to restrict the user to droping hard limits and set soft limits within the kernel's allowed user limits. o umask() only set once, and only if requested. o add _secure_path(), and use in login.conf to guard against symlinks etc. and non-root owned or non-user owned files being used. Derived from BSDI contributed code. o revamped authentication code to BSDI's latest api, which includes deleting authenticate() and adding auth_check() and a few other functions. This is still marked as depecated in BSDI, but is included for completeness. No other source in the tree uses this anyway, so it is now bracketed with #ifdef LOGIN_CAP_AUTH which is by default not defined. Only auth_checknologin() and auth_cat() are actually used in module login_auth.c. o AUTH_NONE definition removed (collided with other includes in the tree). [bde] o BSDI's login_getclass() now accepts a char *classname parameter rather than struct passwd *pwd. We now do likewise, but added login_getpwclass() for (sort of) backwards compatiblity, namely because we handle root as a special case for the default class. This will require quite a few changes elsewhere in the source tree. o We no longer pretend to support rlim_t as a long type. o Revised code formatting to be more bsd-ish style.
* Move login_cap.h from src/include for easier maintenance withDavid Nugent1997-05-101-0/+141
| | | | related files.