- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to enable FTP
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
01-09-2003 11:29 PM
01-09-2003 11:29 PM
How to enable FTP for a userid of another m/c
which is in local network to our host Unix m/c ? I hope we may have to do some settings
in our m/c to allow FTP from another m/c and that m/c's userid.
Kindly reply me.
Thanks
R.Ezhil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 11:35 PM
01-09-2003 11:35 PM
Solutionverify /etc/initd.conf for:
stream tcp nowait root /usr/lbin/ftpd ftpd
and verify /etc/services for:
ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)
If this line are in, the ftp services should be work.
Regrads,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2003 01:42 AM
01-10-2003 01:42 AM
Re: How to enable FTP
I am not sure if I understand your question correctly. What do you want to achieve?
There are two ways to log into a ftp server:
1) anonymous login --> users from remote systems log in with user anonymous and have only access to a specific directory
2) user login --> user logs in with username and password and he has access to all files he can access on the system with his user id
Which kind of login do you want to enable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 02:05 AM
01-13-2003 02:05 AM
Re: How to enable FTP
The file /etc/initd.conf is not in our HP 11i system. Whether the file specified and
path are correct ?
But you specified entries are exist in the file /etc/services.
Please reply me in this.
Thanks
R. Ezhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 02:09 AM
01-13-2003 02:09 AM
Re: How to enable FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 02:17 AM
01-13-2003 02:17 AM
Re: How to enable FTP
In /etc/inetd.conf file check whether line containing ftp (stream tcp nowait root /usr/lbin/ftpd ftpd) is commented or not. if commented, umcomment the same and execute this command
#inetd -c
to do ftp you can use the same id or any id in this machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 02:18 AM
01-13-2003 02:18 AM
Re: How to enable FTP
yes Jochen is right. Sorry a small sysntax error ;-((
Please verify /etc/inetd.conf
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 02:53 AM
01-13-2003 02:53 AM
Re: How to enable FTP
1. Verify that the following line is in /etc/inetd.conf and not
commented out (no '#' in the first column):
For HP-UX 10.X:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd
or
netstat -a |grep ftp
The output should look like:
tcp 0 0 *.ftp *.* LISTEN
2. Verify the following services are in /etc/services and not
commented out (no '#' in the first column):
ftp-data 20/tcp # File Transfer Protocol (Data)
ftp 21/tcp # File Transfer Protocol (Control)
If you get 530 access denied login failed:
A. Verify .netrc in the user's home directory.
If the .netrc file contains password or account information for
use for use other than for anonymous ftp, its owner must match
the effective user ID of the current process. Its read, write,
and execute permission bits for group and other must all be zero,
and it must be readable by its owner. Otherwise, the file is ignored.
So if you are unsure about this file, rename it to .netrc.old for
troubleshooting purposes.
B. Check /etc/ftpusers.
ftpd rejects remote logins to local user accounts that are named
in /etc/ftpusers. Each restricted account name must appear alone
on a line in the file. The line cannot contain any white space.
User accounts that specify a restricted login shell in /etc/passwd
should be listed in /etc/ftpusers because ftpd accesses local
accounts without using their login shells.
C. You need to add or verify /etc/shells.
/etc/shells is an ASCII file containing a list of legal shells on
the system. Each shell is listed in the file by its absolute
path name. To learn more about this file, run 'man shells'. To see
the legal shells for your system run 'man getusershell'. This will
list all valid shells for your system. If you use both HP-UX 9.X and
10.X environments, include the shells for both operating systems.
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh