bash-2.05# vi /etc/default/login

"/etc/default/login" [Read only] 74 lines, 2013 characters
#ident  "@(#)login.dfl  1.11    00/10/19 SMI"
#
# Copyright (c) 1989-2000 by Sun Microsystems, Inc.
# All rights reserved.

# Set the TZ environment variable of the shell.
#
#TIMEZONE=EST5EDT

# 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.
#
"/etc/default/login" 74 lines, 2014 characters



bash-2.05#
bash-2.05# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.


SunOS 5.9

login: root
Password:
Last login: Thu Dec 15 17:23:56 from 172.16.7.81
Sun Microsystems Inc.   SunOS 5.9       Generic January 2003
# exit
Connection to localhost closed by foreign host.
bash-2.05#

Posted by 딩구르
,