1833729 Members
2605 Online
110063 Solutions
New Discussion

Local users can not ftp

 
SOLVED
Go to solution
njia_1
Trusted Contributor

Local users can not ftp

Hi

I just found out a strange problem with FTP access to one of our HPUX 11i box.

This server is configured as NIS master, I tried to ftp something to this server but everything I got the following error message

only two users are listed in ftpusers file, bin and uucp. All NIS users do not have this problem.

Only one line in /var/adm/inetd.sec
dtspc allow 127.0.0.1 loopback kirk

as I already mentioned, all NIS users do not have this problem

any ideas ?

thanks
Nan
[R] 220 kirk FTP server (Version 1.1.214.4(PHNE_30432) Thu Feb 26 10:46:14 GMT 2004) ready.
[R] USER root
[R] 530 User root access denied...
[R] Connection failed
4 REPLIES 4
njia_1
Trusted Contributor

Re: Local users can not ftp

Hi

I changed the login shell from /sbin/sh to /usr/local/bin/tcsh for one of the local users then he is able to ftp.

why ?

thanks
Nan
Devesh Pant_1
Esteemed Contributor
Solution

Re: Local users can not ftp

This looks more like root login issue than all local users. Did yo try any other user. Also is direct login for root enabled on your server ??
Thanks
DP
Devesh Pant_1
Esteemed Contributor

Re: Local users can not ftp

njia,
I just happen to see your post ahead of my response earlier.

In that case you might want to check your /etc/shells file and most likely /sbin/sh is not in there.
If it is not there just add the line and you will be all set.

thanks
DP
njia_1
Trusted Contributor

Re: Local users can not ftp

thanks