Operating System - HP-UX
1752590 Members
4168 Online
108788 Solutions
New Discussion

Re: ftp access issue in HP-UX 11i v3

 
SOLVED
Go to solution
T Jose
Advisor

ftp access issue in HP-UX 11i v3

Hello,

 

I am able to ftp files from HPUX to HPUX as root user and other useres using sh shell.

But not able to ftp as a user whic is using csh shell.

What could be the possible cause for this issue

 

T Jose

3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: ftp access issue in HP-UX 11i v3

What is the exact path to 'csh' that you are using?

 

According to the 'getusershell' man page the valid shells, by default, are:

 

/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/rksh
/usr/bin/csh
/usr/bin/keysh

 

If the 'csh' shell you are using is NOT /usr/bin/csh the FTP will fail.  What you would need to do in that case is create the /etc/shells file adn add the above lines to it IN ADDITION TO the csh shell you are using.

 

If you already have an /etc/shells file verify that the csh shell  you are using is specified in it.

T Jose
Advisor

Re: ftp access issue in HP-UX 11i v3

Hi patrick,

Thanks for the reply..

I am using /usr/bin/csh for this user.

I have also created /etc/shells... Still not able to ftp, getting following error.

root@ce01smx:/>ftp 10.145.2.40
Connected to 10.145.2.40.
220 spare FTP server (Revision 1.1 Version wuftpd-2.6.1 Mon Oct 23 02:01:44 GMT 2006) ready.
Name (10.145.2.40:root): orape1
331 Password required for orape1.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.

 

 

root@spare:/>id orape1
uid=114(orape1) gid=112(dba) groups=110(sapinst),113(oper)
root@spare:/>cat /etc/shells
/usr/bin/sh
/usr/bin/csh

 

 

Regards,

T Jose

 



 

T Jose
Advisor

Re: ftp access issue in HP-UX 11i v3

Sorry Patrick,

 I made a mistake.

The absolute path was not correct for csh sell.

Add this into /etc/shell and problem got resolved.

Thanks a lot.

 

Regards,

T Jose