Operating System - HP-UX
1832899 Members
2477 Online
110048 Solutions
New Discussion

FTP Issue not going corrresponding home directory

 
UnixT
Frequent Advisor

FTP Issue not going corrresponding home directory

Hi,

We are able to access FTP but not able to change the home directory in which the user belongs, Instead its going to "/" directory. The problem is below.

KERBEROS_V4 rejected as an authentication type
Name (COPTSQA.ipcbpr.com:pnair): pnetftp
331 Password required for pnetftp.
Password:
230-No directory! Logging in with home=/
230 User pnetftp logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>


coptsqa: / # grep pnetftp /etc/passwd
pnetftp:x:567:203:PTS FTP account,,,:/abb/wy/net/ftp:/usr/bin/false
coptsqa: / # ll -d /abb/wy/net/ftp
drwxrwxrwx 2 pnetftp pts 96 Aug 15 05:19 /abb/wy/net/ftp
coptsqa: / #
4 REPLIES 4
Ivan Krastev
Honored Contributor

Re: FTP Issue not going corrresponding home directory

Check if full path is +x (can chmod to this dir). For example list:

/abb/
/abb/wy/
/abb/wy/net/

regards,
ivan
TTr
Honored Contributor

Re: FTP Issue not going corrresponding home directory

> No directory! Logging in with home=/

This is a general error message that you get even from telnet when the user's home directory does not exist or does not have the right access. Check the user's home directory and also check the /etc/passwd entry for any typos in the home directory field.

Your username is pnetftp but the home directory in the password entry is /abb/wy/net/ftp there may be a missmatch here.
OldSchool
Honored Contributor

Re: FTP Issue not going corrresponding home directory

"Your username is pnetftp but the home directory in the password entry is /abb/wy/net/ftp there may be a missmatch here."

Huh??? the account listed WAS pnetftp. there is nothing requiring the account name to be anywhere in the home directory name
UnixT
Frequent Advisor

Re: FTP Issue not going corrresponding home directory

Hi,

Thanks to all for supporting me.Solved the issue by putting permission in one directory inside of the /abb.

Regards

Pradeep