Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
okay then, i'm running slackware 10.1 and vsftpd and i'm having problems with login in as different users
here is what it looks like when i log in as root using the bash command line
root@LearnS:/# ftp localhost
Connected to localhost.
220 Slackbox FTP
Name (localhost:root): root
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
here is what it looks like when i log in as a user using the bash command line.
root@LearnS:/# ftp localhost
Connected to localhost.
220 Slackbox FTP
Name (localhost:root): matthewsp
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp>
is there some way that i can choose users with FTP access or enable certain local users or something simple like that i'm missing.
as far as i understand all i need to do is add a new users with the 'adduser' command?
They need to have a "valid" shell (i.e., a shell that appears in /etc/shells) The trick to this is that you can give someone an "ftp only" account by giving them a shell like /dev/null and putting /dev/null in /etc/shells. Then they can't log in over SSH but they can FTP.
So if you gave matthewsp a valid shell it should work.
Are you sure you didn't, say, mistype the password when you made the account (since the error is login incorrect)?
On this subject. Whats the easiest way I can give someone FTP access on my linux box. Primarily for a game server I am running (allow map uploads, config uploads. etc.
I want to add users and set their permissions. Still learning this stuff.
hey you guys were right about the /bin/sh thing, once i changed it to /bin/bash and i could login via the command line no problems!
but i still can't log in via IE ... when i go to my ISP's ftp i get a login box, but i don't seam to get one when going to my own ftp://192.168.0.20, is there some way of doing this?
no my firewall dosn't block anything i've opened it up completely. i'd still like to be able to get the login box but someone has told me the way around this
now although this has worked, it takes me to the root path "/" not to my user's home folder? am i mistaken in asumming thats were it is ment to go? or is there someway to insure that is were it goes? and if anyone can tell me how to force a login box to open up on IE that'd be great!
no my firewall dosn't block anything i've opened it up completely. i'd still like to be able to get the login box but someone has told me the way around this
now although this has worked, it takes me to the root path "/" not to my user's home folder? am i mistaken in assuming thats were it is meant to go? or is there someway to insure that is were it goes? and if anyone can tell me how to force a login box to open up on IE that'd be great!
Ah I think I can explain your problem. Since you entered NO username as the FTP URL in your browser your browser probably mistakenly assumed you were logging in anonymously and sent the anonymous credentials without ever asking you for yours.
As for the folder you see...normally it should take you to that user's ~/ folder, which shouldn't be / but in some cases a browser may just issue a "cd /" and if your user isn't chroot-ed it'll take you all the way up to /, even if you can't access anything but ~/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.