Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-13 | Add uid_from_user() and gid_from_group(), derived from pax's cache.c. | Todd C. Miller | |
It replaces the existing pwcache.c functions user_from_uid(3) and group_from_gid(3) with the pax equivalents. Adapted from NetBSD (mycroft) changes from our own pax's cache.c. OK guenther@ | |||
2017-03-09 | As per style.9, prototypes should not have variable names associated | Frederic Cambus | |
with the types. OK jca@ | |||
2015-11-18 | Add _shadow variants to the two popular getpw functions (uid and nam). | Ted Unangst | |
This version of the function will always open the secure/shadow/master password files. Soon, the regular variants of these functions will not. (Intermixing shadow and regular gets a little weird; don't do that.) Not using struct spwd and getspwnam functions to reduce churn in callers. Should just be a one line diff in most places. ok deraadt | |||
2014-05-16 | add prototypes for new crypt functions | Ted Unangst | |
2014-05-12 | no md5crypt | Ted Unangst | |
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2008-06-25 | Add _PW_BUF_LEN define and use it instead of hard-coding 1024 for | Todd C. Miller | |
the buffer size. OK deraadt@ | |||
2008-06-24 | prototypes for getpwnam_r() and getpwuid_r() | Theo de Raadt | |
2005-12-13 | First step in include files overhaul. Use __FOO_VISIBLE (as defined | Todd C. Miller | |
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@ | |||
2004-07-13 | passwd.conf has been deprecated since login.conf was imported. | Todd C. Miller | |
Today it finally dies. Based on a diff from Gabriel Kihlman. | |||
2004-04-06 | prototypes for bcrypt and md5crypt, as described in manpage; ok deraadt@ | Damien Miller | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-04-22 | Fix 2 things that should be gid_t. One from Oleg Safiullin, one from me... | Todd C. Miller | |
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-08-26 | Change the second arg to pw_mkdb() from a boolean flag to a set of | Todd C. Miller | |
bit flags ORed together. Currently the only flags defined are _PASSWORD_SECUREONLY and _PASSWORD_OMITV7 but this is enough to cause pw_mkdb() to run pwd_mkdb with the options we want. With this change we no longer generate the old V7 passwd file when only the extra fields in master.passwd (or the encrypted password) have changed. There are other programs that could probably use the _PASSWORD_OMITV7 flag; they will be converted at a future date. | |||
2001-02-13 | _PW_NAME_LEN doesn't include the NUL, MAXLOGNAME does. | Paul Janzen | |
2001-01-31 | move utmp to large format, usernames to 32 chars; downsj | Theo de Raadt | |
2000-11-21 | Add pw_dup(3), a function to copy 'struct passwd'. It is allocated as | Todd C. Miller | |
a single chunk with the strings pointing elsewhere in the buffer so a simple free() of the struct passwd * is all that is needed to decallocate. | |||
1999-09-03 | proto bcrypt_gensalt() | Theo de Raadt | |
1999-09-01 | proto bcrypt_gensalt() | Theo de Raadt | |
1998-07-15 | pw_uid is uid_t, pw_gid is gid_t | Todd C. Miller | |
1997-02-16 | small cleanup | Niels Provos | |
1997-02-14 | passwd.conf define. | Niels Provos | |
1996-10-16 | _PW_YPTOKEN | Jason Downs | |
1996-05-22 | libutil | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |