Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
2363
cde/lib/pam/examples/login/login.c
Normal file
2363
cde/lib/pam/examples/login/login.c
Normal file
File diff suppressed because it is too large
Load Diff
56
cde/lib/pam/examples/login/login.dfl
Normal file
56
cde/lib/pam/examples/login/login.dfl
Normal file
@@ -0,0 +1,56 @@
|
||||
#ident "@(#)login.dfl 1.8 96/02/02 SMI" /* SVr4.0 1.1.1.1 */
|
||||
|
||||
# Set the TZ environment variable of the shell.
|
||||
#
|
||||
#TIMEZONE=EST5EDT
|
||||
|
||||
# Set the HZ environment variable of the shell.
|
||||
#
|
||||
HZ=100
|
||||
|
||||
# ULIMIT sets the file size limit for the login. Units are disk blocks.
|
||||
# The default of zero means no limit.
|
||||
#
|
||||
#ULIMIT=0
|
||||
|
||||
# If CONSOLE is set, root can only login on that device.
|
||||
# Comment this line out to allow remote login by root.
|
||||
#
|
||||
CONSOLE=/dev/console
|
||||
|
||||
# PASSREQ determines if login requires a password.
|
||||
#
|
||||
PASSREQ=YES
|
||||
|
||||
# ALTSHELL determines if the SHELL environment variable should be set
|
||||
#
|
||||
ALTSHELL=YES
|
||||
|
||||
# PATH sets the initial shell PATH variable
|
||||
#
|
||||
#PATH=/usr/bin:
|
||||
|
||||
# SUPATH sets the initial shell PATH variable for root
|
||||
#
|
||||
#SUPATH=/usr/sbin:/usr/bin
|
||||
|
||||
# TIMEOUT sets the number of seconds (between 0 and 900) to wait before
|
||||
# abandoning a login session.
|
||||
#
|
||||
#TIMEOUT=300
|
||||
|
||||
# UMASK sets the initial shell file creation mode mask. See umask(1).
|
||||
#
|
||||
#UMASK=022
|
||||
|
||||
# SYSLOG determines whether the syslog(3) LOG_AUTH facility should be used
|
||||
# to log all root logins at level LOG_NOTICE and multiple failed login
|
||||
# attempts at LOG_CRIT.
|
||||
#
|
||||
SYSLOG=YES
|
||||
|
||||
# Set the number of weeks that the account is allowed to be
|
||||
# idle before the system considers that your password has
|
||||
# automatically expired
|
||||
#
|
||||
#IDLEWEEKS=
|
||||
22
cde/lib/pam/examples/login/logindevperm
Normal file
22
cde/lib/pam/examples/login/logindevperm
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# Copyright 1993, by Sun Microsystems, Inc.
|
||||
#
|
||||
#ident "@(#)logindevperm 1.1 93/08/16 SMI"
|
||||
#
|
||||
# /etc/logindevperm - login-based device permissions
|
||||
#
|
||||
# If the user is logging in on a device specified in the "console" field
|
||||
# of any entry in this file, the owner/group of the devices listed in the
|
||||
# "devices" field will be set to that of the user. Similarly, the mode
|
||||
# will be set to the mode specified in the "mode" field.
|
||||
#
|
||||
# "devices" is a colon-separated list of device names. A device name
|
||||
# ending in "/*", such as "/dev/fbs/*", specifies all entries (except "."
|
||||
# and "..") in a directory. A '#' begins a comment and may appear
|
||||
# anywhere in an entry.
|
||||
#
|
||||
# console mode devices
|
||||
#
|
||||
/dev/console 0600 /dev/mouse:/dev/kbd
|
||||
/dev/console 0600 /dev/sound/* # audio devices
|
||||
/dev/console 0600 /dev/fbs/* # frame buffers
|
||||
Reference in New Issue
Block a user