I thought I knew this one but I'm going to need some help. We want to stop a user from dialing into the SCO box at the .profile. One kind person donated the syntax to exclude a particular tty with:
case `tty` in */ttyXX)
echo "This tty (`tty`) is forbidden"; exit;;
esac
And I'm sure it will work but I don't know what tty to look for. I'm pretty sure the modem is connected to COM2. Thanks for your help.
case `tty` in */ttyXX)
echo "This tty (`tty`) is forbidden"; exit;;
esac
And I'm sure it will work but I don't know what tty to look for. I'm pretty sure the modem is connected to COM2. Thanks for your help.