Users connect to the F50 server from their PCs, using telnet. I have given each PC a hostname in the /etc/hosts.
I need a command that will identify the IP address of the PC that connected to the server using telnet. I need to have this into the users' .profile. I currently run:
# who -m | cut -f 2 -d\( | cut -f 1 -d\)
I dont want to keep using this because sometimes I have to run .profile in the background and I get the message:
"Do not run who am i as a background process"
thanx a lot
I need a command that will identify the IP address of the PC that connected to the server using telnet. I need to have this into the users' .profile. I currently run:
# who -m | cut -f 2 -d\( | cut -f 1 -d\)
I dont want to keep using this because sometimes I have to run .profile in the background and I get the message:
"Do not run who am i as a background process"
thanx a lot