HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems with FTP
Operating System - HP-UX
1825737
Members
2500
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-23-2001 05:32 AM
01-23-2001 05:32 AM
Problems with FTP
Why only the root user can be ftp command.
Can anything user run ftp command ?
Thank.
Can anything user run ftp command ?
Thank.
Hello everyone
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2001 05:37 AM
01-23-2001 05:37 AM
Re: Problems with FTP
depends what errors are they getting ?
some ideas anyway ....
Check permission on /etc/services... 664 ?
check permissions on /usr/bin/telnet & /usr/bin/ftp &
check permissions on /dev/tty 666 ?
make sure users shell is listed in /etc/shells ?
some ideas anyway ....
Check permission on /etc/services... 664 ?
check permissions on /usr/bin/telnet & /usr/bin/ftp &
check permissions on /dev/tty 666 ?
make sure users shell is listed in /etc/shells ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2001 05:38 AM
01-23-2001 05:38 AM
Re: Problems with FTP
The first thing I would check is the /var/adm/inetd.sec to see if it has denied ftp access.
/rcw
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2001 05:44 AM
01-30-2001 05:44 AM
Re: Problems with FTP
There are quite a few things to look at.
FTP looks for /etc/shells to define shells allowed to connect via ftp.
>cat /etc/shells
/usr/bin/csh
/usr/bin/ksh
/sbin/sh
/bin/sh
The shell must be defined by the standard definitions in /etc/passwd or nis,nis+ passwd file. Shells are matched based on the existance of the shell, nothing else.
I.E. User has a shell of /bin/ksh which is really a link to /usr/bin/ksh. If the /etc/shells file has only /usr/bin/ksh, the user will be denied access.
Next item is /etc/ftpusers. If a user is listed in this file, they will be denied access.
>cat /etc/ftpusers
root
daemon
bin
uucp
Another thing to check is that the users home directories exist and have correct permissions. If the home directory can not be accessed then the connection will break after authorization.
Next thing is (as someone else mentioned) /var/adm/inetd.sec. Users and hosts can be restricted access based on entries in this file.
Next is make sure that your ftp daemon has correct permissions. Since root can ftp in, then the problem should not be with /etc/inetd.conf, or /etc/services.
Regards,
Shannon
FTP looks for /etc/shells to define shells allowed to connect via ftp.
>cat /etc/shells
/usr/bin/csh
/usr/bin/ksh
/sbin/sh
/bin/sh
The shell must be defined by the standard definitions in /etc/passwd or nis,nis+ passwd file. Shells are matched based on the existance of the shell, nothing else.
I.E. User has a shell of /bin/ksh which is really a link to /usr/bin/ksh. If the /etc/shells file has only /usr/bin/ksh, the user will be denied access.
Next item is /etc/ftpusers. If a user is listed in this file, they will be denied access.
>cat /etc/ftpusers
root
daemon
bin
uucp
Another thing to check is that the users home directories exist and have correct permissions. If the home directory can not be accessed then the connection will break after authorization.
Next thing is (as someone else mentioned) /var/adm/inetd.sec. Users and hosts can be restricted access based on entries in this file.
Next is make sure that your ftp daemon has correct permissions. Since root can ftp in, then the problem should not be with /etc/inetd.conf, or /etc/services.
Regards,
Shannon
Microsoft. When do you want a virus today?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP