I want to set up a FTP- and a Webserver on the same machine. So one this machine I will have normal Linux-Users and ftp-users. Is it possible to configure the ftp-user in a way, that they can't log into the Server via telnet, rlogin, ssh etc. Normal users should do that. But not ftp-users. You can set the user's shell to /bin/false so no login via telnet,... is
Hi, possible but as /bin/false is a valid shell (/etc/shells) ftp-logins are possible.
If it isn't possible, is it possible to give this users an own Root-Directory-Structure with chroot?
Yes, you can do this by inserting the users into /etc/ftpchroot and setting their homedir to the chroot target. Malte Sandow
Hi,
I want to set up a FTP- and a Webserver on the same machine. So one this machine I will have normal Linux-Users and ftp-users. Is it possible to configure the ftp-user in a way, that they can't log into the Server via telnet, rlogin, ssh etc. Normal users should do that. But not ftp-users. You can set the user's shell to /bin/false so no login via telnet,... is possible but as /bin/false is a valid shell (/etc/shells) ftp-logins are possible.
If it isn't possible, is it possible to give this users an own Root-Directory-Structure with chroot? Yes, you can do this by inserting the users into /etc/ftpchroot and setting their homedir to the chroot target.
Malte Sandow
--------------------------------------------------------------------- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
Thank you for a very fast help :-) Rene Bangemann
participants (2)
-
rbrabe
-
Sandow, Malte