login.c (94886) | login.c (95243) |
---|---|
1/*- 2 * Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2002 Networks Associates Technologies, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed for the FreeBSD Project by 8 * ThinkSec AS and NAI Labs, the Security Research Division of Network --- 31 unchanged lines hidden (view full) --- 40 41#if 0 42#ifndef lint 43static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94"; 44#endif 45#endif 46 47#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1980, 1987, 1988, 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2002 Networks Associates Technologies, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed for the FreeBSD Project by 8 * ThinkSec AS and NAI Labs, the Security Research Division of Network --- 31 unchanged lines hidden (view full) --- 40 41#if 0 42#ifndef lint 43static char sccsid[] = "@(#)login.c 8.4 (Berkeley) 4/2/94"; 44#endif 45#endif 46 47#include <sys/cdefs.h> |
48__FBSDID("$FreeBSD: head/usr.bin/login/login.c 94886 2002-04-16 22:07:15Z des $"); | 48__FBSDID("$FreeBSD: head/usr.bin/login/login.c 95243 2002-04-22 06:27:16Z des $"); |
49 50/* 51 * login [ name ] 52 * login -h hostname (for telnetd, etc.) 53 * login -f name (for pre-authenticated login: datakit, xterm, etc.) 54 */ 55 56#include <sys/copyright.h> --- 291 unchanged lines hidden (view full) --- 348 endpwent(); 349 350 /* 351 * Establish the login class. 352 */ 353 lc = login_getpwclass(pwd); 354 355 quietlog = login_getcapbool(lc, "hushlogin", 0); | 49 50/* 51 * login [ name ] 52 * login -h hostname (for telnetd, etc.) 53 * login -f name (for pre-authenticated login: datakit, xterm, etc.) 54 */ 55 56#include <sys/copyright.h> --- 291 unchanged lines hidden (view full) --- 348 endpwent(); 349 350 /* 351 * Establish the login class. 352 */ 353 lc = login_getpwclass(pwd); 354 355 quietlog = login_getcapbool(lc, "hushlogin", 0); |
356 if (!quietlog) 357 pam_silent = 0; |
|
356 357 /* 358 * Switching needed for NFS with root access disabled. 359 * 360 * XXX: This change fails to modify the additional groups for the 361 * process, and as such, may restrict rights normally granted 362 * through those groups. 363 */ --- 550 unchanged lines hidden --- | 358 359 /* 360 * Switching needed for NFS with root access disabled. 361 * 362 * XXX: This change fails to modify the additional groups for the 363 * process, and as such, may restrict rights normally granted 364 * through those groups. 365 */ --- 550 unchanged lines hidden --- |