I tried scenario 1. restricting a particular login to a specifice port...and I kept getting ...
the login is test...the port is tty03
-sh: test: argument expected
**********.profile*************
# @(#) profile 68.1 98/01/20
#
# Copyright (C) 1989-1998 The Santa Cruz Operation, Inc.
# All Rights Reserved.
# The information in this file is provided for the exclusive use of
# the licensees of The Santa Cruz Operation, Inc. Such users have the
# right to use, modify, and incorporate this code into other products
# for purposes authorized by the license agreement provided they include
# this notice and the associated copyright notice with any such product.
# The information in this file is provided "AS IS" without warranty.
#
# .profile -- Commands executed by a login Bourne shell
#
PATH=$PATH:$HOME/bin:. # set command search path
MAIL=/usr/spool/mail/`logname` # mailbox location
export PATH MAIL
# use default system file creation mask
eval `tset -m scoansi:${TERM:-scoansi} -m :\?${TERM:-scoansi} -r -s -Q`
if test `tty` !="/dev/tty03"; then clear;
echo "\n\n\nthis login is not accepted on this port!!\n\n\n";
sleep 2;exit;fi
/usr/bin/prwarn # issue a warning if password due to expire
*******************************
any ideas??
Donald (Zoonkai) Dixon