Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Who Command
Name: Mike Date: December 8, 2003 at 12:30:28 Pacific OS: Sco Unix CPU/Ram: Pentium
Comment:
I would like to know how to kick people off the Unix system. When I type "who" at the command line I receive the following:
$ who root tty02 Nov 29 12:02 root ttyp0 Nov 29 12:02 joline ttyp1 Dec 8 14:22 paul ttyp2 Dec 8 15:17 shawn ttyp3 Dec 8 09:15 joline ttyp4 Dec 8 14:22 eloise ttyp6 Dec 8 07:56 eloise ttyp7 Dec 8 07:56 dorothy ttyp8 Dec 8 07:57 dorothy ttyp9 Dec 8 07:57
Summary: Does anyone know how to write a script to find out if a particular user is logged in to unix and send a greeting if there logged in; otherwise, if they're not return a message they're not logged on. I...
Summary: Kaveh, several solutions depending on the situation. Which OS you are using ? Provide output from who -d Check if there is still an open socket. if not try to find out from which file you got the logi...