Operating System - HP-UX
1747988 Members
4847 Online
108756 Solutions
New Discussion юеВ

ftp error : 503 user access denied...

 
SOLVED
Go to solution
Jeff Schussele
Honored Contributor

Re: ftp error : 503 user access denied...

Hi,

I just thought of something else - is it possible that SSH has been installed & it's config has DENY ALL for ftp in it's config file?
Run
swlist | grep -i ssh
if it returns something, you'll need to check the config file.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
KapilRaj
Honored Contributor
Solution

Re: ftp error : 503 user access denied...

telnet hostname
login as root
cp /etc/shells /etc/shells.old
echo $SHELL >>/etc/shells
leave the shell as it is if u wanna revert incase of probs......

start an ftp session and start login as root

It should work

Good luck (U do not need it now)

Cheers .........

kaps
Nothing is impossible
Mike_108
Advisor

Re: ftp error : 503 user access denied...

Hi all,

at last I manage to solve this problem by all of you all support. the problem happened because on november, somebody has modified the /etc/shells file, so, all the ? already answered.

this is because of /etc/shells file.
bye runnig "echo $SHELL >>/etc/shells" and the problem was solve.

thanks a lot to all of you that involve in solving this problem...

regards,
Mike
Steven E. Protter
Exalted Contributor

Re: ftp error : 503 user access denied...

Good.

Now, please, please please, because I like you, add root to /etc/ftupsers file and stop using root for ftp transfers. I'll sleep better at night. So will you.

:-)

Glad your problem is solved.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mike_108
Advisor

Re: ftp error : 503 user access denied...

Hi steve,
thanks a lot on your advice...

i'll make sure the root will be leave alone, and hopefully the problem will never happened again, and now you can sleep well.
have a nice sleep... :-)

thanks & regards

Mike
Joel Spencer
New Member

Re: ftp error : 503 user access denied...

Hi! What a great thread. This saved me today when I was desperately trying to ftp files using my user name and getting the access denied message.

Turns out that I had specified my startup shell as "/bin/ksh" which was NOT in /etc/shells. However, "/usr/bin/ksh" was in the /etc/shells file.

I changed my startup shell and all worked well. I had previously been combing thrugh files like inetd.sec and ftpusers and getting nowhere.

This thread saved me LOTS of time.

Best regards,

Joel Spencer
HP Australia.
there is no off position.......