- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Auto FTP (.netrc)
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
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
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
тАО10-24-2001 04:29 AM
тАО10-24-2001 04:29 AM
Auto FTP (.netrc)
I need to unmount the old mountpoint, rename the directory and mount to a new server mount point, and preferably update the entry in the /etc/fstab file to ensure a correct mount on a reboot.
Is this possible to achieve from a .netrc file. If so, how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 04:33 AM
тАО10-24-2001 04:33 AM
Re: Auto FTP (.netrc)
Hope this helps.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 04:37 AM
тАО10-24-2001 04:37 AM
Re: Auto FTP (.netrc)
Alternatively, the FTP server on HP-UX does allow the command 'SITE EXEC' which should let you execute programs on the system, but I've never been able to get this to work.
dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 04:38 AM
тАО10-24-2001 04:38 AM
Re: Auto FTP (.netrc)
FTP (Automated or not) will not do this. You need to script up a set of remsh commands but that only works well if you have set up the permissions. If I were you I would rethink the problem and look at setting up the automounter with NIS (or better still NIS+) automount maps.
It's more work this time but any changes in the future would be very easy and essentially instantaneous.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 04:40 AM
тАО10-24-2001 04:40 AM
Re: Auto FTP (.netrc)
Consider this:
Compose a script to do the bulk of your work. Open a telnet session to each workstation, in turn; 'rcp' the script to the workstation; execute the script, exit and move to the next workstation.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 04:49 AM
тАО10-24-2001 04:49 AM
Re: Auto FTP (.netrc)
Cheers
Kevin