Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use "deprecated" instead of "depreciated" where appropriate. | sheldonh | 2002-10-30 | 1 | -1/+1 |
| | |||||
* | Don't forget to '\n'-terminate new entries. This unbreaks chpass -a. | des | 2002-10-29 | 1 | -1/+2 |
| | | | | Submitted by: joerg | ||||
* | If LOGIN_SETMAC is set and MAC is enabled in the kernel, then see | rwatson | 2002-10-23 | 1 | -0/+27 |
| | | | | | | | | | | | | if the user has a 'label' entry in their login class. If so, attempt to set that label on the process as part of the credential setup. If we're unable to parse the label, or unable to set the label, fail. In the future, we may also want to warn if a label is set but the kernel doesn't support MAC. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories | ||||
* | Zap now-unused SHLIB_MINOR | peter | 2002-09-28 | 1 | -1/+0 |
| | |||||
* | Replace various spelling with FALLTHROUGH which is lint()able | charnier | 2002-08-25 | 2 | -2/+2 |
| | |||||
* | Add LOGIN_SETMAC, which will indicate to the user context management code | rwatson | 2002-08-16 | 1 | -1/+2 |
| | | | | | | | | that it should also set the user's default MAC label, if available and permitted. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs | ||||
* | Whitespace cleanup--it's not style(9), but it is consistent. Prep | rwatson | 2002-08-11 | 1 | -3/+3 |
| | | | | | | | for MAC-related commits to the login infrastructure. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs | ||||
* | mdoc(7) police: spelling. | ru | 2002-08-09 | 1 | -1/+1 |
| | |||||
* | Add additional field 'overwrite' to login_vars. It mainly needed to handle | ache | 2002-06-28 | 1 | -10/+11 |
| | | | | | "term" according to manpage, i.e. not overwrite it, if already present in environment. | ||||
* | Backout previous delta (addition of -I${.CURDIR}/../../sys). | sobomax | 2002-06-26 | 1 | -2/+1 |
| | | | | Submitted by: bde | ||||
* | Add -I${.CURDIR}/../../sys into CFLAGS, which should fix the world broken | sobomax | 2002-06-26 | 1 | -1/+2 |
| | | | | by RLIMIT_VMEM addition. | ||||
* | Add documentation for vmemoryuse | dillon | 2002-06-26 | 1 | -0/+1 |
| | |||||
* | Make libutil aware of vmemoryuse in its login.conf cap processing (aka | dillon | 2002-06-26 | 1 | -0/+1 |
| | | | | sshd, /usr/bin/login, etc) | ||||
* | Be more clear in error messages. | n_hibma | 2002-06-23 | 1 | -4/+9 |
| | | | | | | | Distinguish between a held lock and a failed lock op. If rpc.lockd is not running on a diskless client this makes clearer what the problem is. | ||||
* | Return HOSTNAME_INVALIDADDR when reverse lookup is fail. | ume | 2002-06-07 | 1 | -1/+1 |
| | | | | Submitted by: Sergey Zorin <sergey@cc.tpu.edu.ru> | ||||
* | Add used include of <string.h>. | wollman | 2002-05-30 | 1 | -0/+1 |
| | |||||
* | 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 |
| |