1752790 Members
6689 Online
108789 Solutions
New Discussion юеВ

Re: FTP User

 
SOLVED
Go to solution
Brendan Langley
Advisor

FTP User

root user is able to ftp to my server. I need to create a user that is able to ftp as well and need guidance. I have created the user and this user is able to sftp.
13 REPLIES 13
Ganesan R
Honored Contributor

Re: FTP User

Hi,

By default, all the users will be given ftp access unless the users is explicitely mentioned in /etc/ftpd/ftpusers file.

Also make sure the user's shell is listed in /etc/shells
Best wishes,

Ganesh.
Brendan Langley
Advisor

Re: FTP User

I dont have a /etc/shells
Steven E. Protter
Exalted Contributor

Re: FTP User

Shalom,

Any user created on the system has ftp/sftp privileges.

You can limit access depending on shell choice and other configuration.

SEP
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
Brendan Langley
Advisor

Re: FTP User

Can you please elaborate, what shell should the user have and what group membership.

Why would my system not have the /etc/shells ?
Ganesan R
Honored Contributor

Re: FTP User

Hi,

Have you tried to ftp as new user?

Did you get any error messeage while do ftp?

Best wishes,

Ganesh.
Brendan Langley
Advisor

Re: FTP User

I have tried as new user. I get the following.

Connected to its.wsu.ac.za.
220 its FTP server (Version 1.1.214.4(PHNE_34544) Fri Feb 24 15:03:24 GMT 2006)
ready.
User (its.wsu.ac.za:(none)): slubbe
530 User slubbe access denied...
Login failed.
ftp>
Steven Schweda
Honored Contributor

Re: FTP User

> Why would my system not have the
> /etc/shells ?

No one has created it yet? "man ftpd".

> Did you get any error messeage [...]

I agree. Try something, and then complain
when it fails.
Ganesan R
Honored Contributor

Re: FTP User

>>Why would my system not have the /etc/shells ? <<<

It is not unusual that /etc/shells does not exist. It is just a ascii file which you can create manually.

you should have specified a user login shell in /etc/password. Put the same login shell in /etc/shells also.

You can create a /etc/shells file and put the following entries..

# more /etc/shells
/sbin/sh
/usr/bin/sh
/usr/bin/rsh
/usr/bin/ksh
/usr/bin/csh
/usr/bin/false
Best wishes,

Ganesh.
Steven Schweda
Honored Contributor

Re: FTP User

> 530 User slubbe access denied...

That's better. Now, try a Forum search for
keywords like, say:

FTP 530 "access denied"