01-26-2010
Hi jim,
thanks for the reply. The other account is logged in and running a different process on a different machine.
So:
Machine A: running my program as user admin
Machine B: running some other process as user johnmcpa
Machine B authenticated johnmcpa before they started running their process.
10 More Discussions You Might Find Interesting
1. SCO
Hi All,
I am new to shell scripting.
Can someone let me know, how to check whether the user exists in the remote system?
I am building a new unix box and before I proceed installing the appliation , I want to check whether the required users are created in the system .
how to do this ?... (1 Reply)
Discussion started by: Srini75
1 Replies
2. Shell Programming and Scripting
Hi,
Can someone tell me how to check if a file exists on a remote machine using rexec command?I'm using ksh.
Thanks (3 Replies)
Discussion started by: Sheema
3 Replies
3. UNIX for Advanced & Expert Users
Hello everyone
Does anyone know, if there is a command that tells you who is logged in on remote host?
I'm ssh-ing as root to the remote host and then run whoami but that doesn't tells me who is logged in that particular computer instead shows my remote login. Is there a way to do that?... (2 Replies)
Discussion started by: goude
2 Replies
4. Programming
Hi Friends,
Can some one please guide me on how to make a script run on a remote UNIX machine from a java application.
Or may if you can just tell me how do u ping to the remote UNIX machine using java code.
Been looking for the solution since 5-6 hrs, didn't got any where near :(
Thanks. (1 Reply)
Discussion started by: Sanjay MD
1 Replies
5. Shell Programming and Scripting
Hi all,
I am a beginner to shell script.Can any one please help me on the below requirement
I need to check whether the file (called 3Com_Files_Delivered.txt) exists on the remote mechaine or not? if so i need to copy all the files from there to my local mechaine.Especially i am... (7 Replies)
Discussion started by: narasimha123
7 Replies
6. Shell Programming and Scripting
I am haveing one script haveing one issue with this could any one can reply soon it is very urgent.
:p
if ssh hcp_ftp@$1 'ls '$2/stop.txt' 1>&2 2>/dev/null'; then exit 1;
else
scp -p hcp_ftp@$1:$2/VAT*.dat $3 <<EOF
EOF
cd $3
pwd
echo 'About to find file'
SOURCE_FILE=$(ls -rt VAT*.dat|tail... (2 Replies)
Discussion started by: marpadga18
2 Replies
7. Homework & Coursework Questions
I was given this to do,
Write a Shell script to automatically check that a specified user is logged in to the computer.
The program should allow the person running the script to specify the name of the user to be checked, the frequency in seconds at which the script should check. If a... (0 Replies)
Discussion started by: operator
0 Replies
8. Shell Programming and Scripting
Hi I am working in a java application. I need to execute a perl script(linux) which is in remote machine in java application from local machine(windows). I need to do this process automatically that is without manual intereption. Now I will explain the process clearly, at present to run the... (1 Reply)
Discussion started by: bassma
1 Replies
9. Red Hat
How do I confirm if a user logged in, is remote or local? In the case if the user is remote, how to be sure what authentication/method is it using, like LDAP, NIS or other? (2 Replies)
Discussion started by: kirtikjr
2 Replies
10. Shell Programming and Scripting
Hi,
I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine.
From a windows machine, I want to run the shell script program (If possible using java).
I tried with SSH for this. but, in... (1 Reply)
Discussion started by: ram.sj
1 Replies
rusers(1) User Commands rusers(1)
NAME
rusers - who is logged in on remote machines
SYNOPSIS
rusers [-ahilu] host...
DESCRIPTION
The rusers command produces output similar to who(1), but for remote machines. The listing is in the order that responses are received, but
this order can be changed by specifying one of the options listed below.
The default is to print out the names of the users logged in. When the -l flag is given, additional information is printed for each user:
userid hostname:terminal login_date login_time idle_time login_host
If hostname and login host are the same value, the login_host field is not displayed. Likewise, if hostname is not idle, the idle_time is
not displayed.
A remote host will only respond if it is running the rusersd daemon, which may be started up from inetd(1M) or listen(1M).
In the absence of a name service, such as LDAP or NIS, rusers displays host names as numeric IP addresses.
OPTIONS
-a Give a report for a machine even if no users are logged on.
-h Sort alphabetically by host name.
-i Sort by idle time.
-l Give a longer listing in the style of who(1).
-u Sort by number of users.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrcmdc |
+-----------------------------+-----------------------------+
SEE ALSO
who(1), inetd(1M), listen(1M), pmadm(1M), sacadm(1M), attributes(5)
SunOS 5.10 7 Mar 2003 rusers(1)