login revision 17987
178064Sume# Copyright (c) 1991, 1993 262587Sitojun# The Regents of the University of California. All rights reserved. 3139823Simp# 454263Sshin# This code is derived from software contributed to Berkeley by 554263Sshin# Kenneth Almquist. 654263Sshin# 754263Sshin# Redistribution and use in source and binary forms, with or without 854263Sshin# modification, are permitted provided that the following conditions 954263Sshin# are met: 1054263Sshin# 1. Redistributions of source code must retain the above copyright 1154263Sshin# notice, this list of conditions and the following disclaimer. 1254263Sshin# 2. Redistributions in binary form must reproduce the above copyright 1354263Sshin# notice, this list of conditions and the following disclaimer in the 1454263Sshin# documentation and/or other materials provided with the distribution. 1554263Sshin# 3. All advertising materials mentioning features or use of this software 1654263Sshin# must display the following acknowledgement: 1754263Sshin# This product includes software developed by the University of 1854263Sshin# California, Berkeley and its contributors. 1954263Sshin# 4. Neither the name of the University nor the names of its contributors 2054263Sshin# may be used to endorse or promote products derived from this software 2154263Sshin# without specific prior written permission. 2254263Sshin# 2354263Sshin# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2454263Sshin# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2554263Sshin# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2654263Sshin# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2754263Sshin# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2854263Sshin# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2954263Sshin# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3054263Sshin# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3154263Sshin# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32172467Ssilby# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33172467Ssilby# SUCH DAMAGE. 34172467Ssilby# 3554263Sshin# @(#)login 8.2 (Berkeley) 5/4/95 3662587Sitojun# $Id: login,v 1.2 1994/09/24 02:58:38 davidg Exp $ 3754263Sshin 3854263Sshin# replaces the login builtin in the BSD shell 3954263Sshinlogin () exec login "$@" 4054263Sshin