- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: configuring FTP in HP-UX
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
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
тАО03-18-2009 12:41 AM
тАО03-18-2009 12:41 AM
I want to configure FTP in HP-UX.
pls explain me following things.
1)what is the configuration files for FTP.
2) How to start / stop / restart FTP.
3) How to enable anonymous login.
4) How to enable local user login.
5 so i want major details for FTP administration.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 12:50 AM
тАО03-18-2009 12:50 AM
Re: configuring FTP in HP-UX
cat /etc/inetd.conf| grep -i ftpd
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l
to stop/start it, you just have to comment the line in inetd.conf and do a inetd -c.
for the rest of the questions, you would probably be better using the ftpaccess file.
You need to add -a to the inetd.conf ftp line, like this:
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -la
for info on ftpaccess file config have a look at:
man ftpaccess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 12:53 AM
тАО03-18-2009 12:53 AM
Re: configuring FTP in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 12:53 AM
тАО03-18-2009 12:53 AM
Re: configuring FTP in HP-UX
2) to start ftp daemon, edit your /etc/inetd.conf and uncomment line ftp, then run "inetd -c" and vice versa to stop it
3) ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 01:00 AM
тАО03-18-2009 01:00 AM
Re: configuring FTP in HP-UX
Plz check the below links, hope it will help you to understand FTP.
Managing FTP.
http://docs.hp.com/en/5992-4616/ch03s03.html
Configuring FTP.
http://docs.hp.com/en/B2355-91058/ch02.html
Configuring Anonymous FTP Access
http://docs.hp.com/en/B2355-91058/ch02s03.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 01:04 AM
тАО03-18-2009 01:04 AM
Re: configuring FTP in HP-UX
http://docs.hp.com/en/B2355-91058/ch02.html
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1010514
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 01:38 AM
тАО03-18-2009 01:38 AM
Solution# vi /etc/inetd.conf (...uncomment the following ftp/telnet lines):
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
2) How to start / stop / restart FTP
inetd -c
Make inetd re-read its configuration
3) How to enable anonymous login.
You can use SAM (or)
You can follow as bellow to creat anonymous user
1) Create a normal user account (user=john group=none)
2) Put /usr/bin/false as the start-up program.
3) The entry in password file might look like this :-
john:chus5tya:233:20:,,,:/home/john/./:/usr/bin/false
4) Make sure /usr/bin/false is also coded in /etc/shells
5) Create the file /etc/ftpd/ftpaccess and put in these lines ..
class all john,guest
guestgroup none
noretrieve /etc/passwd
6) do man ftpaccess if not sure about the format.
7) # chmod 444 ftpaccess
# chown bin:bin ftpaccess
8) Edit /etc/inetd.conf & add "-a" argument to ftpd
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a
9) # inetd -c
10) Create these sub dirs and files
1) ~john/usr
# chown ???R bin:bin usr
# chmod 555 usr
2) ~john/usr/bin
# chown root bin
# chmod 555 bin
# cp -p /sbin/ls ~john/usr/bin/ls
4) How to enable local user login.
by default all local user enabled, unless if you ftp.allow or ftp.deny file under you ftp service
5)so i want major details for FTP administration
now days "ftp" & telnet has been rollout due security issues,
adminstration point "Nothing" much to say.
if one time configuration for ftp .. no need administration. easy and simple.
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 04:10 AM
тАО03-18-2009 04:10 AM
Re: configuring FTP in HP-UX
1)what is the configuration files for FTP.
Not much.Some important files are /etc/inetd.conf, /etc/services, /etc/ftpd/ftpaccess.
2) How to start / stop / restart FTP.
You don't need to do. inetd daemon will respond whenever ftp request comes. You can enable/disable the services.
3) How to enable anonymous login.
Check these threats..
http://forums13.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=762603&admit=109447627+1237377314912+28353475
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1237376387425+28353475&threadId=1034034
4) How to enable local user login.
By default all the local users will be given ftp access unless if the user is specified in /etc/ftpd/ftpaccess
5) so i want major details for FTP administration.
http://docs.hp.com/en/B2355-90148/ch03s01.html
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 04:19 AM
тАО03-18-2009 04:19 AM
Re: configuring FTP in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 06:35 AM
тАО03-18-2009 06:35 AM
Re: configuring FTP in HP-UX
You need to have the shell of that user to be included in /etc/shells
*** /etc/shells ***
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh