I did what you said to do. I had my wife logging to my box over the net thruogh my ftp server using the anonymous account and I didn't get a message that she logged into my box. I also tried telneting to my box and still no message. Using a real account and still got no message. I checked my messages log and all the logins are in the file but I would like to just check my xconsole window while in a normal account. So I don't have to open a root window and run ftpwho or tail the message file.
Thanks For the help
Aaron
aaron chatnet com
icq#22605567
Put his in /etc/profile:# The following tells root when someone logs in.
rooton=`/usr/bin/w | /bin/grep -c -e ^root`
currdate=`/bin/date`
if [ "$rooton" != "0" ] ; then
echo "$LOGNAME logged in $currdate" | /usr/bin/write root
fiThis will write a message to your console. This is disabled by default in
RH systems. You'll have to enable it using "mesg y" in your
/root/.bash_profile.Tony
--
Anthony E. Greene <agreene pobox com>
Homepage and PGP Key: <http://www.pobox.com/~agreene/>--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request redhat com with
"unsubscribe" as the Subject.
-- Aaron M. Theriault aaron chatnet com aaron-theriault usa net icq#22605567