Quote:
Originally posted by reynacho_au
No, because whenever I change the shell, it won't let me ftp in for some reason. I can't ssh in either but I'd like to be able to ftp in. I found something else, in /etc/ssh/denyusers I think I can deny some users ssh access. That's a temporary fix.
How can I make a user specifically for ProFTP? For example, I could have a set of users for ftp that the system didn't even know existed.
|
Dude, did you add the shell for the user you created in /etc/shells file? Trust me, it works, done it a million times..
Edit your /etc/passwd file:
vi /etc/passwd
go into insert mode with an "i"
change user1's shell to /bin/false
esc < to go into command mode
:wq! < to save and quit
vi /etc/shells
go into insert mode like above
add /bin/false at the end of the file
esc < to go into command mode
:wq! < to save and quit
Test user by ftp'ing into server.. its that easy. You don't have to use vi to edit your files but those are the steps if your comfortable with vi.