HPE GreenLake Administration
Operating System - HP-UX
1826615
Members
3228
Online
109695
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 07:42 PM
06-12-2006 07:42 PM
remsh
Hi All ,
If a command has executed through remsh from another server to my local server, is there any way to find out , which command executed and what time it was excuted.
examle:
server2:# remsh server1 "/fin23d/script31.sh "
So does any log can be found on server1 for this command that executed from server2.
thanks,
If a command has executed through remsh from another server to my local server, is there any way to find out , which command executed and what time it was excuted.
examle:
server2:# remsh server1 "/fin23d/script31.sh "
So does any log can be found on server1 for this command that executed from server2.
thanks,
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 08:22 PM
06-12-2006 08:22 PM
Re: remsh
Hi,
I have seen entries in /var/adm/syslog/syslog.log for commands executed from remote server. The entries were like
Sep 4 23:20:34 server1 rshd[20089]: ROOT shell from root@srv2.mydomain, comm: rcp -t /var/stats.dir/tmp
Sep 4 23:22:46 server1 rshd[20264]: ROOT shell from root@srv3.mydomain, comm: /usr/sbin/ioscan -fn
Sep 4 23:24:18 server1 rshd[20405]: ROOT shell from root@srv3.mydomain, comm: who -b
Sep 4 23:24:18 server1 rshd[20408]: ROOT shell from root@srv3.mydomain, comm: uptime
Regards,
Ninad
I have seen entries in /var/adm/syslog/syslog.log for commands executed from remote server. The entries were like
Sep 4 23:20:34 server1 rshd[20089]: ROOT shell from root@srv2.mydomain, comm: rcp -t /var/stats.dir/tmp
Sep 4 23:22:46 server1 rshd[20264]: ROOT shell from root@srv3.mydomain, comm: /usr/sbin/ioscan -fn
Sep 4 23:24:18 server1 rshd[20405]: ROOT shell from root@srv3.mydomain, comm: who -b
Sep 4 23:24:18 server1 rshd[20408]: ROOT shell from root@srv3.mydomain, comm: uptime
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 08:29 PM
06-12-2006 08:29 PM
Re: remsh
hi,
If you execute command "last" on server , you can see just connection
for example :
# last
root pts/0 Mon May 29 17:08 - 17:11 (00:02)
root pts/tb Mon May 29 11:52 - 17:11 (05:19)
root console Mon May 29 11:29 - 11:31 (00:01)
root console Mon May 29 10:50 - 10:59 (00:08)
root ftp Mon May 29 10:33 - 10:33 (00:00)
root ftp Mon May 29 10:33 - 10:33 (00:00)
root ftp Mon May 29 10:33 - 10:33 (00:00)
If you want take a trace, see command "script" who enregister session
script "filename"
regards
If you execute command "last" on server , you can see just connection
for example :
# last
root pts/0 Mon May 29 17:08 - 17:11 (00:02)
root pts/tb Mon May 29 11:52 - 17:11 (05:19)
root console Mon May 29 11:29 - 11:31 (00:01)
root console Mon May 29 10:50 - 10:59 (00:08)
root ftp Mon May 29 10:33 - 10:33 (00:00)
root ftp Mon May 29 10:33 - 10:33 (00:00)
root ftp Mon May 29 10:33 - 10:33 (00:00)
If you want take a trace, see command "script" who enregister session
script "filename"
regards
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP