OpenBSD CVS

CVS log for src/include/login_cap.h


[BACK] Up to [local] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 1 01:22:11 2022 UTC (2 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, HEAD
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

add rtable capability to login.conf.
from Matthew Martin

Revision 1.18 / (download) - annotate - [select for diffs], Thu Feb 10 13:06:07 2022 UTC (2 years, 3 months ago) by robert
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

introduce support for storing capability databases in /etc/login.conf.d;

anytime a class is looked up, the /etc/login.conf.d/${class} file will be
checked first for a matching class definition; this will allow us to easily
add custom login classes from packages

ok millert@

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 3 13:19:45 2021 UTC (2 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

secure_path(3) hasn't been called since we recognized the TOCTOU issues a few
years back, so we can remove it.  Since nothing in the ecosystem calls it, I
am not cranking the libc major as required, surely another crank will come
along soon.
noticed by Dante Catalfamo
ok millert

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jul 29 19:40:41 2018 UTC (5 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Add _PATH_AUTHPROGDIR = "/usr/libexec/auth", this path will be used
to unveil. Unfortunately the auth subsystem uses _PATH_AUTHPROG =
"/usr/libexec/auth/login_", which it auth-program is appended to -- a
rather gross idea which now shows lack of wisdom.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 21 05:13:44 2014 UTC (9 years, 5 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.14: +1 -3 lines
Diff to previous 1.14 (colored)

change prototype for crypt_newhash. the login_cap_t is a holdover from its
pwd_gensalt origins, but a string argument works equally work and is more
friendly to consumers beyond local user accounts.
ok deraadt

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 19 22:59:50 2014 UTC (9 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

prototype for crypt_newhash(). adding it here because this is where
login_cap_t lives and i don't want to forward declare it in unistd.h

Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 28 17:17:22 2005 UTC (19 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

LOGIN_SETALL did not include LOGIN_SETENV as it should.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 9 21:15:08 2004 UTC (19 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Support the "setenv" capability in login.conf ala FreeBSD.  Following
FreeBSD's example, a '~' in an environment variable is replaced
with the user's homedir.  A '$' is replaced by the user's login
name.  Both can be escaped with a backslash to get the literal char.
OK deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Tue Aug 3 21:00:06 2004 UTC (19 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Define BI_FDPASS for the BSD auth fd passing changes.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 22 21:48:02 2004 UTC (20 years, 3 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Remove unnecessary typedef usage.

u_char -> unsigned char
u_short -> unsigned short
u_long -> unsigned long
u_int -> unsigned int

okay millert@

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 2 23:56:44 2002 UTC (21 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Change value of LOGIN_DEFSTYLE from "krb4-or-pwd" to just "passwd".
If there is no login.conf or it is corrupt we don't want to make
any assumptions about kerberos.  By request of deraadt@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 3 12:14:30 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

compatiblity -> compatibility
decriptor -> descriptor
authentciated -> authenticated
transmition -> transmission

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:17 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.6: +13 -13 lines
Diff to previous 1.6 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 15 21:32:25 2001 UTC (22 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Give login_cap_t a struct name so we can use forward declarations.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 30 15:41:51 2001 UTC (22 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Default login style is now krb4-or-pwd, not krb-or-pwd.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 1 21:50:11 2001 UTC (23 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.3: +6 -1 lines
Diff to previous 1.3 (colored)

Guard against multiple inclusion

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 21 00:51:16 2000 UTC (23 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

BSD authentication routines from BSDI.  Presently this is not used but
the login_* helper programs and other support will be committed in the
near future.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Nov 19 20:12:10 2000 UTC (23 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.1: +1 -19 lines
Diff to previous 1.1 (colored)

Remove prototypes for old BSD auth functions.  New ones will live in
bsd_auth.h when BSD authentication is committed.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 20 18:37:20 2000 UTC (23 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8

login.conf code from BSDi.  This does not include the bsd auth code
which will come later.  At this stage it is primarily used for setting
resource limits.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.