Re: [S.u.S.E. Linux] account ftp without a shell
I had that problem too... *- add "/bin/false" to the /etc/shells file *- for those users that aren't allowed to log in with telnet, replace their shell with "/bin/false" There seems to be *no* other way to do that based on accounts. You can deny certain services, depending on the address with /etc/hosts.allow and /etc/hosts.deny, which are used by the tcpd wrapper... but that *doesn't* work for accounts :-( Notice that /bin/false has to be in /etc/shells, because wu.ftpd checks for that when the user logs in on FTP... if the user has a shell that is not in /etc/shells, he won't be able to log in... I spent some time wondering why before someone told me that :-) Anyway, the solution I give you above works very well, even if you do have to edit the /etc/passwd file... If you administrate a server, try WebMin, it's great !!! You can control almost everything on the server, using a browser from a remote machine !! (adding/changing/removing accounts, starting/restarting/stopping network services or daemons, adding startup scripts, quota accounting, NFS exports, Samba configuration, ... ... ...) <A HREF="http://www.webmin.com/"><A HREF="http://www.webmin.com/</A">http://www.webmin.com/</A</A>> - and, of course, it's for Linux only, FREE and *very* easy to install ! With that tool, you can choose the user's shell (just like with YaST) from a listbox... I think that isn't too much work, is it ? ;-) Pascal /nick SuSE52 on #linux (IRCnet) root on www.student.prov-liege.be -----Original Message----- From: Pierluigi Checchi <p.checchi@agora.stm.it> To: suse-linux-e@suse.com <suse-linux-e@suse.com> Date: mardi 12 mai 1998 11:30 Subject: [S.u.S.E. Linux] account ftp without a shell
Is there a simple way to let people log my system in ftp without allowing them the shell access ?
I'd want not to edit /etc/passwd and the permissions of the file system. All should be managed by the ftp-server application.
tnx in advance :)
Ciao, -Pierluigi CHECCHI (Rome city, JN61FU) --Random signature follows:
Finche' esisteranno uomini che sanno 200 parole e uomini che ne sanno 2000 i primi saranno succubi dei secondi. -- Da Rodari, via BUONGIORNO!
p.checchi@checchi.it.eu.org ik0xfa@amsat.org <A HREF="http://www.agora.stm.it/P.Checchi"><A HREF="http://www.agora.stm.it/P.Checchi</A">http://www.agora.stm.it/P.Checchi</A</A>> ---Keep the frequency clear -- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (1)
-
pbleser@prov-liege.be