- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: No admin command in remsh
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
05-04-2008 11:49 PM
05-04-2008 11:49 PM
No admin command in remsh
But i can not execute ifconfig,useradd etc.
# remsh scipl3 uname -a
HP-UX scipl3 B.11.11 U 9000/800 scipl3 unlimited-user license
# remsh scipl3 ifconfig -a
sh: ifconfig: not found.
# remsh scipl3 useradd test
sh: useradd: not found.
# remsh scipl3 uptime
3:47pm up 26 days, 1:34, 1 user, load average: 0.01, 0.01, 0.02
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2008 12:02 AM
05-05-2008 12:02 AM
Re: No admin command in remsh
what is the content of the following file
/etc/hosts.equiv
.rhosts file
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2008 12:03 AM
05-05-2008 12:03 AM
Re: No admin command in remsh
remsh scipl3 -l root -n /usr/sbin/ifconfig lan0 or lan1 or lan2 (whatever it is)
remote account name must be equivalent to the originating account
remsh scipl3 -n ifconfig /usr/sbin/ifconfig lan2
By default, remsh uses the following path when executing the specified command:
/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/contrib/bin:/usr/local/bin
There is no ifconfig -a avble in HP-UX
You have to give full path of the command, if it is not in the above path or in the /usr/sbin.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2008 12:04 AM
05-05-2008 12:04 AM
Re: No admin command in remsh
remsh scipl3 -n /usr/sbin/ifconfig lan2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2008 12:13 AM
05-05-2008 12:13 AM
Re: No admin command in remsh
# remsh scipl3 ifconfig lan0
sh: ifconfig: not found.
# remsh scipl3 ifconfig lan1
sh: ifconfig: not found.
# remsh scipl3 ifconfig vgscan
sh: ifconfig: not found.
# remsh scipl3 vgscan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2008 12:18 AM
05-05-2008 12:18 AM
Re: No admin command in remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2008 12:24 AM
05-05-2008 12:24 AM