pw_user.c (a64b90fbaa161ec68aec69bec110e0cdab7b4dd3) | pw_user.c (bcbdb01e569876034a66c001132994482b048c31) |
---|---|
1/*- 2 * Copyright (C) 1996 3 * David L. Nugent. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * 26 */ 27 28#ifndef lint 29static const char rcsid[] = 30 "$FreeBSD$"; 31#endif /* not lint */ 32 | 1/*- 2 * Copyright (C) 1996 3 * David L. Nugent. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * 26 */ 27 28#ifndef lint 29static const char rcsid[] = 30 "$FreeBSD$"; 31#endif /* not lint */ 32 |
33#include <sys/param.h> 34#include <sys/resource.h> 35#include <sys/time.h> 36#include <sys/types.h> 37 |
|
33#include <ctype.h> | 38#include <ctype.h> |
39#include <dirent.h> |
|
34#include <err.h> 35#include <fcntl.h> | 40#include <err.h> 41#include <fcntl.h> |
36#include <inttypes.h> 37#include <sys/param.h> 38#include <dirent.h> 39#include <paths.h> 40#include <termios.h> 41#include <sys/types.h> 42#include <sys/time.h> 43#include <sys/resource.h> 44#include <login_cap.h> 45#include <pwd.h> | |
46#include <grp.h> | 42#include <grp.h> |
43#include <pwd.h> |
|
47#include <libutil.h> | 44#include <libutil.h> |
45#include <login_cap.h> 46#include <paths.h> 47#include <string.h> 48#include <sysexits.h> 49#include <termios.h> 50#include <unistd.h> 51 |
|
48#include "pw.h" 49#include "bitmap.h" | 52#include "pw.h" 53#include "bitmap.h" |
54#include "psdate.h" |
|
50 51#define LOGNAMESIZE (MAXLOGNAME-1) 52 53static char locked_str[] = "*LOCKED*"; 54 55static struct passwd fakeuser = { 56 "nouser", 57 "*", --- 1671 unchanged lines hidden --- | 55 56#define LOGNAMESIZE (MAXLOGNAME-1) 57 58static char locked_str[] = "*LOCKED*"; 59 60static struct passwd fakeuser = { 61 "nouser", 62 "*", --- 1671 unchanged lines hidden --- |