Commit Graph

69 Commits

Author SHA1 Message Date
tron 7af73c0cfd Add two new passwd file update functions:
- The pw_setprefix() function defines the root directory used for passwd
  file updates. If the prefix is set to /newroot pw_lock() will operate on
  /newroot/etc/ptmp afterwards. The default prefix is an empty string.
- The pw_getprefix() function returns the root directory which is currently
  used for passwd file updates.
2000-12-06 13:47:10 +00:00
ad bd01b5c282 - Sort function decls.
- Remove duplicate decl.
- First arg to secure_path() is now constant.
2000-09-18 16:37:23 +00:00
ad df69d356ce Remove decl for parseuserspec(), a local modification which acidentally got
comitted.
2000-07-07 10:35:58 +00:00
ad c2554e1d5b - Declare pw_getconf().
- ANSIfy.
2000-07-06 11:28:04 +00:00
mjl 142f369443 Add necessary support routines for login.conf. 2000-01-12 05:02:10 +00:00
christos e063452044 - provide forward struct declarations for all functions.
- const poison login().
- XXX: we should not include all these files here. We only need stdio.h and
  sys/types.h! But I am not rm'ing them now because too many things will break.
1999-06-12 18:06:19 +00:00
thorpej fb695fdcb9 Add pidfile(3), which write a pid file in /var/run, and arranges for it
to be removed on normal exit.
1999-06-06 01:50:00 +00:00
mycroft 55ac0c2da3 const poisoning. 1998-07-26 21:58:46 +00:00
lukem 986a30c817 move pw_scan from util.h to pwd.h, add _PASSWORD_{OLDFMT,NOWARN} flags 1998-06-08 03:05:14 +00:00
lukem a4c9cc609b add flags arg to fparseln(), and define FPARSELN_UNESC{ESC,CONT,COMM,REST,ALL} 1997-12-01 02:25:46 +00:00
lukem 2542e3903a fix retval of fparseln 1997-11-16 22:34:23 +00:00
christos 987d6a1d4c Add fparseln(3) 1997-11-16 22:18:03 +00:00
cjs 6d6c746101 Add prototypes and defines for pidlock/ttylock/ttyunlock. 1997-10-11 02:24:23 +00:00
lukem 1e372f6cf9 implement opendisk(3), as discussed with Jason Thorpe 1997-09-25 04:53:30 +00:00
phil d5c2f1b21b Update pw_copy prototype for changes for PR3806, 3807. 1997-07-24 08:47:48 +00:00
christos 2c1aa43467 forgot to commit this. 1997-06-30 21:22:59 +00:00
gwr c53254800e Add declaration for ttyaction(). 1996-11-14 17:15:16 +00:00
thorpej 3ae4857c04 Prototypes for getmaxpartitions(3) and getrawpartition(3). 1996-05-16 07:00:22 +00:00
jtc 2a909cc6a7 Added new header files for functions in libutil.
Added macro for master passwd lock file.
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 21:36:43 +00:00