- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp problem
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
02-15-2002 01:48 PM
02-15-2002 01:48 PM
ftp problem
i have problem not able to do ftp to my HP-UX 10.2.
when i try to start ftp to my unix box , after entring username i am getting access denied without even asking passwd.
so i try to look in the syslog file , here is the exact message in syslog file " FTP LOGIN FEFUSED FROM IP ADDRESS : USERNAME :INVALID USER SHELL "
PLEASE NOTE THE LOGIN SHELL FOR THE USER IS /BIN/SH AND HP-UX 10.2.
can anybody suggest me how to provide ftp access ?
Thanks & regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 01:52 PM
02-15-2002 01:52 PM
Re: ftp problem
Check the file /etc/shells. This should have the entry of your shell. If you don't have the file, create it or edit it.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 02:04 PM
02-15-2002 02:04 PM
Re: ftp problem
First, don't use '/bin' or '/lib'. These are transition links to 'usr/bin' and '/usr/lib' respectively. You should declare your shells in '/etc/passwd' accordingly.
The file '/etc/shells' catalogs the list of legal shells. If it is *not* present it defaults to this:
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh
If you wish, for the moment to continue to use '/bin/sh', then add it to your /etc/shells.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 02:06 PM
02-15-2002 02:06 PM
Re: ftp problem
By default, /etc/shells does not exist (I believe). If you create /etc/shells, you need to list the shell of everyone that is allowed to ftp into your system. For more info see:
man shells
man ftpd
man getusershell
man getusershell lists the default "legal" shells. Each ftp user must use a legal shell. If the user's shell is not a default shell, /etc/shells must be created.
Also, you could simply change the user's shell to one listed in man getusershell. On 11.0 (I don't remember about earlier HPUX versions) /bin is a symlink pointing to /usr/bin. So you could change the user's shell in /etc/passwd to /usr/bin/sh.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 02:17 PM
02-15-2002 02:17 PM
Re: ftp problem
Check you /etc/passwd file. In all probability your shell is set to /usr/bin/false. Edit /etc/shells and then add this entry to this file,
/usr/bin/false
Hope this helps.
Regds