- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to Configure anonymous FTP server in HP-UNIX
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
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
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
тАО01-27-2009 10:59 PM
тАО01-27-2009 10:59 PM
During Firmware upgrades operation we need to download related files from anonymous FTP server. So i need to configure anonymous FTP server. Please help me to configure anonymous FTP server
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:21 AM
тАО01-28-2009 12:21 AM
Re: How to Configure anonymous FTP server in HP-UNIX
http://docs.hp.com/en/B3921-60631/ftpd.1M.html
What kind of firmware updates?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 01:16 PM
тАО01-28-2009 01:16 PM
Re: How to Configure anonymous FTP server in HP-UNIX
for the SAN Switch (brocade class) and the System Firmwares (for the rx or rp series servers), put the Firmware file(ftp upload in binary mode the firmware file) in some location on some other server (server1) and from the device that you wish to upgrade the firmware you can give the location on server1 and username and password for the root user on server1.
this way also you can do this. You can try
Regards
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 01:41 PM
тАО01-28-2009 01:41 PM
Re: How to Configure anonymous FTP server in HP-UNIX
> and username and password for the root user
> on server1.
He did say "i need to configure anonymous FTP
server". If he's wrong about that, then
there may be no need to bring another server
into the picture. (Just use plain FTP on the
HP-UX server.) And if anonymous FTP _is_
needed, then moving the files to another
server may just be moving the problem, not
solving it.
> What kind of firmware updates?
A fair question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 02:05 PM
тАО01-28-2009 02:05 PM
Re: How to Configure anonymous FTP server in HP-UNIX
i should have been more clear on what i wrote.(or might be i am mis comprehending the question asked)?
Why is an Anonymous FTP server Required??
I apoligize for being misunderstood.
As far as few firmware updates on the system(like i have said for Brocade SAN Sws and rp and rx systems).
If in the Environment of the Unix Servers root FTP is allowed, then the following steps can be followed to upgrade the FW of the Few Devices that i have said like this:
1)assuming that you have the FW image downloaded to your PC.
2)upload that image to a server (server1) as root user in the path say /path on server1.
3)From the device (can be a SAN SW or an HP Server) start the FW upgrade program. When this Program asks for the location of the FW image give the path /path on server1 and username and password to access that as root and rootpassword for server1 where the FW Image is kept.
This is what only i meant to say.
yes "what firmware?" is valid and also
why an anonymous FTP Server?
Regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 10:09 PM
тАО01-28-2009 10:09 PM
Solutionftp:*:500:1:anonymous FTP:/home/ftp:/usr/bin/false
The password field should be *, the group membership should be guest, or, as in this example, other, and the login shell should be /usr/bin/false.
In this example, user ftp├в s user ID is 500, and the anonymous FTP directory is /home/ftp.
Create the ftp home directory:
Create the ftp home directory that you referred to in the /etc/passwd file, usually:
# mkdir /home/ftp
Create the subdirectories usr/bin and /usr/lib under the ftp home directory, usually:
# cd /home/ftp
# mkdir -p usr/bin
Copy the ls command from /sbin to /home/ftp/usr/bin, and set the permissions on the command to execute only (mode 0111):
# cp /sbin/ls /home/ftp/usr/bin
# chmod u=x,g=x,o=x /home/ftp/usr/bin/ls
Set the owner of the /home/ftp/usr/bin and /home/ftp/usr directories to root, and set the permissions to read-execute (not writable) (mode 0555):
# chown root /home/ftp/usr/bin
# chmod u=rx,g=rx,o=rx /home/ftp/usr/bin
# chown root /home/ftp/usr
# chmod u=rx,g=rx,o=rx /home/ftp/usr
Create the subdirectory etc under the ftp directory:
# cd /home/ftp
# mkdir etc
Copy /etc/passwd and /etc/group to /home/ftp/etc.
These files are required by the ls command, to display the owners of files and directories under /home/ftp.
# cp /etc/passwd /home/ftp/etc
# cp /etc/group /home/ftp/etc
In all entries in /home/ftp/etc/passwd, replace the password field with an asterisk (*), and delete the shell field, for example:
ftp:*:500:1:anonymous ftp:/home/ftp:
tom:*:8996:20::/home/tom:
In all entries in /home/ftp/etc/group, replace the password field with an asterisk (*):
users:*:20:acb
guest:*:21:ftp1
Change the owner of the files in /home/ftp/etc to root, and set the permissions to read only (mode 0444):
# chown root /home/ftp/etc
# chmod u=r,g=r,o=r /home/ftp/etc
Create a directory pub (for public) under /home/ftp, and change its owner to user ftp and its permissions to writable by all (mode 0777).
Anonymous FTP users can put files in this directory to make them available to other anonymous FTP users.
# mkdir /home/ftp/pub
# chown ftp /home/ftp/pub
# chmod u=rwx,g=rwx,o=rwx /home/ftp/pub
You can create other directories to provide separate categories, such as /home/ftp/draft and /home/ftp/final.
Create a directory dist (for distribution) under /home/ftp. Change its owner to root and its permissions to writable only by root (mode 0755).
Anonymous FTP users can read but not alter these directories.
# mkdir /home/ftp/dist
# chown root /home/ftp/dist
# chmod u=rwx,g=rx,o=rx /home/ftp/dist
Change the owner of user ftp├в s home directory to root and the permissions to not writable (mode 0555):
# chown root /home/ftp
# chmod u=rx,g=rx,o=rx /home/ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2009 03:37 AM
тАО01-30-2009 03:37 AM
Re: How to Configure anonymous FTP server in HP-UNIX
http://docs.hp.com/en/B2355-91058/ch02s03.html?btnNext=next%A0%BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2009 10:41 PM
тАО02-01-2009 10:41 PM