![]() |
Checking how many users are connected on different solaris work stations
Hi !
We have sunfire V240 and its setting is like that differnt solaris work station only work when server is on. I mean the authentication is done by Sunfire. Now user use these work stations remotely. I mean different users connect from there office pc to these work stations using there IP Address. All i want is that to check how many users are connected on different work stations. Plz help me in that. Regards. Sajid. |
Quote:
Quote:
Quote:
|
Hi !
Its NIS and they used ssh. I use who command but it only displays list of that specific work station users. I want all users details connected to different work station. Regards. Sajid. |
If you insist wanting the information from a single machine, then enable rwho on each of the WS.
|
w | wc -l
? |
hi !
how can i enable rwho and wat this will do ? and mdhmi i didnt get wat u write W | WC - |. Regards. Sajid. |
Quote:
/usr/sbin/in.rwhod& Quote:
After in.rwhod is running on every machine, you can run the "rwho" command and see all logged-in users. |
hi !
I run this command on my workstation. See the out put. Dont know wats the problem. # /usr/sbin/in.rwhod /var/spool/rwho: No such file or directory # /usr/sbin/in.rwhod& [1] 394 # /var/spool/rwho: No such file or directory [1]+ Exit 1 /usr/sbin/in.rwhod # rwho /var/spool/rwho: No such file or directory Regards. Sajid. |
It looks very much the system wants you to create the /var/spool/rwho directory.
Code:
mkdir /var/spool/rwho |
thx jlliagre :):) . its working .
Now if i want that only root user can use rwho command not any normal user. So is it possible to do so ? Regards. Sajid. |
Code:
chmod 0500 /usr/bin/rwho |
Why enable the evil "r" commands unnecessarily?
w | wc -l displays the number of users connected. You can run who, finger, etc via ssh. ssh <hostname> "w | wc -l" |
hi !
i have to execute following command every morning on every workstation. I guess when power-off this deamon dont work. /usr/sbin/in.rwhod & so that i can check all users connected to workstations. what should i do that it work all time. Regards. sajid. |
Quote:
e.g. /etc/rc2.d/S99rwho which contains this single line: /usr/sbin/in.rwhod |
Please let me know the solution for the following scenario...please...
How we can mount the compilers(directory) to all users using NFS automout and NIS? . The users home directory is: /home/x1 the compilers directory should mount as : /home/x1/compilers as a demand through NFS auto mount. Thanks Mahaboob |
All times are GMT -5. The time now is 06:10 AM. |