Categories
Company
Local Language
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
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
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
04-16-2008 11:04 PM
04-16-2008 11:04 PM
I can find this file by using
#find / -name .rhosts
How to configure .rhosts in HPUX
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 11:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 11:08 PM
04-16-2008 11:08 PM
Re: HPUX QA
.rhosts is not there by default, you need to create one in / directory.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 11:31 PM
04-16-2008 11:31 PM
Re: HPUX QA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 11:38 PM
04-16-2008 11:38 PM
Re: HPUX QA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 11:53 PM
04-16-2008 11:53 PM
Re: HPUX QA
$cat /home/user1/.rhosts
ServerB user1
On ServerB
$cat /home/user1/.rhosts
ServerA user1
Test it on ServerA as user1
$remsh ServerB hostname
ServerB
don't forget to assign points!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 12:24 AM
04-17-2008 12:24 AM
Re: HPUX QA
I have configured but rsh not working but remsh is working ............giving sfqaopt23 not found
[root@jadeja][/]rsh sfqaopt23 ls
rsh: sfqaopt23: not found.
[root@jadeja][/]remsh sfqaopt23 ls
showing list of files
abc
pqr
xyz
[root@jadeja][/]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 01:03 AM
04-17-2008 01:03 AM
Re: HPUX QA
check with
$nslookup sfqaopt23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2008 03:57 AM
04-19-2008 03:57 AM
Re: HPUX QA
rsh is used in HPUX as restricted shell.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2008 06:45 AM
04-19-2008 06:45 AM
Re: HPUX QA
Not a good idea at all, especially on big machines. find / might take serveral hours to complete and severely load the server needlessly. The .rhosts file only works if it is in the $HOME directory so limit the search to the $HOME directories and since it MUST reside in the user's $HOME directory, don't use find, just use ll:
ll /home/*/.rhosts
But as mentioned, .rhosts never exists by default as it can be a severe security risk. You create the file in the user's $HOME. Do this as root by:
echo "remote-host username" >> /home/username/.rhosts
echo "remote-IPaddr username" >> /home/username/.rhosts
where remote-host is the hostname of the remote computer and the username is the user that will be accesssing this local computer. Because there are so many wrong ways to setup hostname resolution, always put the IP address in the .rhosts file. Then change the permissions and ownership:
chown localUserName /home/localUserName/.rhosts
chmod 600 /home/localUserName/.rhosts
Then test with a simple command from the remote system:
(On HP-UX)
remsh localHostname pwd
(On other Unix systems)
rsh localHostname pwd
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 12:28 AM
04-21-2008 12:28 AM
Re: HPUX QA
QQQQQQQQQQQQQQQQQQQQQQQQ
Q 2> Bymistake due to > /etc/lvmtab has been null now how to recover the same?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 12:36 AM
04-21-2008 12:36 AM
Re: HPUX QA
Use vgscan -v to recreate /etc/lvmtab or restore from a backup.
man vgscan (a portion below)
If /etc/lvmtab is destroyed, do not use vgscan to re-construct /etc/lvmtab if the system is heavily loaded by an application. Otherwise, vgscan will create an incomplete /etc/lvmtab due to a known NIKE/LVM limitation issue. It's important to quiesce the logical volume's I/O before re-constructing the /etc/lvmtab. If for some reason, there is a need to re-construct /etc/lvmtab when the system is running production application, vgscan will create a partial /etc/lvmtab. In this case, most of the primary paths should be included in the /etc/lvmtab. Use vgextend to include any missing alternate paths in the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 01:30 AM
04-21-2008 01:30 AM
Re: HPUX QA
[root@sfqaia7]vgscan -v
"/etc/lvmtab" could not be read into memory.
[root@sfqaia7][/]ll /etc/lvmtab
-rw------- 1 root sys 0 Apr 21 01:48 /etc/lvmtab
[root@sfqaia7][/]vgdisplay
vgdisplay: No volume group name could be read from "/etc/lvmtab".
[root@sfqaia7][/]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 01:41 AM
04-21-2008 01:41 AM
Re: HPUX QA
rm /etc/lvmtab
vgscan -v
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 01:52 AM
04-21-2008 01:52 AM
Re: HPUX QA
and try with vgscan
or try with vgscan -av
-a Scan all controller device paths for all disks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2008 02:58 AM
04-21-2008 02:58 AM
Re: HPUX QA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2009 11:42 PM
07-21-2009 11:42 PM
Re: HPUX QA
On Linux Os below command used to untar abc.tar at PATH : /tmp/VIN/
#tar -xvf abc.tar -C /tmp/VIN/
But on HPUX Os 11.31 it is not able to do so.
Kindly Suggest. Thanks in advance..
====================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 12:40 AM
07-22-2009 12:40 AM
Re: HPUX QA
HP-UX isn't Linux! Don't expect everything to be the same and ceratinly never assume it is...
If you want Linux behaviour you should use Linux tools - you can get the GNU version of tar (i.e. the version used on Linux) here:
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.22/
Note you will also need to install the run-time dependencies gettext and libiconv
This will install the GNU version of tar into /usr/local/bin
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 12:42 AM
07-22-2009 12:42 AM
Re: HPUX QA
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2009 01:26 AM
07-22-2009 01:26 AM