PDA

View Full Version : FTP and Shell Accounts


Fr3d
03-24-2006, 04:22 PM
In order to allow people to FTP into their home directories, I've had to enable their accounts to use shell (although they're still set to use /sbin/nologin).

Is this normal, or a bug?

Thanks :)

EverythingWeb
03-24-2006, 04:34 PM
FTP Accounts are locked into /home/USRENAME/

From the FTP management page in SiteWorx, you can setup more FTP accounts and lock them into any directory from /home/USERNAME right down to any sub-folder below. :)

Fr3d
03-24-2006, 04:56 PM
Yeh the locking is good. But the server kept disconnecting users that didn't have the Shell Account thing "Enabled" :/

IWorx-Tim
03-26-2006, 01:59 PM
I uspect there is some confusion:

Are you using the main system user that is created by the first 8 characters of the domain (e.g mydomain for mydomain.com) or the ftp sub user ftp@mydimain.com -- note: the @mydomain.com is part of the user?

The main system user should NOT need to have ssh access for the subuser to ftp in.

Fr3d
03-26-2006, 02:38 PM
Oh, I was using the first 8 characters.

I see now; any user can login with user@sld.tld, without having the shell enabled :)

Thanks Tim

Fr3d
03-26-2006, 03:48 PM
People without shell enabled can't login now :(

I've had them try interworx-username@their-domain.tld, shell-username@their-domain.tld, and both of the usernames alone, but none work :(

Edit: Can't read, ignore this :D

EverythingWeb
03-26-2006, 05:38 PM
ftp@their-domain.tld ;)

Justec
03-27-2006, 05:22 PM
ftp@their-domain.tld ;)

or

[Any FTP name created in SiteWorx]@their-domain.tld