Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If no old_pw was passed to pw_copy, compare just the name. | des | 2002-05-08 | 1 | -1/+2 |
| | | | | Sponsored by: DARPA, NAI Labs | ||||
* | Add passwd manipulation code based on parts of vipw and chpass. | des | 2002-05-08 | 3 | -86/+438 |
| | | | | Sponsored by: DARPA, NAI Labs | ||||
* | login(3) doesn't care about the controlling terminal any more. | des | 2002-04-20 | 1 | -1/+1 |
| | |||||
* | Fix for the sshd(8) utmp problem. Previously, login(3) would ignore the tty | des | 2002-04-20 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | named by its argument and use ttyslot(3) instead to determine what slot to use. The problem is that sshd(8) calls pam_open_session(3) before forking the child (as it should), at which point it does not have a controlling terminal. Also, ttyslot(3) is very crude as it assumes fd 0, 1 or 2 refers to the controlling terminal, which is usually (but not always) the case. Instead of using ttyslot(3) to determine the slot number, look up the specified tty in /etc/ttys ourselves (this is what ttyslot(3) does anyway). (perforce change 9969) Sponsored by: DARPA, NAI Labs | ||||
* | Make mppath and masterpasswd pointers instead of arrays, and initialize | des | 2002-04-17 | 1 | -2/+4 |
| | | | | | | | | | them to point at static strings that contain the default paths. This makes 'vipw -d' work again (I broke it in rev 1.21; apologies for taking so long to fix it.) Spotted by: Olivier Houchard <doginou@cognet.ci0.org> Sponsored by: DARPA, NAI Labs | ||||
* | Add a missing cross-ref. | ceri | 2002-04-16 | 1 | -1/+2 |
| | | | | | Approved by: murray MFC after: 1 week | ||||
* | Remove bogus reference to _use_yp. | des | 2002-04-15 | 1 | -9/+1 |
| | |||||
* | Const poisoning. | ru | 2002-04-08 | 6 | -28/+26 |
| | |||||
* | Remove multi-line __P() usage. | obrien | 2002-03-22 | 1 | -8/+7 |
| | |||||
* | Remove __P() usage. | obrien | 2002-03-21 | 3 | -66/+66 |
| | |||||
* | Remove 'register' keyword. | obrien | 2002-03-21 | 2 | -3/+3 |
| | |||||
* | Remove a bogus cast. | des | 2002-03-06 | 1 | -1/+1 |
| | |||||
* | Correct a typo. | dd | 2002-03-03 | 1 | -1/+1 |
| | | | | | PR: 35273 Submitted by: Nicola Vitale <nivit@libero.it> | ||||
* | #include <time.h> for the definition of time functions instead of | bde | 2002-02-25 | 1 | -1/+2 |
| | | | | | | depending on namespace pollution 2 layers deep in <sys/stat.h>. Sorted includes. | ||||
* | #include <stddef.h> for the definition of NULL instead of depending on | bde | 2002-02-25 | 1 | -1/+3 |
| | | | | | | namespace pollution 2 layers deep in <sys/stat.h>. Sorted includes. | ||||
* | ANSIfy and constify. | des | 2002-02-05 | 1 | -17/+15 |
| | | | | Sponsored by: DARPA, NAI Labs | ||||
* | o Reflect repo-copy of extattr.[c3] from libutil to libc, moving | rwatson | 2001-11-16 | 3 | -181/+1 |
| | | | | | | | | extattr namespace routines to the libc/posix1e directory. While the extattr calls are not strictly POSIX.1e, POSIX.1e wasn't strictly ever approved, so I think that's OK. Obtained from: TrustedBSD Project | ||||
* | o Document 'nocheckmail' login capability. | rwatson | 2001-11-16 | 1 | -0/+1 |
| | |||||
* | Although the 'bool' type is referenced in the list of capabilities, it | rwatson | 2001-11-16 | 1 | -0/+3 |
| | | | | | | | is not defined in the capability type list. Provide a definition for 'bool', if a slightly less than elegant one. Note that this definition does not include the complete scope of available behavior defined in cgetcap(3), and could probably be improved. | ||||
* | Fix the phrase about "both files", which must be left | yar | 2001-10-11 | 1 | -1/+3 |
| | | | | | | | from login(3). This page, logwtmp(3), speaks of only one file -- wtmp(5). MFC after: 1 week | ||||
* | mdoc(7) police: Use the new .In macro for #include statements. | ru | 2001-10-01 | 19 | -44/+44 |
| | |||||
* | Add __FBSDID()s to libutil | dillon | 2001-09-30 | 20 | -52/+58 |
| | |||||
* | 1) Back out ~/.login_conf disable | ache | 2001-09-25 | 2 | -8/+5 |
| | | | | 2) Pick only "me" class from ~/.login_conf as documented | ||||
* | Disable per-user .login_conf support due to incorrect merging of local | rwatson | 2001-09-16 | 2 | -0/+5 |
| | | | | | | 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 | rwatson | 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. | ||||
* | Removed duplicate VCS ID tags, as per style(9). | ru | 2001-08-13 | 1 | -1/+0 |
| | |||||
* | mdoc(7) police: protect trailing full stops of abbreviations | ru | 2001-08-10 | 1 | -1/+1 |
| | | | | with a trailing zero-width space: `e.g.\&'. | ||||
* | Simplify IPv4 mapped IPv6 address handling. | ume | 2001-07-23 | 1 | -66/+39 |
| | | | | | Reviewed by: brian MFC after: 5 days | ||||
* | remove emalloc,ecalloc,erealloc,estrdup | assar | 2001-07-23 | 7 | -270/+1 |
| | |||||
* | add ecalloc, emalloc, erealloc, estrdup - versions of the e-less | assar | 2001-07-22 | 7 | -2/+271 |
| | | | | functions that exit instead of failing | ||||
* | Hint getaddrinfo() correctly if we're looking up a name that we got from | brian | 2001-07-21 | 1 | -2/+9 |
| | | | | | | an AF_INET6 address. MFC after: 1 week | ||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 13 | -59/+59 |
| | |||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 8 | -8/+8 |
| | |||||
* | mdoc(7) police: remove extraneous .Pp before and/or after .Sh. | dd | 2001-07-09 | 2 | -4/+0 |
| | |||||
* | Fix the type of the NULL arg to execl() | brian | 2001-07-09 | 1 | -3/+3 |
| | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> | ||||
* | Add RETURN VALUES and ERRORS sections. | dd | 2001-06-25 | 1 | -2/+11 |
| | |||||
* | Add a manual page for extattr_string_to_namespace and | dd | 2001-06-24 | 2 | -0/+94 |
| | | | | | | extattr_namespace_to_string. Reviewed by: rwatson | ||||
* | Removed -I${.CURDIR}/.../sys from CFLAGS. | ru | 2001-05-18 | 1 | -1/+1 |
| | |||||
* | Sort. | obrien | 2001-05-18 | 1 | -23/+24 |
| | |||||
* | Add the "prompt" and "passwd_prompt" fields to /etc/login.conf, | obrien | 2001-05-18 | 1 | -0/+4 |
| | | | | | | which makes lgoin more like getty in its ability to be configured. Submitted by: tlambert (code only) | ||||
* | Don't pass NULL to the %s format. | dd | 2001-04-22 | 1 | -2/+6 |
| | | | | Reviewed by: kris | ||||
* | mdoc(7) police: normalize .Nd. | ru | 2001-04-18 | 3 | -3/+3 |
| | |||||
* | MAN[1-9] -> MAN. | ru | 2001-03-27 | 1 | -2/+2 |
| | |||||
* | o Slap some "_"'s in front of variable names relating to extattr functions, | rwatson | 2001-03-22 | 1 | -3/+3 |
| | | | | | | so as not to pollute application namespace. Submitted by: bde | ||||
* | o Rename "namespace" argument to "attrnamespace" as namespace is a C++ | rwatson | 2001-03-19 | 1 | -7/+7 |
| | | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project | ||||
* | o Rename "namespace" argument to "attrnamespace" as namespace is a C++ | rwatson | 2001-03-19 | 1 | -2/+3 |
| | | | | | | | | reserved word, causing breakage when a C++ program included libutil.h This change will be propagated elsewhere shortly. Submitted by: jkh Obtained from: TrustedBSD Project | ||||
* | Fix some further style nits | brian | 2001-03-17 | 1 | -8/+11 |
| | | | | Pointed out by: bde | ||||
* | Actually commit the new version of trimdomain *blush* | brian | 2001-03-15 | 1 | -70/+80 |
| | | | | Thanks for covering my blunder to: peter | ||||
* | o To support new EA interface with explicit namespaces, introduce two | rwatson | 2001-03-15 | 3 | -3/+80 |
| | | | | | | | | | | | utility functions which convert between string namespace names and numeric constants used by the interface. Right now, two namespaces are supported, EXTATTR_NAMESPACE_SYSTEM ("system") and EXTATTR_NAMESPACE_USER ("user"). These functions are used by various userland EA utilities, rather than hard coding the routines all over the place. Obtained from: TrustedBSD Project | ||||
* | It would help if trimdomain.c was actually committed. This is a stopgap | peter | 2001-03-15 | 1 | -0/+105 |
| | | | | | | world-unbreaker until Brian Somers commits the one he intended to. Pointy Hat to: brian |